ATLAS Offline Software
Loading...
Searching...
No Matches
MuonValR4::SimHitTester Class Reference

#include <SimHitTester.h>

Inheritance diagram for MuonValR4::SimHitTester:
Collaboration diagram for MuonValR4::SimHitTester:

Public Types

using DataDependency = SG::VarHandleKey*

Public Member Functions

 SimHitTester (MuonTesterTree &tree, const std::string &inContainer, const ActsTrk::DetectorType detType, MSG::Level msgLvl=MSG::Level::INFO)
bool declare_keys () override final
bool fill (const EventContext &ctx) override final
 The fill method checks if enough information is provided such that the branch is cleared from the information of the prevoius event and in cases of that updates did no happen befure a default value is provided.
unsigned push_back (const xAOD::MuonSimHit &hit)
bool init () override final
 The init method checks whether the branch name has already registered to the MuonTree and tries then to add the branch to the tree --> return false if the branch has already been defined or the inclusion of the branch to the tree failed or the name of the branch is empty.
std::string name () const override final
 Returns the name of the branch.
bool initialized () const
 Returns whether the object has been initialized or not The outcome of the variable is bound to a successful call of the addToTree method.
TTree * tree () override final
 Returns the underlying TTree object.
const TTree * tree () const override final
std::vector< DataDependencydata_dependencies () override final
 Returns the data dependencies needed by the MuonTesterBranch.
bool msgLvl (const MSG::Level lvl) const
 Test the output level.
MsgStream & msg () const
 The standard message stream.
MsgStream & msg (const MSG::Level lvl) const
 The standard message stream.
void setLevel (MSG::Level lvl)
 Change the current logging level.

Static Public Member Functions

static std::string eraseWhiteSpaces (const std::string &In)

Protected Member Functions

const Muon::IMuonIdHelperSvcidHelperSvc () const
const MuonGMR4::MuonDetectorManagergetDetMgr () const
const ActsTrk::GeometryContextgetGeoCtx (const EventContext &ctx) const
template<class T>
bool addToTree (T &variable)
 Connects the Memory buffer with the TTree.
template<class Key>
bool declare_dependency (Key &key)
 Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
MuonTesterTreeparent ()
 Returns the reference to the MuonTesterTree parent.

Private Member Functions

unsigned int fillHit (const EventContext &ctx, const xAOD::MuonSimHit &hit)
void initMessaging () const
 Initialize our message level and MessageSvc.

Private Attributes

SG::ReadHandleKey< xAOD::MuonSimHitContainerm_key {}
 Key of the SimHit container in the StoreGate.
std::string m_collName {}
 Name of the SimHit collection in the output tree.
ThreeVectorBranch m_globPos {parent(), m_collName+"_globPos"}
 Global position of the SimHits.
ThreeVectorBranch m_globDir {parent(), m_collName+"_globDir"}
 Global direction of the traversing particle generating the hit.
ThreeVectorBranch m_locPos {parent(), m_collName+"_localPos"}
 Local position of the produced simHit.
ThreeVectorBranch m_locDir {parent(), m_collName+"_localDir"}
 Local direction of the traversing particle generating the hit.
VectorBranch< float > & m_globTime {parent().newVector<float>(m_collName+"_globalTime")}
 Global time when the simHit was produced.
VectorBranch< float > & m_beta {parent().newVector<float>(m_collName+"_beta")}
 Velocity of the simHit expressed in terms of beta.
VectorBranch< int > & m_pdgId {parent().newVector<int>(m_collName+"_pdgId")}
 PdgId of the particle generating the hit.
VectorBranch< float > & m_energyDep {parent().newVector<float>(m_collName+"_energyDeposit")}
 Energy deposited in the volume.
VectorBranch< float > & m_kinE {parent().newVector<float>(m_collName+"_kineticEnergy")}
 Kinetic energy of the traversing particle.
VectorBranch< float > & m_mass {parent().newVector<float>(m_collName+"_mass")}
 Mass of the traversing particle.
std::shared_ptr< MuonIdentifierBranchm_identifier {}
 Pointer to the Identifier branch.
std::unordered_map< const xAOD::MuonSimHit *, unsigned int > m_idxLookUp {}
 look up table of alrady dumped sim hits
