 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONEFFICIENCYCORRECTION_SYSTHANDLER_H
6 #define MUONEFFICIENCYCORRECTION_SYSTHANDLER_H
23 #include <TDirectory.h>
82 PtKinematicSystHandler(std::unique_ptr<HistHandler> pt_flatnesss, std::unique_ptr<HistHandler> energy_loss);
134 void fillMap(TDirectory* InDir, std::map<
Ranges, std::unique_ptr<TF1>>& systPolynomials);
KinVariable GetMuonVariableToUse(const std::string &name)
void fillMap(TDirectory *InDir, std::map< Ranges, std::unique_ptr< TF1 >> &systPolynomials)
std::pair< float, float > Ranges
CorrectionCode GetKineDependent(columnar::MuonId mu, float &Eff) const override
Add an additional uncertainty to the muon depending on its kinematics.
PrimodialPtSystematic(std::unique_ptr< HistHandler > HistHandler)
float AbsEta(columnar::MuonId mu) const
std::map< Ranges, std::unique_ptr< TF1 > > m_syst2Stations
std::string getNextProperty(std::string &sstr) const
virtual ~BadMuonVetoSystHandler()
float(IKinematicSystHandler::* KinVariable)(columnar::MuonId mu) const
Typedef to prepare function pointers to the muon.
Extra systematic assigned for the TTVA non-closure.
columnar::MuonAccessor< columnar::ObjectColumn > muonsHandle
bool initialize() override
Initialize method to load the inputs and check that everything will work as expected.
Select isolated Photons, Electrons and Muons.
void SetSystematicWeight(float syst_weight) override
Set's the absolute scaling of the systematic.
CP::CorrectionCode findAppropiatePolynomial(const xAOD::Muon &mu, TF1 *&Poly) const
float Eta(columnar::MuonId mu) const
float Pt(columnar::MuonId mu) const
std::unique_ptr< HistHandler > m_Handler
columnar::MuonAccessor< float > ptAcc
virtual CorrectionCode GetKineDependent(columnar::MuonId mu, float &Eff) const =0
Add an additional uncertainty to the muon depending on its kinematics.
CorrectionCode GetKineDependent(columnar::MuonId mu, float &Eff) const override
Add an additional uncertainty to the muon depending on its kinematics.
CorrectionCode GetKineDependent(columnar::MuonId mu, float &Eff) const override
Add an additional uncertainty to the muon depending on its kinematics.
BadMuonVetoSystHandler(TDirectory *InDir_3Stations, TDirectory *InDir_2Stations=nullptr)
columnar::MuonAccessor< float > etaAcc
CorrectionCode GetKineDependent(columnar::MuonId mu, float &eff) const override
Add an additional uncertainty to the muon depending on its kinematics.
std::unique_ptr< HistHandler > m_Handler
a class representing a single object (electron, muons, etc.)
virtual ~IKinematicSystHandler()=default
bool initialize() override
Initialize method to load the inputs and check that everything will work as expected.
std::unique_ptr< HistHandler > m_flatness
float PtGeV(columnar::MuonId mu) const
PtKinematicSystHandler(std::unique_ptr< HistHandler > pt_flatnesss, std::unique_ptr< HistHandler > energy_loss)
Constructor having two histhandler objects inside. The.
bool initialize() override
Initialize method to load the inputs and check that everything will work as expected.
Return value from object correction CP tools.
void SetSystematicWeight(float SystWeight) override
Set's the absolute scaling of the systematic.
the raw column accessor template class
virtual void SetSystematicWeight(float SystWeight)=0
Set's the absolute scaling of the systematic.
std::map< Ranges, std::unique_ptr< TF1 > > m_syst3Stations
bool initialize() override
Initialize method to load the inputs and check that everything will work as expected.
The PrimodialPtSystematic was the former PtKinematicSystHandler.
virtual bool initialize()=0
Initialize method to load the inputs and check that everything will work as expected.
TTVAClosureSysHandler(std::unique_ptr< HistHandler > HistHandler)
Z->mumu reconstruction scale-factors are delivered in eta-phi maps integrating out any pt-dependence.
std::unique_ptr< HistHandler > m_loss
void SetSystematicWeight(float SystWeight) override
Set's the absolute scaling of the systematic.
void SetSystematicWeight(float SystWeight) override
Set's the absolute scaling of the systematic.