Public Types | |
| enum | detailLevel { simple, medium, detailed } | 
Public Member Functions | |
| TElectronEfficiencyCorrectionTool (const char *name="TElectronEfficiencyCorrectionTool") | |
| ~TElectronEfficiencyCorrectionTool () | |
| int | initialize () | 
| int | finalize () | 
| const Root::TResult & | calculate (const PATCore::ParticleDataType::DataType dataType, const unsigned int runnumber, const double cluster_eta, const double et) | 
| void | addFileName (const std::string &val) | 
| Add an input file.  | |
| void | setResultPrefix (const std::string &val) | 
| Set the prefix of the result name.  | |
| void | setResultName (const std::string &val) | 
| The string for the result.  | |
| void | bookToyMCScaleFactors (const int nToyMC) | 
| void | bookCombToyMCScaleFactors (const int nToyMC) | 
| int | getFirstToyMCPosition () | 
| helper functions to retrieve the position of the first/last toy MC scale factors and correlated systematics in the result  | |
| int | getLastToyMCPosition () | 
| int | getFirstCorrSysPosition () | 
| Helpers.  | |
| int | getLastCorrSysPosition () | 
| int | getGlobalBinNumberPosition () | 
| int | getNbins (std::map< float, std::vector< float > > &) | 
| int | getNSyst () | 
| void | printResultMap () | 
| void | setDetailLevel (const int input_detailLevel) | 
| Set the detail level.  | |
| void | setSeed (const int seed) | 
| const char * | getName () const | 
| TElectronEfficiencyCorrectionTool::TElectronEfficiencyCorrectionTool | ( | const char * |  name = "TElectronEfficiencyCorrectionTool" | 
          ) | 
Standard constructor
| TElectronEfficiencyCorrectionTool::~TElectronEfficiencyCorrectionTool | ( | ) | 
Standard destructor
| const Root::TResult & TElectronEfficiencyCorrectionTool::calculate | ( | const PATCore::ParticleDataType::DataType | dataType, | |
| const unsigned int | runnumber, | |||
| const double | cluster_eta, | |||
| const double | et | |||
| ) | 
The main salculate method: the actual cuts are applied here
| int Root::TElectronEfficiencyCorrectionTool::finalize | ( | ) |  [inline, virtual] | 
        
Finalize this class; everything that should be done after the event loop should go here
Implements Root::TCalculatorToolBase.
| const char* Root::TElectronEfficiencyCorrectionTool::getName | ( | ) |  const [inline] | 
        
Get the name of the class instance
Reimplemented from Root::TCalculatorToolBase.
| int TElectronEfficiencyCorrectionTool::initialize | ( | void | ) |  [virtual] | 
        
Initialize this class
Implements Root::TCalculatorToolBase.
 1.6.1