const MuonGMR4::MuonDetectorManagerm_detMgr {}
ServiceHandle< Muon::IMuonIdHelperSvcm_idHelperSvc {"Muon::MuonIdHelperSvc/MuonIdHelperSvc", name()}
SG::ReadHandleKey< ActsTrk::GeometryContextm_geoCtxKey {"ActsAlignment"}
TTree * m_tree {nullptr}
MuonTesterTreem_parent {nullptr}
std::string m_name {}
bool m_init {false}
std::vector< DataDependencym_dependencies {}
std::string m_nm
 Message source name.
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels)
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer.
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level.
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging)

Detailed Description

Definition at line 11 of file SimHitTester.h.

Member Typedef Documentation

◆ DataDependency

Constructor & Destructor Documentation

◆ SimHitTester()

MuonValR4::SimHitTester::SimHitTester ( MuonTesterTree & tree,
const std::string & inContainer,
const ActsTrk::DetectorType detType,
MSG::Level msgLvl = MSG::Level::INFO )

Definition at line 8 of file SimHitTester.cxx.

11 :
12 TesterModuleBase{tree, inContainer, msgLvl},
13 m_key{inContainer},
14 m_collName{ActsTrk::to_string(detType)+"SimHits"} {
15 switch (detType) {
17 m_identifier = std::make_shared<MdtIdentifierBranch>(tree, m_collName);
18 break;
20 m_identifier = std::make_shared<RpcIdentifierBranch>(tree, m_collName);
21 break;
23 m_identifier = std::make_shared<TgcIdentifierBranch>(tree, m_collName);
24 break;
26 m_identifier = std::make_shared<sTgcIdentifierBranch>(tree, m_collName);
27 break;
29 m_identifier = std::make_shared<MmIdentifierBranch>(tree, m_collName);
30 break;
31 default:
32 ATH_MSG_WARNING("Unsupported detector type "<<ActsTrk::to_string(detType));
33 };
34
35 }
#define ATH_MSG_WARNING(x)
bool msgLvl(const MSG::Level lvl) const
Test the output level.
std::string m_collName
Name of the SimHit collection in the output tree.
SG::ReadHandleKey< xAOD::MuonSimHitContainer > m_key
Key of the SimHit container in the StoreGate.
std::shared_ptr< MuonIdentifierBranch > m_identifier
Pointer to the Identifier branch.
TesterModuleBase(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl=MSG::Level::INFO)
virtual TTree * tree()=0
Returns the pointer to the underlying TTree object.
std::string to_string(const DetectorType &type)
@ Mm
Maybe not needed in the migration.
@ Tgc
Resitive Plate Chambers.
@ sTgc
Micromegas (NSW)
@ Rpc
Monitored Drift Tubes.
@ Mdt
MuonSpectrometer.

Member Function Documentation

◆ addToTree()

template<class T>
bool MuonVal::MuonTesterBranch::addToTree ( T & variable)
protectedinherited

Connects the Memory buffer with the TTree.

◆ data_dependencies()

std::vector< MuonTesterBranch::DataDependency > MuonVal::MuonTesterBranch::data_dependencies ( )
finaloverridevirtualinherited

Returns the data dependencies needed by the MuonTesterBranch.

Implements MuonVal::IMuonTesterBranch.

Definition at line 61 of file MuonTesterBranch.cxx.

61{ return m_dependencies;}
std::vector< DataDependency > m_dependencies

◆ declare_dependency()

template<class Key>
bool MuonVal::MuonTesterBranch::declare_dependency ( Key & key)
protectedinherited

Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.

◆ declare_keys()

bool MuonValR4::SimHitTester::declare_keys ( )
finaloverridevirtual

Implements MuonValR4::TesterModuleBase.

Definition at line 36 of file SimHitTester.cxx.

36 {
38 }
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
bool declare_dependency(Key &key)
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
bool addBranch(std::shared_ptr< IMuonTesterBranch > branch)
Branch is added to the tree without transferring the ownership.

◆ eraseWhiteSpaces()

std::string MuonVal::MuonTesterBranch::eraseWhiteSpaces ( const std::string & In)
staticinherited

