ATLAS Offline Software
Loading...
Searching...
No Matches
L0Muon::L0MuonSmearingAlg Class Reference

#include <L0MuonSmearingAlg.h>

Inheritance diagram for L0Muon::L0MuonSmearingAlg:
Collaboration diagram for L0Muon::L0MuonSmearingAlg:

Public Member Functions

 L0MuonSmearingAlg (const std::string &name, ISvcLocator *pSvcLocator)
virtual ~L0MuonSmearingAlg ()
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) const override
virtual StatusCode finalize () override
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
virtual void setFilterPassed (bool state, const EventContext &ctx) const
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

SG::ReadHandleKey< xAOD::TruthParticleContainerm_inputTruthParticleKey
SG::WriteHandleKey< xAOD::MuonRoIContainerm_outputMuonRoIKey
ToolHandle< GenericMonitoringToolm_monTool {this, "MonTool", "", "Monitoring Tool"}
ServiceHandle< IAthRNGSvcm_rndmSvc {this, "RndmSvc", "AthRNGSvc", ""}
 Random number generator engine.
std::unique_ptr< TruthTrackSmearerm_mySmearer {nullptr}
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 19 of file L0MuonSmearingAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ L0MuonSmearingAlg()

L0Muon::L0MuonSmearingAlg::L0MuonSmearingAlg ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 18 of file L0MuonSmearingAlg.cxx.

19: AthReentrantAlgorithm(name, pSvcLocator) {}

◆ ~L0MuonSmearingAlg()

L0Muon::L0MuonSmearingAlg::~L0MuonSmearingAlg ( )
virtual

Definition at line 22 of file L0MuonSmearingAlg.cxx.

22{}

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

64{
65 return 0;
66}

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode L0Muon::L0MuonSmearingAlg::execute ( const EventContext & ctx) const
overridevirtual

Definition at line 53 of file L0MuonSmearingAlg.cxx.

