36 |
* careful to name the collection respecting the C++ rules for the names of the variables |
* careful to name the collection respecting the C++ rules for the names of the variables |
37 |
* (eg. don't use - in the name) otherwise the graph will be unusable. |
* (eg. don't use - in the name) otherwise the graph will be unusable. |
38 |
* @param outFileBase The output file base name. It will produce the same file as the parent class #EffCollection |
* @param outFileBase The output file base name. It will produce the same file as the parent class #EffCollection |
39 |
* with the total efficiency, plus a similar file (named outFileBase + "-eff-rig.txt") with a |
* with the total efficiency, plus a similar file (named outFileBase + collection's name + "-rig.txt") |
40 |
* row for each rigidity bin. Additionally, a ROOT file (outFileBase + "-eff-rig.root") will be |
* with a row for each rigidity bin. At the beginning of each row there will be two additional columns |
41 |
* produced, containing the efficiency graph. |
* with the edges of the bin. Additionally, a ROOT file (outFileBase + collection's name +"-rig.root") |
42 |
|
* will be produced, containing the efficiency graph. |
43 |
* @param rigBinsFile The file with the rigidity bins. |
* @param rigBinsFile The file with the rigidity bins. |
44 |
* @param errMethod The method to use for error computation. Possible values are defined in #EffRigCollection_ErrMethod. |
* @param errMethod The method to use for error computation. Possible values are defined in #EffRigCollection_ErrMethod. |
45 |
*/ |
*/ |
46 |
EffRigCollection(const char *collectionName, TString outFileBase = "", TString rigBinsFile = "", int errMethod = |
EffRigCollection(const char *collectionName, TString outFileBase = "", TString rigBinsFile = "", int errMethod = |
47 |
EFFRIG_ROOT); |
EFFERR_ROOT); |
48 |
|
|
49 |
/*! @brief Destructor. */ |
/*! @brief Destructor. */ |
50 |
~EffRigCollection() { |
~EffRigCollection() { |