Definition at line 56 of file MuonTesterBranch.cxx.

56 {
57 std::string out = In;
58 out.erase(std::remove_if(out.begin(), out.end(), isspace), out.end());
59 return out;
60}
DataModel_detail::iterator< DVL > remove_if(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end, Predicate pred)
Specialization of remove_if for DataVector/List.

◆ fill()

bool MuonValR4::SimHitTester::fill ( const EventContext & ctx)
finaloverridevirtual

The fill method checks if enough information is provided such that the branch is cleared from the information of the prevoius event and in cases of that updates did no happen befure a default value is provided.

--> returns false if no update is called or the dummy value has not been defined

Implements MuonVal::IMuonTesterBranch.

Definition at line 39 of file SimHitTester.cxx.

39 {
40
41 SG::ReadHandle inContainer{m_key, ctx};
42 if (!inContainer.isPresent()) {
43 ATH_MSG_FATAL("Failed to retrieve "<<m_key.fullKey());
44 return false;
45 }
46
47 for (const xAOD::MuonSimHit* simHit : *inContainer) {
48 fillHit(ctx, *simHit);
49 }
50 m_idxLookUp.clear();
51 return true;
52 }
#define ATH_MSG_FATAL(x)
std::unordered_map< const xAOD::MuonSimHit *, unsigned int > m_idxLookUp
look up table of alrady dumped sim hits
unsigned int fillHit(const EventContext &ctx, const xAOD::MuonSimHit &hit)
bool isPresent() const
Is the referenced object present in SG?
MuonSimHit_v1 MuonSimHit
Defined the version of the MuonSimHit.
Definition MuonSimHit.h:12

◆ fillHit()

unsigned int MuonValR4::SimHitTester::fillHit ( const EventContext & ctx,
const xAOD::MuonSimHit & hit )
private

Definition at line 56 of file SimHitTester.cxx.

57 {
58
59 const auto insertItr = m_idxLookUp.insert(std::make_pair(&simHit, m_idxLookUp.size()));
60 if (!insertItr.second) {
61 return insertItr.first->second;
62 }
63 const ActsTrk::GeometryContext& gctx{getGeoCtx(ctx)};
64
65 const MuonGMR4::MuonDetectorManager* detMgr = getDetMgr();
66
67 const Identifier id = simHit.identify();
68 ATH_MSG_VERBOSE("Filling information for "<<idHelperSvc()->toString(id));
69
70 const MuonGMR4::MuonReadoutElement* re = detMgr->getReadoutElement(id);
71
72 const IdentifierHash trfHash{idHelperSvc()->isMdt(id) ? re->measurementHash(id)
73 : re->layerHash(id)};
74
75 const Amg::Vector3D locPos{xAOD::toEigen(simHit.localPosition())};
76 const Amg::Vector3D locDir{xAOD::toEigen(simHit.localDirection())};
77
78 const Amg::Transform3D& locToGlobal{re->localToGlobalTrans(gctx, trfHash)};
79 m_globPos.push_back(locToGlobal*locPos);
80 m_globDir.push_back(Amg::Vector3D(locToGlobal.linear()* locDir));
81 m_locPos.push_back(locPos);
82 m_locDir.push_back(locDir);
83 m_globTime.push_back(simHit.globalTime());
84 m_beta.push_back(simHit.beta());
85 m_pdgId.push_back(simHit.pdgId());
86 m_energyDep.push_back(simHit.energyDeposit());
87 m_kinE.push_back(simHit.kineticEnergy());
88 m_mass.push_back(simHit.mass());
89 m_identifier->push_back(id);
90
91 return insertItr.first->second;
92 }
const boost::regex re(r_e)
#define ATH_MSG_VERBOSE(x)
const MuonReadoutElement * getReadoutElement(const Identifier &id) const
Returns a generic Muon readout element.
VectorBranch< float > & m_kinE
Kinetic energy of the traversing particle.
ThreeVectorBranch m_globDir
Global direction of the traversing particle generating the hit.
VectorBranch< float > & m_beta
Velocity of the simHit expressed in terms of beta.
VectorBranch< float > & m_mass
Mass of the traversing particle.
ThreeVectorBranch m_locPos
Local position of the produced simHit.
VectorBranch< float > & m_globTime
Global time when the simHit was produced.
ThreeVectorBranch m_locDir
Local direction of the traversing particle generating the hit.
ThreeVectorBranch m_globPos
Global position of the SimHits.
VectorBranch< int > & m_pdgId
PdgId of the particle generating the hit.
VectorBranch< float > & m_energyDep
Energy deposited in the volume.
const Muon::IMuonIdHelperSvc * idHelperSvc() const
const MuonGMR4::MuonDetectorManager * getDetMgr() const
const ActsTrk::GeometryContext & getGeoCtx(const EventContext &ctx) const
virtual bool isMdt(const Identifier &id) const =0
returns whether this is a MDT Identifier or not
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 3, 1 > Vector3D
std::string toString(const Parameters &pars)
Dumps the parameters into a string with labels in front of each number.