53 {
54 ATH_MSG_DEBUG ("Executing " << name() << "...");
55
56 SG::ReadHandle<xAOD::TruthParticleContainer> inputTruth_handle(m_inputTruthParticleKey, ctx);
57 const xAOD::TruthParticleContainer* inputTruth = inputTruth_handle.cptr();
58 if (not inputTruth) {
59 ATH_MSG_FATAL("Unable to retrieve input truth particle of " << m_inputTruthParticleKey.key());
60 return StatusCode::FAILURE;
61 }
62
63 SG::WriteHandle<xAOD::MuonRoIContainer> outputRoI_handle(m_outputMuonRoIKey, ctx);
64 ATH_CHECK(outputRoI_handle.record(std::make_unique<xAOD::MuonRoIContainer>(), std::make_unique<xAOD::MuonRoIAuxContainer>()));
65 auto outputRoIs = outputRoI_handle.ptr();
66
67 int n_input_tracks=0;
68 int n_output_tracks=0;
69 ATH_MSG_DEBUG("Found " << inputTruth->size() << " input truth particles of " << m_inputTruthParticleKey.key());
70
71 for (const auto* part : *inputTruth) {
72 // only muon is used
73 if (part->pdgId() != 13 && part->pdgId() != -13) continue;
74 // Minimum pT cut for 2 GeV
75 if (part->pt() < 2000.) continue; // MeV
76 // only undecayed physical particle
77 if (part->status() != 1) continue;
78 // eta within 3.0
79 if (std::abs(part->eta()) > 3.0) continue;
80
81 ATH_MSG_DEBUG("New Truth Muon: phi=" << part->phi()
82 << " eta=" << part->eta()
83 << " pT=" << part->pt() / 1000.
84 << "(GeV) q/pT=" << part->charge() * 1000. / part->pt()
85 << "(1/GeV) PDGID=" << part->pdgId()
86 << " status=" << part->status());
87 n_input_tracks++;
88
89 if (!m_monTool.empty()) {
90 auto track_input_eta = Monitored::Scalar<float>("track_input_eta", part->eta());
91 auto track_input_pt = Monitored::Scalar<float>("track_input_pt", part->pt() / 1000.);
92 auto track_input_phi = Monitored::Scalar<float>("track_input_phi", part->phi());
93 auto track_input_curv = Monitored::Scalar<float>("track_input_curv", part->charge() * 1000. / part->pt());
94 auto monitorIt = Monitored::Group(m_monTool, track_input_eta, track_input_pt, track_input_phi, track_input_curv);
95 }
96
97 float qoverPt = part->charge() / part->pt(); // in MeV
98 L0MuonTrack otrack;
99 if (m_mySmearer->emulateL0MuonTrack(qoverPt, part->eta(), part->phi(), otrack) == false) { // smearing here
100 ATH_MSG_DEBUG("Killed by the efficiency: q/pt=" << qoverPt * 1000. << " (1/GeV)");
101 continue; // false means the truth muon is killed by the emulated efficiency
102 }
103
104 n_output_tracks++;
105
106 ATH_MSG_DEBUG("L0Muon Track: phi=" << otrack.phi()
107 << " eta=" << otrack.eta()
108 << " pT=" << 1. / std::abs(otrack.invpt() * 1000.)
109 << "(GeV) q/pT=" << 1000. * otrack.invpt() << "(1/GeV)");
110
111 if (!m_monTool.empty()) {
112 auto track_output_eta = Monitored::Scalar<float>("track_output_eta", otrack.eta());
113 auto track_output_pt = Monitored::Scalar<float>("track_output_pt", 1./ std::abs(otrack.invpt() * 1000.));
114 auto track_output_phi = Monitored::Scalar<float>("track_output_phi", otrack.phi());
115 auto track_output_curv = Monitored::Scalar<float>("track_output_curv", otrack.invpt() * 1000.);
116 auto monitorIt = Monitored::Group(m_monTool, track_output_eta, track_output_pt, track_output_phi, track_output_curv);
117 }
118
119 // RoI creation
120 outputRoIs->push_back(std::make_unique<xAOD::MuonRoI>());
121
122 // To fill RoI contents, below converts from floating to bit-wise values.
123 static constexpr float PHI_ROISIZE = TMath::TwoPi() / static_cast<float>(xAOD::MuonRoI::PHI_MASK); // phi divided by 9 bits
124 static constexpr float ETA_ROISIZE = 5.4 / static_cast<float>(xAOD::MuonRoI::ETA_MASK); // eta divided by 14 bits
125 static constexpr float PT_ROISIZE = 127.5 / static_cast<float>(xAOD::MuonRoI::PT_MASK); // 0.5 GeV width for 0-128 GeV (8 bits)
126
127 uint32_t phiword = uint32_t((otrack.phi()+TMath::Pi()) / PHI_ROISIZE); // phi defined from 0 to 2pi in MuonRoI, instead of -pi to pi
128 uint32_t etaword = uint32_t((otrack.eta() + 2.7) / ETA_ROISIZE); // -2.7 to 2.7 in MuonRoI.
129 uint32_t ptword = static_cast<uint32_t>(1. / std::abs(otrack.invpt() * 1000.) / PT_ROISIZE);
130 if (ptword > 0xff) ptword = 0xff;
131
132 // to still input eta and phi for initialize, not calculated from RoIword
133 float roi_eta = etaword * ETA_ROISIZE - 2.7;
134 float roi_phi = phiword * PHI_ROISIZE - TMath::Pi();
135
136 // construct roiWord (23th bit is charge information.)
137 uint32_t roiword = (ptword<<24) | ((otrack.invpt() > 0)<<23) | (phiword<<14) | etaword;
138
139 uint32_t extraword = (static_cast<uint32_t>(0x1)<<31) | (((ptword>>1) + 0x2) & 0xf); // for the time being...
140
141 std::string emu_thr_name = "L0_MUx";
142 float thrvalue = static_cast<float>(((ptword>>1) + 0x2) & 0xf);
143 outputRoIs->back()->initialize(roiword, roi_eta, roi_phi, emu_thr_name, thrvalue, extraword);
144 if (outputRoIs->back()->pt() == 0.){
145 ATH_MSG_WARNING("L0MuonRoI: pT = 0");
146 continue;
147 }
148 ATH_MSG_DEBUG("L0MuonRoI: phi = " << roi_phi << " (0x" << std::hex << phiword << std::dec << "), "
149 << "eta = " << roi_eta << " (0x" << std::hex << etaword << std::dec << "), "
150 << "pT = " << outputRoIs->back()->pt() << " (GeV) (0x" << std::hex << ptword << std::dec << "), "
151 << "q/pT= " << ((otrack.invpt() > 0) ? 1. : -1.) / outputRoIs->back()->pt());
152
153 if (!m_monTool.empty()) {
154 auto roi_output_eta = Monitored::Scalar<float>("roi_output_eta", outputRoIs->back()->eta());
155 auto roi_output_phi = Monitored::Scalar<float>("roi_output_phi", outputRoIs->back()->phi());
156 auto roi_output_pt = Monitored::Scalar<float>("roi_output_pt", outputRoIs->back()->pt());
157 auto roi_output_curv = Monitored::Scalar<float>("roi_output_curv", (outputRoIs->back()->getCharge() > 0 ? 1. : -1.)/outputRoIs->back()->pt());
158
159 auto delta_eta = Monitored::Scalar<float>("delta_eta", outputRoIs->back()->eta() - part->eta());
160 auto delta_phi = Monitored::Scalar<float>("delta_phi", TVector2::Phi_mpi_pi(outputRoIs->back()->phi() - (part->phi())));
161 auto pt0 = part->pt();
162 if (pt0 == 0.) pt0 = 1e-9; //set minimum value to avoid div-by-zero
163 //units of outputRoIs->back()->pt() ?? something looks wrong here, division takes precedence over subtraction
164 auto delta_pt = Monitored::Scalar<float>("delta_pt", (outputRoIs->back()->pt() - pt0/1000.) / (pt0/1000.));
165 //
166 auto delta_curv = Monitored::Scalar<float>("delta_curv", ((outputRoIs->back()->getCharge() == 1 ? 1. : -1.)/outputRoIs->back()->pt() - (part->charge()*1000./pt0)) / (part->charge()*1000./pt0));
167
168 auto monitorIt = Monitored::Group(m_monTool, roi_output_eta, roi_output_pt, roi_output_phi, roi_output_curv,
169 delta_eta, delta_phi, delta_pt, delta_curv);
170 }
171 }
172
173 ATH_MSG_DEBUG ("Result: Number of input truth muons= " << n_input_tracks << " , smeared tracks= "<< n_output_tracks);
174
175 return StatusCode::SUCCESS;
176}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_FATAL(x)
#define ATH_MSG_WARNING(x)
#define ATH_MSG_DEBUG(x)
SG::WriteHandleKey< xAOD::MuonRoIContainer > m_outputMuonRoIKey
std::unique_ptr< TruthTrackSmearer > m_mySmearer
ToolHandle< GenericMonitoringTool > m_monTool
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_inputTruthParticleKey
static constexpr uint32_t ETA_MASK
constants to decode RoI word for Run 4+
Definition MuonRoI_v1.h:147
static constexpr uint32_t PT_MASK
Definition MuonRoI_v1.h:149
static constexpr uint32_t PHI_MASK
Definition MuonRoI_v1.h:148
delta_phi(phi1, phi2)
Definition eFEXNTuple.py:14
setEventNumber uint32_t
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

