CP::EfficiencyScaleFactor Class Reference

List of all members.

Public Member Functions

 EfficiencyScaleFactor ()
 default constructor - will create the histos as NULL pointers
 EfficiencyScaleFactor (const std::string &file, const std::string &time_unit, SystematicSet sys, CP::MuonEfficiencyType effType, bool is_lowpt=false, bool hasPtDepSys=false)
 constructor to use in real life - will read in the histos from the given file
 EfficiencyScaleFactor (EfficiencyScaleFactor *Nominal, const std::string &file, const std::string &time_unit, SystematicSet sys, CP::MuonEfficiencyType effType, bool is_lowpt=false, bool hasPtDepSys=false)
 EfficiencyScaleFactor (const EfficiencyScaleFactor &other)
EfficiencyScaleFactoroperator= (const EfficiencyScaleFactor &other)
bool ReadFromFile (std::string file, std::string time_unit)
 Read SF histrograms from a given input file.
HistHandlerReadHistFromFile (std::string name, TFile *f, std::string time_unit)
void ApplySysVariation ()
bool CheckConsistency ()
 check the consistency - all histograms should be well defined
int nBinsSF () const
int nBinsEfficiency () const
bool SetSystematicBin (int bin)
CorrectionCode ScaleFactor (const xAOD::Muon &mu, float &SF) const
 the important bits - extract SF info
CorrectionCode ScaleFactorReplicas (const xAOD::Muon &mu, std::vector< float > &SF)
CorrectionCode DataEfficiency (const xAOD::Muon &mu, float &Eff) const
 ... and absolute efficiencies
CorrectionCode DataEfficiencyReplicas (const xAOD::Muon &mu, std::vector< float > &eff)
CorrectionCode MCEfficiency (const xAOD::Muon &mu, float &Eff) const
CorrectionCode MCEfficiencyReplicas (const xAOD::Muon &mu, std::vector< float > &eff)
void DebugPrint ()
 debug method
std::string sysname () const

Member Function Documentation

CorrectionCode EfficiencyScaleFactor::ScaleFactor ( const xAOD::Muon mu,
float &  SF 
) const

the important bits - extract SF info

scale factors...


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

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1