◆ getDetMgr()

const MuonGMR4::MuonDetectorManager * MuonValR4::TesterModuleBase::getDetMgr ( ) const
protectedinherited

Definition at line 19 of file TesterModuleBase.cxx.

19 {
20 return m_detMgr;
21 }
const MuonGMR4::MuonDetectorManager * m_detMgr

◆ getGeoCtx()

const ActsTrk::GeometryContext & MuonValR4::TesterModuleBase::getGeoCtx ( const EventContext & ctx) const
protectedinherited

Definition at line 22 of file TesterModuleBase.cxx.

22 {
23 SG::ReadHandle handle{m_geoCtxKey, ctx};
24 if (!handle.isValid()) {
25 THROW_EXCEPTION("Failed to retrieve "<<m_geoCtxKey.fullKey());
26 }
27 return *handle;
28 }
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geoCtxKey
virtual bool isValid() override final
Can the handle be successfully dereferenced?
#define THROW_EXCEPTION(MESSAGE)
Definition throwExcept.h:10

◆ idHelperSvc()

const Muon::IMuonIdHelperSvc * MuonValR4::TesterModuleBase::idHelperSvc ( ) const
protectedinherited

Definition at line 18 of file TesterModuleBase.cxx.

18{ return m_idHelperSvc.get(); }
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc

◆ init()

bool MuonValR4::TesterModuleBase::init ( )
finaloverridevirtualinherited

The init method checks whether the branch name has already registered to the MuonTree and tries then to add the branch to the tree --> return false if the branch has already been defined or the inclusion of the branch to the tree failed or the name of the branch is empty.

Implements MuonVal::IMuonTesterBranch.

Definition at line 30 of file TesterModuleBase.cxx.

30 {
31 ServiceHandle<StoreGateSvc> detStore{"StoreGateSvc/DetectorStore", name()};
32 if (!detStore.retrieve().isSuccess() || !detStore->retrieve(m_detMgr).isSuccess()) return false;
33 if (!declare_dependency(m_geoCtxKey)) return false;
34 if (!m_idHelperSvc.retrieve().isSuccess()) return false;
35 return declare_keys();
36 }
virtual bool declare_keys()=0
std::string name() const override final
Returns the name of the branch.

◆ initialized()

bool MuonVal::MuonTesterBranch::initialized ( ) const
inherited

Returns whether the object has been initialized or not The outcome of the variable is bound to a successful call of the addToTree method.

Definition at line 52 of file MuonTesterBranch.cxx.

◆ initMessaging()

void AthMessaging::initMessaging ( ) const
privateinherited

Initialize our message level and MessageSvc.

This method should only be called once.

Definition at line 39 of file AthMessaging.cxx.

40{
42 // If user did not set an explicit level, set a default
43 if (m_lvl == MSG::NIL) {
44 m_lvl = m_imsg ?
45 static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
46 MSG::INFO;
47 }
48}
std::string m_nm
Message source name.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
std::atomic< MSG::Level > m_lvl
Current logging level.
IMessageSvc * getMessageSvc(bool quiet=false)

◆ msg() [1/2]

MsgStream & AthMessaging::msg ( ) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 163 of file AthMessaging.h.