90{
91 // If we didn't find any symlinks to add, just return the collection
92 // from the base class. Otherwise, return the extended collection.
93 if (!m_extendedExtraObjects.empty()) {
95 }
97}
An algorithm that can be simultaneously executed in multiple threads.

◆ filterPassed()

virtual bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96 {
97 return execState( ctx ).filterPassed();
98 }
virtual bool filterPassed(const EventContext &ctx) const

◆ finalize()

StatusCode L0Muon::L0MuonSmearingAlg::finalize ( )
overridevirtual

Definition at line 47 of file L0MuonSmearingAlg.cxx.

47 {
48 ATH_MSG_INFO ("Finalizing " << name() << "...");
49 return StatusCode::SUCCESS;
50}
#define ATH_MSG_INFO(x)

◆ initialize()

StatusCode L0Muon::L0MuonSmearingAlg::initialize ( )
overridevirtual

Definition at line 25 of file L0MuonSmearingAlg.cxx.

25 {
26 ATH_MSG_INFO("Initializing " << name() << "...");
27
29 ATH_CHECK(m_outputMuonRoIKey.initialize());
30
31 ATH_CHECK(m_rndmSvc.retrieve());
32
33 ATH_MSG_INFO("########## L0MuonSmearingAlg Configurations are ########## ");
34 ATH_MSG_INFO("------- InputTruthParticleKey: " << m_inputTruthParticleKey.key());
35 ATH_MSG_INFO("------- OutputMuonRoIKey: "<< m_outputMuonRoIKey.key());
36 ATH_MSG_INFO("########## L0MuonSmearingAlg Configurations: That's it. ########## ");
37
38 // configure the Smearer
39 ATHRNG::RNGWrapper* rngWrapper = m_rndmSvc->getEngine(this);
40 m_mySmearer = std::make_unique<TruthTrackSmearer>(rngWrapper);
41
42 if (!m_monTool.empty()) ATH_CHECK(m_monTool.retrieve());
43 return StatusCode::SUCCESS;
44}
ServiceHandle< IAthRNGSvc > m_rndmSvc
Random number generator engine.

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

