Root::TElectronEfficiencyCorrectionTool Class Reference

Inheritance diagram for Root::TElectronEfficiencyCorrectionTool:
Root::TCalculatorToolBase asg::AsgMessaging Root::TPhotonEfficiencyCorrectionTool

List of all members.

Public Types

enum  detailLevel { simple, medium, detailed }

Public Member Functions

 TElectronEfficiencyCorrectionTool (const char *name="TElectronEfficiencyCorrectionTool")
 ~TElectronEfficiencyCorrectionTool ()
int initialize ()
int finalize ()
const Root::TResultcalculate (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

Constructor & Destructor Documentation

TElectronEfficiencyCorrectionTool::TElectronEfficiencyCorrectionTool ( const char *  name = "TElectronEfficiencyCorrectionTool"  ) 

Standard constructor

TElectronEfficiencyCorrectionTool::~TElectronEfficiencyCorrectionTool (  ) 

Standard destructor


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1