164{
165 MsgStream* ms = m_msg_tls.get();
166 if (!ms) {
167 if (!m_initialized.test_and_set()) initMessaging();
168 ms = new MsgStream(m_imsg,m_nm);
169 m_msg_tls.reset( ms );
170 }
171
172 ms->setLevel (m_lvl);
173 return *ms;
174}
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
void initMessaging() const
Initialize our message level and MessageSvc.

◆ msg() [2/2]

MsgStream & AthMessaging::msg ( const MSG::Level lvl) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 178 of file AthMessaging.h.

179{ return msg() << lvl; }
MsgStream & msg() const
The standard message stream.

◆ msgLvl()

bool AthMessaging::msgLvl ( const MSG::Level lvl) const
inlineinherited

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152{
153 if (m_lvl <= lvl) {
154 msg() << lvl;
155 return true;
156 } else {
157 return false;
158 }
159}

◆ name()

std::string MuonVal::MuonTesterBranch::name ( ) const
finaloverridevirtualinherited

Returns the name of the branch.

Implements MuonVal::IMuonTesterBranch.

Definition at line 51 of file MuonTesterBranch.cxx.

51{ return m_name; }

◆ parent()

MuonTesterTree & MuonVal::MuonTesterBranch::parent ( )
protectedinherited

Returns the reference to the MuonTesterTree parent.

Definition at line 38 of file MuonTesterBranch.cxx.

38 {
39 if (!m_parent) {
40 ATH_MSG_WARNING("The parent of " << name() << " is null.");
41 }
42 return *m_parent;
43}

◆ push_back()

unsigned MuonValR4::SimHitTester::push_back ( const xAOD::MuonSimHit & hit)

Definition at line 53 of file SimHitTester.cxx.

53 {
54 return fillHit(Gaudi::Hive::currentContext(), hit);
55 }

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29{
30 m_lvl = lvl;
31}

◆ tree() [1/2]

const TTree * MuonVal::MuonTesterBranch::tree ( ) const
finaloverridevirtualinherited

Implements MuonVal::IMuonTesterBranch.

Definition at line 54 of file MuonTesterBranch.cxx.

54{ return m_tree; }

◆ tree() [2/2]

TTree * MuonVal::MuonTesterBranch::tree ( )
finaloverridevirtualinherited

Returns the underlying TTree object.

Implements MuonVal::IMuonTesterBranch.

Definition at line 53 of file MuonTesterBranch.cxx.

53{ return m_tree; }

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_beta

VectorBranch<float>& MuonValR4::SimHitTester::m_beta {parent().newVector<float>(m_collName+"_beta")}
private

Velocity of the simHit expressed in terms of beta.

Definition at line 42 of file SimHitTester.h.

42{parent().newVector<float>(m_collName+"_beta")};
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.

◆ m_collName

std::string MuonValR4::SimHitTester::m_collName {}
private

Name of the SimHit collection in the output tree.

Definition at line 30 of file SimHitTester.h.

30{};

◆ m_dependencies

std::vector<DataDependency> MuonVal::MuonTesterBranch::m_dependencies {}
privateinherited

Definition at line 62 of file MuonTesterBranch.h.

62{};

◆ m_detMgr

const MuonGMR4::MuonDetectorManager* MuonValR4::TesterModuleBase::m_detMgr {}
privateinherited

Definition at line 32 of file TesterModuleBase.h.

32{};

◆ m_energyDep

VectorBranch<float>& MuonValR4::SimHitTester::m_energyDep {parent().newVector<float>(m_collName+"_energyDeposit")}
private

Energy deposited in the volume.

Definition at line 46 of file SimHitTester.h.

46{parent().newVector<float>(m_collName+"_energyDeposit")};

◆ m_geoCtxKey

SG::ReadHandleKey<ActsTrk::GeometryContext> MuonValR4::TesterModuleBase::m_geoCtxKey {"ActsAlignment"}
privateinherited

Definition at line 34 of file TesterModuleBase.h.

34{"ActsAlignment"};

◆ m_globDir

ThreeVectorBranch MuonValR4::SimHitTester::m_globDir {parent(), m_collName+"_globDir"}
private

Global direction of the traversing particle generating the hit.

Definition at line 34 of file SimHitTester.h.

34{parent(), m_collName+"_globDir"};

◆ m_globPos