virtual void AthCommonReentrantAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100 {
102 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.

77{
78 return BaseAlg::sysExecute (ctx);
79}

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in HypoBase, and InputMakerBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

107 {
109
110 if (sc.isFailure()) {
111 return sc;
112 }
113
114 ServiceHandle<ICondSvc> cs("CondSvc",name());
115 for (auto h : outputHandles()) {
116 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
117 // do this inside the loop so we don't create the CondSvc until needed
118 if ( cs.retrieve().isFailure() ) {
119 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
120 return StatusCode::SUCCESS;
121 }
122 if (cs->regHandle(this,*h).isFailure()) {
124 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
125 << " with CondSvc");
126 }
127 }
128 }
129 return sc;
130}
#define ATH_MSG_ERROR(x)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.h.

◆ m_inputTruthParticleKey

SG::ReadHandleKey<xAOD::TruthParticleContainer> L0Muon::L0MuonSmearingAlg::m_inputTruthParticleKey
private
Initial value:
{this, "InputTruthParticle", "TruthParticles",
"key for retrieval of input Truth particle"}

Definition at line 29 of file L0MuonSmearingAlg.h.

29 {this, "InputTruthParticle", "TruthParticles",
30 "key for retrieval of input Truth particle"};

◆ m_monTool

ToolHandle<GenericMonitoringTool> L0Muon::L0MuonSmearingAlg::m_monTool {this, "MonTool", "", "Monitoring Tool"}
private

Definition at line 35 of file L0MuonSmearingAlg.h.

35{this, "MonTool", "", "Monitoring Tool"};

◆ m_mySmearer

std::unique_ptr<TruthTrackSmearer> L0Muon::L0MuonSmearingAlg::m_mySmearer {nullptr}
private

Definition at line 38 of file L0MuonSmearingAlg.h.

38{nullptr};

◆ m_outputMuonRoIKey

SG::WriteHandleKey<xAOD::MuonRoIContainer> L0Muon::L0MuonSmearingAlg::m_outputMuonRoIKey
private
Initial value:
{this, "OutputMuonRoI", "LVL1MuonRoIs",
"key for LVL0 emulated muon RoIs" }

Definition at line 32 of file L0MuonSmearingAlg.h.

32 {this, "OutputMuonRoI", "LVL1MuonRoIs",
33 "key for LVL0 emulated muon RoIs" };

◆ m_rndmSvc

ServiceHandle<IAthRNGSvc> L0Muon::L0MuonSmearingAlg::m_rndmSvc {this, "RndmSvc", "AthRNGSvc", ""}
private

Random number generator engine.

Definition at line 36 of file L0MuonSmearingAlg.h.

36{this, "RndmSvc", "AthRNGSvc", ""};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


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