ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonPRDTest
src
MuonTesterAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONPRDTEST_MUONTESTERALG_H
5
#define MUONPRDTEST_MUONTESTERALG_H
6
#include "
AthenaBaseComps/AthHistogramAlgorithm.h
"
7
8
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
9
#include "
MuonTesterTree/MuonTesterTree.h
"
10
#include "
MuonTesterTree/IParticleFourMomBranch.h
"
11
#include "
xAODMuon/MuonContainer.h
"
12
13
namespace
MuonVal
{
14
class
MuonTesterAlg
:
public
AthHistogramAlgorithm
{
15
public
:
16
17
using
AthHistogramAlgorithm::AthHistogramAlgorithm
;
18
19
virtual
StatusCode
initialize
()
override
;
20
virtual
StatusCode
finalize
()
override
;
21
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
22
virtual
unsigned
int
cardinality
()
const
override final {
return
1; }
23
private
:
24
SG::ReadHandleKey<xAOD::MuonContainer>
m_muonKey
{
this
,
"MuonKey"
,
"Muons"
};
25
26
MuonVal::MuonTesterTree
m_tree
{
"BasicMuonTest"
,
"MUONVALIDSTREAM"
};
27
28
std::shared_ptr<IParticleFourMomBranch>
m_muonBr
{};
29
30
31
};
32
}
33
34
#endif
AthHistogramAlgorithm.h
MuonContainer.h
IMuonIdHelperSvc.h
IParticleFourMomBranch.h
MuonTesterTree.h
AthHistogramAlgorithm::AthHistogramAlgorithm
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
AthHistogramAlgorithm.cxx:31
MuonVal::MuonTesterAlg
Definition
MuonTesterAlg.h:14
MuonVal::MuonTesterAlg::cardinality
virtual unsigned int cardinality() const override final
Definition
MuonTesterAlg.h:22
MuonVal::MuonTesterAlg::m_muonBr
std::shared_ptr< IParticleFourMomBranch > m_muonBr
Definition
MuonTesterAlg.h:28
MuonVal::MuonTesterAlg::m_muonKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonKey
Definition
MuonTesterAlg.h:24
MuonVal::MuonTesterAlg::m_tree
MuonVal::MuonTesterTree m_tree
Definition
MuonTesterAlg.h:26
MuonVal::MuonTesterAlg::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
MuonTesterAlg.cxx:43
MuonVal::MuonTesterAlg::finalize
virtual StatusCode finalize() override
Definition
MuonTesterAlg.cxx:39
MuonVal::MuonTesterAlg::AthHistogramAlgorithm
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
AthHistogramAlgorithm.cxx:31
MuonVal::MuonTesterAlg::initialize
virtual StatusCode initialize() override
Definition
MuonTesterAlg.cxx:10
MuonVal::MuonTesterTree
Definition
MuonTesterTree.h:38
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
const
MuonVal
Class to store array like branches into the n-tuples.
Definition
HitValAlg.cxx:19
Generated on
for ATLAS Offline Software by
1.17.0