ThreeVectorBranch MuonValR4::SimHitTester::m_globPos {parent(), m_collName+"_globPos"}
private

Global position of the SimHits.

Definition at line 32 of file SimHitTester.h.

32{parent(), m_collName+"_globPos"};

◆ m_globTime

VectorBranch<float>& MuonValR4::SimHitTester::m_globTime {parent().newVector<float>(m_collName+"_globalTime")}
private

Global time when the simHit was produced.

Definition at line 40 of file SimHitTester.h.

40{parent().newVector<float>(m_collName+"_globalTime")};

◆ m_identifier

std::shared_ptr<MuonIdentifierBranch> MuonValR4::SimHitTester::m_identifier {}
private

Pointer to the Identifier branch.

Definition at line 52 of file SimHitTester.h.

52{};

◆ m_idHelperSvc

ServiceHandle<Muon::IMuonIdHelperSvc> MuonValR4::TesterModuleBase::m_idHelperSvc {"Muon::MuonIdHelperSvc/MuonIdHelperSvc", name()}
privateinherited

Definition at line 33 of file TesterModuleBase.h.

33{"Muon::MuonIdHelperSvc/MuonIdHelperSvc", name()};

◆ m_idxLookUp

std::unordered_map<const xAOD::MuonSimHit*, unsigned int> MuonValR4::SimHitTester::m_idxLookUp {}
private

look up table of alrady dumped sim hits

Definition at line 55 of file SimHitTester.h.

55{};

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

135{ nullptr };

◆ m_init

bool MuonVal::MuonTesterBranch::m_init {false}
privateinherited

Definition at line 61 of file MuonTesterBranch.h.

61{false};

◆ m_key

SG::ReadHandleKey<xAOD::MuonSimHitContainer> MuonValR4::SimHitTester::m_key {}
private

Key of the SimHit container in the StoreGate.

Definition at line 28 of file SimHitTester.h.

28{};

◆ m_kinE

VectorBranch<float>& MuonValR4::SimHitTester::m_kinE {parent().newVector<float>(m_collName+"_kineticEnergy")}
private

Kinetic energy of the traversing particle.

Definition at line 48 of file SimHitTester.h.

48{parent().newVector<float>(m_collName+"_kineticEnergy")};

◆ m_locDir

ThreeVectorBranch MuonValR4::SimHitTester::m_locDir {parent(), m_collName+"_localDir"}
private

Local direction of the traversing particle generating the hit.

Definition at line 38 of file SimHitTester.h.

38{parent(), m_collName+"_localDir"};

◆ m_locPos

ThreeVectorBranch MuonValR4::SimHitTester::m_locPos {parent(), m_collName+"_localPos"}
private

Local position of the produced simHit.

Definition at line 36 of file SimHitTester.h.

36{parent(), m_collName+"_localPos"};

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

138{ MSG::NIL };

◆ m_mass

VectorBranch<float>& MuonValR4::SimHitTester::m_mass {parent().newVector<float>(m_collName+"_mass")}
private

Mass of the traversing particle.

Definition at line 50 of file SimHitTester.h.

50{parent().newVector<float>(m_collName+"_mass")};

◆ m_msg_tls

boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls
mutableprivateinherited

MsgStream instance (a std::cout like with print-out levels)

Definition at line 132 of file AthMessaging.h.

◆ m_name

std::string MuonVal::MuonTesterBranch::m_name {}
privateinherited

Definition at line 60 of file MuonTesterBranch.h.

60{};

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.

◆ m_parent

MuonTesterTree* MuonVal::MuonTesterBranch::m_parent {nullptr}
privateinherited

Definition at line 59 of file MuonTesterBranch.h.

59{nullptr};

◆ m_pdgId

VectorBranch<int>& MuonValR4::SimHitTester::m_pdgId {parent().newVector<int>(m_collName+"_pdgId")}
private

PdgId of the particle generating the hit.

Definition at line 44 of file SimHitTester.h.

44{parent().newVector<int>(m_collName+"_pdgId")};

◆ m_tree

TTree* MuonVal::MuonTesterBranch::m_tree {nullptr}
privateinherited

Definition at line 58 of file MuonTesterBranch.h.

58{nullptr};

The documentation for this class was generated from the following files: