|
ATLAS Offline Software
|
Go to the documentation of this file.
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{};
78 #endif //CPTOOLTESTS_MuonEfficiencyCorrections_TESTALG
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual ~MuonScaleFactorTestAlg()=default
small test algorithm to quickly test/demonstrate the usage of the MuonEfficiencyCorrections code with...
Gaudi::Property< std::string > m_validRelease
SG::ReadHandleKey< xAOD::MuonContainer > m_sgKey
muon container
StatusCode execute() override
Function executing the algorithm.
MuonVal::ScalarBranch< float > & m_muonPt
MuonVal::MuonTesterTree m_tree
StatusCode initialize() override
Function initialising the algorithm.
ToolHandleArray< IMuonEfficiencyScaleFactors > m_comparisonTools
Gaudi::Property< int > m_muon_quality
Select isolated Photons, Electrons and Muons.
MuonScaleFactorTestAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
MuonVal::ScalarBranch< float > & m_muonEta
Gaudi::Property< float > m_eta_cut
Gaudi::Property< std::string > m_defaultRelease
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode finalize() override
Function finalizing the algortihm.
ToolHandle< IPileupReweightingTool > m_prw_Tool
Scale factor tool.
ScalarBranch< T > & newScalar(const std::string &name)
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo
ToolHandleArray< IMuonEfficiencyScaleFactors > m_effiTools
std::vector< std::shared_ptr< TestMuonSF::MuonEffiBranch > > m_sfBranches
Gaudi::Property< float > m_pt_cut
ToolHandle< IMuonSelectionTool > m_sel_tool
MuonVal::ScalarBranch< int > & m_muonQ
MuonVal::ScalarBranch< float > & m_muonPhi