5#ifndef CPTOOLTESTS_MuonEfficiencyCorrections_TESTALG
6#define CPTOOLTESTS_MuonEfficiencyCorrections_TESTALG
46 ToolHandleArray<IMuonEfficiencyScaleFactors>
m_effiTools{
this,
"EfficiencyTools", {}};
47 ToolHandleArray<IMuonEfficiencyScaleFactors>
m_comparisonTools{
this,
"EfficiencyToolsForComparison", {}};
50 ToolHandle<IPileupReweightingTool>
m_prw_Tool{
this,
"PileupReweightingTool",
""};
51 ToolHandle<IMuonSelectionTool>
m_sel_tool{
this,
"MuonSelectionTool",
""};
59 Gaudi::Property<float>
m_pt_cut{
this,
"MinPt", -1.};
60 Gaudi::Property<float>
m_eta_cut{
this,
"MaxEta", -1.};
70 std::vector<std::shared_ptr<TestMuonSF::MuonEffiBranch>>
m_sfBranches{};
Property holding a SG store/key/clid from which a ReadHandle is made.
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
MuonVal::ScalarBranch< float > & m_muonPt
ToolHandle< IPileupReweightingTool > m_prw_Tool
Scale factor tool.
ToolHandleArray< IMuonEfficiencyScaleFactors > m_effiTools
StatusCode finalize() override
Function finalizing the algortihm.
SG::ReadHandleKey< xAOD::MuonContainer > m_sgKey
muon container
virtual ~MuonScaleFactorTestAlg()=default
Gaudi::Property< std::string > m_validRelease
ToolHandle< IMuonSelectionTool > m_sel_tool
MuonVal::MuonTesterTree m_tree
std::vector< std::shared_ptr< TestMuonSF::MuonEffiBranch > > m_sfBranches
Gaudi::Property< float > m_eta_cut
MuonVal::ScalarBranch< float > & m_muonPhi
ToolHandleArray< IMuonEfficiencyScaleFactors > m_comparisonTools
StatusCode execute() override
Function executing the algorithm.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo
Gaudi::Property< std::string > m_defaultRelease
MuonScaleFactorTestAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
Gaudi::Property< int > m_muon_quality
Gaudi::Property< float > m_pt_cut
MuonVal::ScalarBranch< int > & m_muonQ
StatusCode initialize() override
Function initialising the algorithm.
MuonVal::ScalarBranch< float > & m_muonEta
Property holding a SG store/key/clid from which a ReadHandle is made.
Select isolated Photons, Electrons and Muons.