ATLAS Offline Software
SimHitTester.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PRDTESTERR4_SIMHITEST_H
6 #define PRDTESTERR4_SIMHITEST_H
10 namespace MuonValR4{
12  public:
14  const std::string& inContainer,
15  const ActsTrk::DetectorType detType,
17 
18  bool declare_keys() override final;
19 
20  bool fill(const EventContext& ctx) override final;
21 
22  private:
24 
25  std::string m_collName{};
28 
31 
36  VectorBranch<float>& m_kinE{parent().newVector<float>(m_collName+"KinericEnergy")};
38  std::shared_ptr<MuonIdentifierBranch> m_identifier{};
39  };
40 }
41 #endif
MuonValR4::SimHitTester::m_globDir
ThreeVectorBranch m_globDir
Definition: SimHitTester.h:27
TesterModuleBase.h
MuonValR4::SimHitTester::m_kinE
VectorBranch< float > & m_kinE
Definition: SimHitTester.h:36
ActsTrk::DetectorType
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
Definition: GeometryDefs.h:17
MuonValR4::SimHitTester
Definition: SimHitTester.h:11
MuonValR4::SimHitTester::m_energyDep
VectorBranch< float > & m_energyDep
Definition: SimHitTester.h:35
MuonValR4::SimHitTester::m_identifier
std::shared_ptr< MuonIdentifierBranch > m_identifier
Definition: SimHitTester.h:38
MuonVal::VectorBranch< float >
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
MuonValR4::SimHitTester::m_mass
VectorBranch< float > & m_mass
Definition: SimHitTester.h:37
MuonValR4::SimHitTester::m_locDir
ThreeVectorBranch m_locDir
Definition: SimHitTester.h:30
MuonVal::ThreeVectorBranch
Definition: ThreeVectorBranch.h:19
MuonVal::MuonTesterBranch::tree
TTree * tree() override final
Returns the underlying TTree object.
Definition: MuonTesterBranch.cxx:53
MuonValR4::SimHitTester::fill
bool fill(const EventContext &ctx) override final
The fill method checks if enough information is provided such that the branch is cleared from the inf...
Definition: SimHitTester.cxx:39
MuonValR4::SimHitTester::m_collName
std::string m_collName
Definition: SimHitTester.h:25
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
AthMessaging::msgLvl
bool msgLvl(const MSG::Level lvl) const
Test the output level.
Definition: AthMessaging.h:151
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
IdentifierBranch.h
MuonValR4::SimHitTester::SimHitTester
SimHitTester(MuonTesterTree &tree, const std::string &inContainer, const ActsTrk::DetectorType detType, MSG::Level msgLvl=MSG::Level::INFO)
Definition: SimHitTester.cxx:8
MuonValR4::SimHitTester::m_beta
VectorBranch< float > & m_beta
Definition: SimHitTester.h:33
MuonSimHitContainer.h
MuonValR4::SimHitTester::declare_keys
bool declare_keys() override final
Definition: SimHitTester.cxx:36
MuonVal::MuonTesterTree::newVector
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
MuonValR4::TesterModuleBase
Definition: TesterModuleBase.h:15
MuonValR4
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
Definition: IPatternVisualizationTool.h:23
MuonValR4::SimHitTester::m_locPos
ThreeVectorBranch m_locPos
Definition: SimHitTester.h:29
MuonValR4::SimHitTester::m_globPos
ThreeVectorBranch m_globPos
Definition: SimHitTester.h:26
MuonValR4::SimHitTester::m_pdgId
VectorBranch< int > & m_pdgId
Definition: SimHitTester.h:34
MuonVal::MuonTesterBranch::parent
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
Definition: MuonTesterBranch.cxx:38
python.Constants.INFO
int INFO
Definition: Control/AthenaCommon/python/Constants.py:16
MuonValR4::SimHitTester::m_globTime
VectorBranch< float > & m_globTime
Definition: SimHitTester.h:32
MuonValR4::SimHitTester::m_key
SG::ReadHandleKey< xAOD::MuonSimHitContainer > m_key
Definition: SimHitTester.h:23