|
| AnaFile (TString filename, TString packname) |
|
| AnaFile (TString filename=" ", Int_t id=-1) |
|
TList * | GetKeys () const |
|
Bool_t | SwitchPackage (TString name) |
|
Bool_t | SwitchPackage (Int_t no) |
|
Package * | GetPackage (TString name) const |
|
Package * | GetMetaData () const |
|
TObject * | GetMainObject (Int_t i=0) const |
|
TObject * | GetMainAnaObject (Int_t i=0) const |
|
TObject * | GetMainObject (TString name, Int_t index=0) const |
|
TH1 * | GetHistogramPassed (Hal::ECutUpdate update, Int_t collection, Int_t no) const |
|
TH1 * | GetHistogramFailed (Hal::ECutUpdate update, Int_t collection, Int_t no) const |
|
Int_t | GetMerged () const |
|
Int_t | GetCollectionsNo (Hal::ECutUpdate update) const |
|
Int_t | GetMainObjectsNo () const |
|
Int_t | GetCutsNo (Hal::ECutUpdate update, Int_t collection, TString opt="all") const |
|
Int_t | GetCuMonitorsNo (Hal::ECutUpdate update, Int_t collection, TString opt="all") const |
|
Int_t | GetPackagesNo () const |
|
ULong64_t | GetPassedNo (Hal::ECutUpdate update, Int_t collection, Option_t *opt="slow") const |
|
ULong64_t | GetFailedNo (Hal::ECutUpdate update, Int_t collection, Option_t *opt=" slow") const |
|
void | ExportHTML (TString dirname="extr_html", Int_t task_id=-1) const |
|
void | PrintCuts (Hal::ECutUpdate update=Hal::ECutUpdate::kNo, Int_t col=-1) const |
|
Package * | GetCutPackage (Hal::ECutUpdate update, Int_t collection, Int_t cutNo, Option_t *type="all") const |
|
Definition at line 27 of file AnaFile.h.
◆ AnaFile() [1/2]
Hal::AnaFile::AnaFile |
( |
TString | filename, |
|
|
TString | packname ) |
constructor
- Parameters
-
filename | name of file |
packname | name of package (if not specified first will be taken, other packages will not be read - SwitchPackage will not work) |
Definition at line 31 of file AnaFile.cxx.
◆ AnaFile() [2/2]
Hal::AnaFile::AnaFile |
( |
TString | filename = " ", |
|
|
Int_t | id = -1 ) |
constructor
- Parameters
-
filename | name of file |
packID | - package numer (if not specified first will be taken, other packages will not be red - SwitchPackage will not work) |
Definition at line 83 of file AnaFile.cxx.
◆ ~AnaFile()
Hal::AnaFile::~AnaFile |
( |
| ) |
|
|
virtual |
◆ ExportHTML()
void Hal::AnaFile::ExportHTML |
( |
TString | dirname = "extr_html", |
|
|
Int_t | task_id = -1 ) const |
export file to HTML
- Parameters
-
dirname | path to place where report will be created |
task_id | if -1 all packages exported, otherwise package with given id |
Definition at line 162 of file AnaFile.cxx.
◆ GetCollectionsNo()
Int_t Hal::AnaFile::GetCollectionsNo |
( |
Hal::ECutUpdate | update | ) |
const |
- Parameters
-
- Returns
- number of collections at given level
Definition at line 172 of file AnaFile.cxx.
◆ GetCuMonitorsNo()
Int_t Hal::AnaFile::GetCuMonitorsNo |
( |
Hal::ECutUpdate | update, |
|
|
Int_t | collection, |
|
|
TString | opt = "all" ) const |
- Parameters
-
update | |
collection | |
opt | - flag - might be 1d, 2d or 3d |
- Returns
- number of cut monitors in given collection
Definition at line 324 of file AnaFile.cxx.
◆ GetCutPackage()
Package * Hal::AnaFile::GetCutPackage |
( |
Hal::ECutUpdate | update, |
|
|
Int_t | collection, |
|
|
Int_t | cutNo, |
|
|
Option_t * | type = "all" ) const |
- Parameters
-
update | |
collection | |
cutNo | |
type | - type of cut (all, slow or fast - for "all" option slow cuts number is shifted by slow cuts number |
- Returns
- package with report from given cut
Definition at line 419 of file AnaFile.cxx.
◆ GetCutsNo()
Int_t Hal::AnaFile::GetCutsNo |
( |
Hal::ECutUpdate | update, |
|
|
Int_t | collection, |
|
|
TString | opt = "all" ) const |
- Parameters
-
update | |
collection | |
opt | - flag of collections "fast" for only fast collection number, "slow" for only slow collection number, otherwise retur total number of cuts |
- Returns
- number of cuts in given collection
Definition at line 304 of file AnaFile.cxx.
◆ GetFailedNo()
ULong64_t Hal::AnaFile::GetFailedNo |
( |
Hal::ECutUpdate | update, |
|
|
Int_t | collection, |
|
|
Option_t * | opt = " slow" ) const |
- Parameters
-
update | update ratio |
collection | collection no |
opt | option "fast" for getting entries from "fast" cuts |
- Returns
- number of failed objects in given collection
Definition at line 293 of file AnaFile.cxx.
◆ GetHistogramFailed()
TH1 * Hal::AnaFile::GetHistogramFailed |
( |
Hal::ECutUpdate | update, |
|
|
Int_t | collection, |
|
|
Int_t | no ) const |
- Parameters
-
update | cut monitor update ratio/tier |
collection | cut monitor collection |
no | cut monitor number |
- Returns
- histogram with failed values from cut monitor
Definition at line 193 of file AnaFile.cxx.
◆ GetHistogramPassed()
TH1 * Hal::AnaFile::GetHistogramPassed |
( |
Hal::ECutUpdate | update, |
|
|
Int_t | collection, |
|
|
Int_t | no ) const |
- Parameters
-
update | cut monitor update ratio/tier |
collection | cut monitor collection |
no | cut monitor number |
- Returns
- histogram with passed values from cut monitor
Definition at line 185 of file AnaFile.cxx.
◆ GetKeys()
TList * Hal::AnaFile::GetKeys |
( |
| ) |
const |
|
inline |
- Returns
- kes from HalPhysics director
Definition at line 67 of file AnaFile.h.
◆ GetMainAnaObject()
TObject * Hal::AnaFile::GetMainAnaObject |
( |
Int_t | i = 0 | ) |
const |
|
inline |
return object from current physical analysis packages skip first two objects - usually cut and metadata
- Parameters
-
- Returns
Definition at line 104 of file AnaFile.h.
◆ GetMainObject() [1/2]
TObject * Hal::AnaFile::GetMainObject |
( |
Int_t | i = 0 | ) |
const |
return object from current physical analysis package in most cases first two objects contain analysis settings
- Parameters
-
- Returns
- object from package
Definition at line 130 of file AnaFile.cxx.
◆ GetMainObject() [2/2]
TObject * Hal::AnaFile::GetMainObject |
( |
TString | name, |
|
|
Int_t | index = 0 ) const |
return object from current physical analysis package in most cases first two main objects contain information about analysis settings
- Parameters
-
name | name of object |
index | object index (if more objects exist) |
- Returns
- object from package
Definition at line 132 of file AnaFile.cxx.
◆ GetMainObjectsNo()
Int_t Hal::AnaFile::GetMainObjectsNo |
( |
| ) |
const |
- Returns
- number of objects with current package with analysis
Definition at line 263 of file AnaFile.cxx.
◆ GetMerged()
Int_t Hal::AnaFile::GetMerged |
( |
| ) |
const |
- Returns
- number of merged files into this one
Definition at line 153 of file AnaFile.cxx.
◆ GetMetaData()
Package * Hal::AnaFile::GetMetaData |
( |
| ) |
const |
- Returns
- global data (or local if global wasn't found)
Definition at line 253 of file AnaFile.cxx.
◆ GetPackage()
Package * Hal::AnaFile::GetPackage |
( |
TString | name | ) |
const |
return entrire analysis package
- Parameters
-
- Returns
- package with report from analysis
Definition at line 202 of file AnaFile.cxx.
◆ GetPackageList()
void Hal::AnaFile::GetPackageList |
( |
TString | filename | ) |
|
|
static |
print list of packages with physical analysis in current file
- Parameters
-
Definition at line 265 of file AnaFile.cxx.
◆ GetPackagesNo()
Int_t Hal::AnaFile::GetPackagesNo |
( |
| ) |
const |
|
inline |
- Returns
- number of packages in file
Definition at line 169 of file AnaFile.h.
◆ GetPassedNo()
ULong64_t Hal::AnaFile::GetPassedNo |
( |
Hal::ECutUpdate | update, |
|
|
Int_t | collection, |
|
|
Option_t * | opt = "slow" ) const |
- Parameters
-
update | update ratio |
collection | collection no |
opt | option "fast" for getting entries from "fast" cuts |
- Returns
- number of passed objects in given collection
Definition at line 282 of file AnaFile.cxx.
◆ PrintCuts()
void Hal::AnaFile::PrintCuts |
( |
Hal::ECutUpdate | update = Hal::ECutUpdate::kNo, |
|
|
Int_t | col = -1 ) const |
print cuts settings
- Parameters
-
update | - update |
col | - collection ID (If -1 print all colllections) |
Definition at line 348 of file AnaFile.cxx.
◆ SwitchPackage() [1/2]
Bool_t Hal::AnaFile::SwitchPackage |
( |
Int_t | no | ) |
|
switch package by number
- Parameters
-
- Returns
- true if package found, false otherwise
Definition at line 229 of file AnaFile.cxx.
◆ SwitchPackage() [2/2]
Bool_t Hal::AnaFile::SwitchPackage |
( |
TString | name | ) |
|
switch package by name
- Parameters
-
- Returns
- true if package found, false otherwise
Definition at line 212 of file AnaFile.cxx.
The documentation for this class was generated from the following files: