ATLAS Offline Software
Loading...
Searching...
No Matches
Prompt::DecoratePromptLeptonRNN Class Reference

#include <DecoratePromptLeptonRNN.h>

Inheritance diagram for Prompt::DecoratePromptLeptonRNN:

Public Types

using decoratorFloatH_t = SG::WriteDecorHandle<xAOD::IParticleContainer, float>

Public Member Functions

 DecoratePromptLeptonRNN (const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) override
 Execute method.
virtual StatusCode finalize () override
const xAOD::TrackParticlefindMuonTrack (const xAOD::Muon *muon)
const xAOD::JetfindClosestTrackJet (const xAOD::TrackParticle *particle, const xAOD::JetContainer &trackJets)
bool compDummy (const xAOD::IParticle &particle, std::vector< decoratorFloatH_t > &decors) const
bool prepTrackObject (Prompt::VarHolder &p, const xAOD::TrackParticle &track, const xAOD::TrackParticle &lepton, const xAOD::Jet &trackJet, const xAOD::Vertex &priVtx, const xAOD::EventInfo event)
bool compScore (const xAOD::IParticle &particle, const std::vector< Prompt::VarHolder > &tracks, std::vector< decoratorFloatH_t > &decors)
bool passTrack (Prompt::VarHolder &p)
StatusCode makeHist (TH1 *&h, const std::string &key, int nbin, double xmin, double xmax)
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
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
 Get filter decision:
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 Set filter decision:
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

Public Attributes

Gaudi::Property< std::string > m_outputStream {this, "outputStream", "", "Path of the ROOT output directory of the histograms for RNN debug"}
Gaudi::Property< std::string > m_decorationPrefixRNN {this, "decorationPrefixRNN", "", "Prefix of the name for the decorator of RNN to the lepton"}
Gaudi::Property< double > m_minTrackpT {this, "minTrackpT", 500.0, "pT cut config for the input tracks to RNN"}
Gaudi::Property< double > m_maxTrackEta {this, "maxTrackEta", 2.5, "abs(eta) cut config for the input tracks to RNN"}
Gaudi::Property< double > m_maxTrackZ0Sin {this, "maxTrackZ0Sin", 1.0, "Z0sin cut config for the input tracks to RNN"}
Gaudi::Property< double > m_minTrackLeptonDR {this, "minTrackLeptonDR", 1.0e-6, "Delta R between lepton and track cut config for the input tracks to RNN"}
Gaudi::Property< double > m_maxTrackLeptonDR {this, "maxTrackLeptonDR", 0.4, "Delta R between lepton and track cut config for the input tracks to RNN"}
Gaudi::Property< double > m_maxLepTrackJetDR {this, "maxLepTrackJetDR", 0.4, "Maximum distance between lepton and track jet for track jet matching"}
Gaudi::Property< double > m_maxTrackSharedSiHits {this, "maxTrackSharedSiHits", 1.5, "track shared si hits cut config for the input tracks to RNN"}
Gaudi::Property< unsigned > m_minTrackSiHits {this, "minTrackSiHits", 6.5, "track silicon detector hits cut config for the input tracks to RNN"}
Gaudi::Property< unsigned > m_maxTrackSiHoles {this, "maxTrackSiHoles", 2.5, "track holes cut config for the input tracks to RNN"}
Gaudi::Property< unsigned > m_maxTrackPixHoles {this, "maxTrackPixHoles", 1.5, "track pixel holes cut config for the input tracks to RNN"}
Gaudi::Property< bool > m_debug {this, "debug", false, "debug statement"}
Gaudi::Property< bool > m_printTime {this, "printTime", false, "print running time, for debug"}
ToolHandle< IRNNToolm_toolRNN
ServiceHandle< ITHistSvc > m_histSvc
SG::ReadHandleKey< xAOD::IParticleContainerm_inputContainerLeptonKey
SG::ReadHandleKey< xAOD::TrackParticleContainerm_inputContainerTrackKey
SG::ReadHandleKey< xAOD::JetContainerm_inputContainerTrackJetKey
SG::ReadHandleKey< xAOD::VertexContainerm_inputContainerPrimaryVerticesKey
SG::ReadHandleKey< xAOD::EventInfom_eventHandleKey
TStopwatch m_timerEvent
int m_countEvent
std::map< std::string, TH1 * > m_hists
SG::WriteDecorHandleKeyArray< xAOD::IParticleContainerm_decorHandleKeys { this, "DecorHandleKeys", {} }
std::unordered_map< std::string, size_t > m_decorNameMap

Protected Member Functions

virtual bool isReEntrant () const override final
 Legacy algorithms are not thread-safe.
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

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 50 of file DecoratePromptLeptonRNN.h.

Member Typedef Documentation

◆ decoratorFloatH_t

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ DecoratePromptLeptonRNN()

Prompt::DecoratePromptLeptonRNN::DecoratePromptLeptonRNN ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 20 of file DecoratePromptLeptonRNN.cxx.

20 :
21 AthAlgorithm(name, pSvcLocator),
22 m_histSvc ("THistSvc/THistSvc", name),
24{}
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.

Member Function Documentation

◆ compDummy()

bool Prompt::DecoratePromptLeptonRNN::compDummy ( const xAOD::IParticle & particle,
std::vector< decoratorFloatH_t > & decors ) const

Definition at line 425 of file DecoratePromptLeptonRNN.cxx.

427{
428 //
429 // Fill dummy values for RNN outputs
430 //
431 for (auto& d : decors) {
432 d(particle) = -1.0;
433 }
434
435 return true;
436}

◆ compScore()

bool Prompt::DecoratePromptLeptonRNN::compScore ( const xAOD::IParticle & particle,
const std::vector< Prompt::VarHolder > & tracks,
std::vector< decoratorFloatH_t > & decors )

Definition at line 364 of file DecoratePromptLeptonRNN.cxx.

367{
368 //
369 // Call the RNN tool to get the RNN prediction for the leptons and decorate the lepton with those RNN scores.
370 //
371 ATH_MSG_DEBUG("compScore - number of tracks: " << tracks.size());
372
373 for(const Prompt::VarHolder &o: tracks) {
374 ATH_MSG_DEBUG("compScore - track: LepTrackDR = " << o.getVar(Def::LepTrackDR)
375 << ", TrackJetDR = " << o.getVar(Def::TrackJetDR)
376 << ", D0Sig = " << o.getVar(Def::D0Sig)
377 << ", Z0Sin = " << o.getVar(Def::Z0Sin)
378 << ", NumberOfPIXHits = " << o.getVar(Def::NumberOfPIXHits)
379 << ", NumberOfSCTHits = " << o.getVar(Def::NumberOfSCTHits)
380 << ", PtFrac = " << o.getVar(Def::TrackPtOverTrackJetPt) );
381 }
382
383 const std::map<std::string, double> results = m_toolRNN->computeRNNOutput(tracks);
384
385 for(const std::pair<const std::string, double>& v: results) {
386 //
387 // Decorate muon
388 //
389
390 ATH_MSG_DEBUG("DecoratePromptLeptonRNN compScore - " << v.first << " = " << v.second );
391
392 auto dit = m_decorNameMap.find (v.first);
393
394 if(dit != m_decorNameMap.end()) {
395 decors.at(dit->second)(particle) = v.second;
396 }
397 else {
398 ATH_MSG_WARNING("CompScore - unknown output label=\"" << v.first << "\"");
399 }
400
401 if(m_debug) {
402 std::map<std::string, TH1*>::iterator hit = m_hists.find(v.first);
403
404 if(hit == m_hists.end()) {
405 TH1* h = 0;
406
407 StatusCode hist_status = makeHist(h, v.first, 100, 0.0, 1.0);
408 if (hist_status != StatusCode::SUCCESS){
409 ATH_MSG_WARNING("DecoratePromptLeptonRNN compScore - failed to make hist");
410 }
411
412 hit = m_hists.insert(std::map<std::string, TH1*>::value_type(v.first, h)).first;
413 }
414
415 if(hit->second) {
416 hit->second->Fill(v.second);
417 }
418 }
419 }
420
421 return true;
422}
#define ATH_MSG_WARNING(x)
#define ATH_MSG_DEBUG(x)
std::map< std::string, TH1 * > m_hists
StatusCode makeHist(TH1 *&h, const std::string &key, int nbin, double xmin, double xmax)
std::unordered_map< std::string, size_t > m_decorNameMap
::StatusCode StatusCode
StatusCode definition for legacy code.
@ NumberOfPIXHits
Definition VarHolder.h:48
@ NumberOfSCTHits
Definition VarHolder.h:49
@ TrackPtOverTrackJetPt
Definition VarHolder.h:55
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses

◆ 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 Prompt::DecoratePromptLeptonRNN::execute ( const EventContext & ctx)
overridevirtual

Execute method.

Implements AthAlgorithm.

Definition at line 70 of file DecoratePromptLeptonRNN.cxx.

71{
72 //
73 // Process current event
74 //
75 TimerScopeHelper timer(m_timerEvent);
76
77
78 ATH_MSG_DEBUG("execute() - begin...");
79
81
82 //
83 // Retrieve object containers and event info
84 //
85 SG::ReadHandle<xAOD::IParticleContainer> h_leptons (m_inputContainerLeptonKey, ctx);
86 SG::ReadHandle<xAOD::TrackParticleContainer> h_tracks (m_inputContainerTrackKey, ctx);
87 SG::ReadHandle<xAOD::JetContainer> h_trackJets (m_inputContainerTrackJetKey, ctx);
88 SG::ReadHandle<xAOD::VertexContainer> h_vertices (m_inputContainerPrimaryVerticesKey, ctx);
89
90 SG::ReadHandle<xAOD::EventInfo> event_handle (m_eventHandleKey, ctx);
91
92 ATH_MSG_DEBUG("Size of LeptonContainer: " << h_leptons->size());
93
94 std::vector<decoratorFloatH_t> decors;
95 decors.reserve (m_decorHandleKeys.size());
96 for (const SG::WriteDecorHandleKey<xAOD::IParticleContainer>& k : m_decorHandleKeys) {
97 decors.emplace_back (k, ctx);
98 }
99
100 //
101 // Find default Primary Vertex
102 //
103 const xAOD::Vertex *primaryVertex = nullptr;
104
105 for(const xAOD::Vertex *vertex: *h_vertices) {
106 if(vertex->vertexType() == xAOD::VxType::PriVtx) {
107 primaryVertex = vertex;
108 break;
109 }
110 }
111
112 //
113 // Collect tracks
114 //
115 for(const xAOD::IParticle *lepton: *h_leptons) {
116 //
117 // Select lepton track
118 //
119 const xAOD::TrackParticle *trackLep = nullptr;
120 const xAOD::Electron *elec = dynamic_cast<const xAOD::Electron*>(lepton);
121 const xAOD::Muon *muon = dynamic_cast<const xAOD::Muon *>(lepton);
122
123 if(elec) {
124 const xAOD::TrackParticle *bestmatchedGSFElTrack = elec->trackParticle(0);
125 if(bestmatchedGSFElTrack) {
126 trackLep = xAOD::EgammaHelpers::getOriginalTrackParticleFromGSF(bestmatchedGSFElTrack);
127 }
128 }
129 else if (muon) {
130 trackLep = findMuonTrack(muon);
131 }
132 else {
133 ATH_MSG_WARNING("execute - failed to find electron or muon: should never happen!");
134 }
135
136 //
137 // Find closest track jet
138 //
139 const xAOD::Jet *trackJet = findClosestTrackJet(trackLep, *h_trackJets);
140
141 if(!trackLep || !trackJet) {
142 compDummy(*lepton, decors);
143 continue;
144 }
145
146 //
147 // Select tracks within cone around lepton track.
148 //
149 std::vector<Prompt::VarHolder > select_tracks;
150
151 Prompt::VarHolder lepton_obj;
152
153 if(!prepTrackObject(lepton_obj, *trackLep, *trackLep, *trackJet, *primaryVertex, *event_handle)) {
154 continue;
155 }
156
157 //
158 // Add lepton track as one of the cone tracks.
159 //
160 select_tracks.push_back(lepton_obj);
161
162 for(const xAOD::TrackParticle *track: *h_tracks) {
163
164 if(!track) {
165 ATH_MSG_WARNING("Prompt::DecoratePromptLeptonRNN::execute - skip null track pointer - should never happen");
166 continue;
167 }
168
169 Prompt::VarHolder track_obj;
170
171 if(!prepTrackObject(track_obj, *track, *trackLep, *trackJet, *primaryVertex, *event_handle)) {
172 continue;
173 }
174
175 if(passTrack(track_obj)) {
176 select_tracks.push_back(track_obj);
177
178 ATH_MSG_DEBUG("Prompt::DecoratePromptLeptonRNN::execute - passed track pT= " << track->pt());
179 }
180 }
181
182 //
183 // Sort tracks by DR distance to lepton
184 //
185 std::sort(select_tracks.begin(), select_tracks.end(), Prompt::SortObjectByVar(Def::LepTrackDR, msg()));
186
187 //
188 // Compute RNN
189 //
190 compScore(*lepton, select_tracks, decors);
191
192 ATH_MSG_DEBUG("DecoratePromptLeptonRNN::CompScore - " << std::endl
193 << "lepton pT= " << lepton->pt()
194 << ", number of tracks: " << select_tracks.size());
195 }
196
197 return StatusCode::SUCCESS;
198}
SG::ReadHandleKey< xAOD::JetContainer > m_inputContainerTrackJetKey
const xAOD::TrackParticle * findMuonTrack(const xAOD::Muon *muon)
bool compDummy(const xAOD::IParticle &particle, std::vector< decoratorFloatH_t > &decors) const
const xAOD::Jet * findClosestTrackJet(const xAOD::TrackParticle *particle, const xAOD::JetContainer &trackJets)
SG::ReadHandleKey< xAOD::IParticleContainer > m_inputContainerLeptonKey
SG::WriteDecorHandleKeyArray< xAOD::IParticleContainer > m_decorHandleKeys
SG::ReadHandleKey< xAOD::VertexContainer > m_inputContainerPrimaryVerticesKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputContainerTrackKey
bool compScore(const xAOD::IParticle &particle, const std::vector< Prompt::VarHolder > &tracks, std::vector< decoratorFloatH_t > &decors)
SG::ReadHandleKey< xAOD::EventInfo > m_eventHandleKey
bool prepTrackObject(Prompt::VarHolder &p, const xAOD::TrackParticle &track, const xAOD::TrackParticle &lepton, const xAOD::Jet &trackJet, const xAOD::Vertex &priVtx, const xAOD::EventInfo event)
const xAOD::TrackParticle * trackParticle(size_t index=0) const
Pointer to the xAOD::TrackParticle/s that match the electron candidate.
timer(name, disabled=False)
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
const xAOD::TrackParticle * getOriginalTrackParticleFromGSF(const xAOD::TrackParticle *trkPar)
Helper function for getting the "Original" Track Particle (i.e before GSF) via the GSF Track Particle...
@ PriVtx
Primary vertex.
Jet_v1 Jet
Definition of the current "jet version".
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Vertex_v1 Vertex
Define the latest version of the vertex class.
Muon_v1 Muon
Reference the current persistent version:
Electron_v1 Electron
Definition of the current "egamma version".

◆ 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 & AthCommonAlgorithm< 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 89 of file AthCommonAlgorithm.cxx.

54{
55 // If we didn't find any symlinks to add, just return the collection
56 // from the base class. Otherwise, return the extended collection.
57 if (!m_extendedExtraObjects.empty()) {
59 }
61}
Common base class for algorithms.

◆ filterPassed()

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

Get filter decision:

Definition at line 93 of file AthCommonAlgorithm.h.

93 {
94 return execState( ctx ).filterPassed();
95 }
virtual bool filterPassed(const EventContext &ctx) const
Get filter decision:

◆ finalize()

StatusCode Prompt::DecoratePromptLeptonRNN::finalize ( )
overridevirtual

Definition at line 201 of file DecoratePromptLeptonRNN.cxx.

202{
203 //
204 // Finalize output
205 //
206 if(m_printTime) {
207 //
208 // Print full time stopwatch
209 //
210 ATH_MSG_INFO("DecoratePromptLeptonRNN - total time: " << PrintResetStopWatch(m_timerEvent));
211 ATH_MSG_INFO("DecoratePromptLeptonRNN - processed " << m_countEvent << " events.");
212 }
213
214 return StatusCode::SUCCESS;
215}
#define ATH_MSG_INFO(x)
std::string PrintResetStopWatch(TStopwatch &watch)

◆ findClosestTrackJet()

const xAOD::Jet * Prompt::DecoratePromptLeptonRNN::findClosestTrackJet ( const xAOD::TrackParticle * particle,
const xAOD::JetContainer & trackJets )

Definition at line 229 of file DecoratePromptLeptonRNN.cxx.

231{
232 //
233 // Find track jet closest to IParticle and within fixed cone
234 //
235 if(!particle) {
236 return 0;
237 }
238
239 const xAOD::Jet *trackJet = 0;
240 double currTrackJetDR = -1.0;
241
242 //
243 // Select track jet within cone around muon
244 //
245 for(const xAOD::Jet *jet: trackJets) {
246 const double dr = particle->p4().DeltaR(jet->p4());
247
248 if(currTrackJetDR < 0.0 || dr < currTrackJetDR) {
249 trackJet = jet;
250 currTrackJetDR = dr;
251 }
252 }
253
254 if(trackJet && currTrackJetDR < m_maxLepTrackJetDR) {
255 return trackJet;
256 }
257
258 return 0;
259}
Gaudi::Property< double > m_maxLepTrackJetDR

◆ findMuonTrack()

const xAOD::TrackParticle * Prompt::DecoratePromptLeptonRNN::findMuonTrack ( const xAOD::Muon * muon)

Definition at line 218 of file DecoratePromptLeptonRNN.cxx.

218 {
219 //
220 // Process muon - return true if all information present for RNN
221 //
222 ATH_MSG_DEBUG("muon pT=" << muon->pt() << " quality=" << muon->quality());
223
224 return muon->muonType() == xAOD::Muon::MuonType::Combined ?
225 muon->trackParticle(xAOD::Muon::TrackParticleType::InnerDetectorTrackParticle) : nullptr;
226 }

◆ initialize()

StatusCode Prompt::DecoratePromptLeptonRNN::initialize ( )
overridevirtual

Definition at line 27 of file DecoratePromptLeptonRNN.cxx.

28{
29 ATH_MSG_DEBUG("Initializing DecoratePromptLeptonRNN...");
30
31 // Initialize read/write handles
36
37 ATH_CHECK(m_eventHandleKey.initialize());
38
39 //
40 // Initialize tools and services
41 //
42 ATH_CHECK( m_histSvc.retrieve() );
43
44 m_decorHandleKeys.clear();
45 for(const std::string &label: m_toolRNN->getOutputLabels()) {
46 const std::string key = m_decorationPrefixRNN + label;
47
48 ATH_MSG_DEBUG("Add output RNN label: \"" << key << "\"");
49
50 m_decorNameMap.try_emplace (label, m_decorHandleKeys.size());
52 }
53 ATH_CHECK(m_decorHandleKeys.initialize());
54
55 ATH_MSG_DEBUG("inputContainerMuon=\"" << m_inputContainerLeptonKey << "\"");
56
57 //
58 // Instantiate Muon quality accessors
59 //
60
61 m_timerEvent.Reset();
62
63 ATH_MSG_DEBUG("DecoratePromptLeptonRNN initialized successfully.");
64
65 return StatusCode::SUCCESS;
66
67}
#define ATH_CHECK
Evaluate an expression and check for errors.
Gaudi::Property< std::string > m_decorationPrefixRNN
std::string label(const std::string &format, int i)
Definition label.h:19
std::string makeContDecorKey(const std::string &cont, const std::string &decor)
Make a StoreGate key from container and decoration name.

◆ 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()

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::isClonable ( ) const
inlineoverridevirtualinherited

Specify if the algorithm is clonable.

Only relevant for non-reentrant algorithms. Actual number of clones needs to be set via the "Cardinality" property.

Reimplemented in AFP_DigiTop, AlgB, AlgT, BCM_Digitization, CscDigitBuilder, CscDigitToCscRDO, G4AtlasAlg, G4RunAlg, HGTD_Digitization, HiveAlgBase, InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ISF::SimKernelMT, ITk::StripDigitization, ITkPixelCablingAlg, ITkStripCablingAlg, LArHitEMapMaker, LArTTL1Maker, LUCID_DigiTop, LVL1::L1TopoSimulation, MergeCalibHits, MergeGenericMuonSimHitColl, MergeHijingPars, MergeMcEventCollection, MergeTrackRecordCollection, MergeTruthJets, MergeTruthParticles, MuonDigitizer, PileUpMTAlg, PixelDigitization, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_Digitization, SCT_FlaggedConditionTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_PrepDataToxAOD, SCT_RawDataToxAOD, SCT_ReadCalibChipDataTestAlg, SCT_ReadCalibDataTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_SiliconConditionsTestAlg, SCT_StripVetoTestAlg, SCT_TdaqEnabledTestAlg, SCT_TestCablingAlg, SCTEventFlagWriter, SCTRawDataProvider, SCTSiLorentzAngleTestAlg, SCTSiPropertiesTestAlg, SGInputLoader, Simulation::BeamEffectsAlg, TileHitVecToCnt, TileMuonFitter, TilePulseForTileMuonReceiver, TileRawChannelMaker, TRTDigitization, and ZDC_DigiTop.

Definition at line 68 of file AthCommonAlgorithm.h.

68 {
69 return true;
70 }

◆ isReEntrant()

virtual bool AthAlgorithm::isReEntrant ( ) const
inlinefinaloverrideprotectedvirtualinherited

Legacy algorithms are not thread-safe.

Definition at line 47 of file AthAlgorithm.h.

47{ return false; }

◆ makeHist()

StatusCode Prompt::DecoratePromptLeptonRNN::makeHist ( TH1 *& h,
const std::string & key,
int nbin,
double xmin,
double xmax )

Definition at line 439 of file DecoratePromptLeptonRNN.cxx.

440{
441 //
442 // Initiliase histogram pointer. If configured to run in validation mode, then create and register histogram
443 //
444 h = 0;
445
446 if(m_outputStream.empty() || key.empty()) {
447 return StatusCode::SUCCESS;
448 }
449
450 const std::string hname = name() + "_" + key;
451 const std::string hist_key = "/"+m_outputStream+"/"+hname;
452
453 h = new TH1D(hname.c_str(), hname.c_str(), nbin, xmin, xmax);
454 h->SetDirectory(0);
455
456 return m_histSvc->regHist(hist_key, h);
457}
Gaudi::Property< std::string > m_outputStream
double xmax
Definition listroot.cxx:61
double xmin
Definition listroot.cxx:60

◆ 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.

◆ passTrack()

bool Prompt::DecoratePromptLeptonRNN::passTrack ( Prompt::VarHolder & p)

Definition at line 337 of file DecoratePromptLeptonRNN.cxx.

338{
339 //
340 // Select cone tracks
341 //
342 if(p.getVar(Def::LepTrackDR) < m_minTrackLeptonDR) return false;
343 if(p.getVar(Def::LepTrackDR) > m_maxTrackLeptonDR) return false;
344
345 //
346 // Kinematic track selection
347 //
348 if(p.getVar(Def::Pt) < m_minTrackpT) return false;
349 if(p.getVar(Def::AbsEta) > m_maxTrackEta) return false;
350 if(std::fabs(p.getVar(Def::Z0Sin)) > m_maxTrackZ0Sin) return false;
351
352 //
353 // Hit quality track selection
354 //
355 if(p.getVar(Def::NumberOfSiHits) < m_minTrackSiHits) return false;
356 if(p.getVar(Def::NumberOfSharedSiHits) > m_maxTrackSharedSiHits) return false;
357 if(p.getVar(Def::NumberOfSiHoles) > m_maxTrackSiHoles) return false;
358 if(p.getVar(Def::NumberOfPixelHoles) > m_maxTrackPixHoles) return false;
359
360 return true;
361}
Gaudi::Property< double > m_maxTrackEta
Gaudi::Property< unsigned > m_minTrackSiHits
Gaudi::Property< unsigned > m_maxTrackSiHoles
Gaudi::Property< double > m_maxTrackLeptonDR
Gaudi::Property< double > m_maxTrackZ0Sin
Gaudi::Property< double > m_maxTrackSharedSiHits
Gaudi::Property< unsigned > m_maxTrackPixHoles
Gaudi::Property< double > m_minTrackLeptonDR
Gaudi::Property< double > m_minTrackpT
@ NumberOfPixelHoles
Definition VarHolder.h:53
@ NumberOfSharedSiHits
Definition VarHolder.h:51
@ NumberOfSiHoles
Definition VarHolder.h:52

◆ prepTrackObject()

bool Prompt::DecoratePromptLeptonRNN::prepTrackObject ( Prompt::VarHolder & p,
const xAOD::TrackParticle & track,
const xAOD::TrackParticle & lepton,
const xAOD::Jet & trackJet,
const xAOD::Vertex & priVtx,
const xAOD::EventInfo event )

Definition at line 262 of file DecoratePromptLeptonRNN.cxx.

270{
271 //
272 // Add xAOD::TrackParticle variables to the track object VarHolder
273 //
280
281 if(!(track.summaryValue(numberOfPixelHits, xAOD::numberOfPixelHits))) return false;
282 if(!(track.summaryValue(numberOfSCTHits, xAOD::numberOfSCTHits))) return false;
283 if(!(track.summaryValue(numberOfPixelHoles, xAOD::numberOfPixelHoles))) return false;
284 if(!(track.summaryValue(numberOfSCTHoles, xAOD::numberOfSCTHoles))) return false;
285 if(!(track.summaryValue(numberOfPixelSharedHits, xAOD::numberOfPixelSharedHits))) return false;
286 if(!(track.summaryValue(numberOfSCTSharedHits, xAOD::numberOfSCTSharedHits))) return false;
287
288 const uint8_t NSiHits = numberOfPixelHits + numberOfSCTHits;
290 const float NSiShHits = float(numberOfPixelSharedHits) + float(numberOfSCTSharedHits)/2.0;
291
292 p.addVar(Def::Pt, track.pt());
293 p.addVar(Def::AbsEta, std::fabs(track.eta()));
294 p.addVar(Def::NumberOfPIXHits, numberOfPixelHits);
295 p.addVar(Def::NumberOfSCTHits, numberOfSCTHits);
296 p.addVar(Def::NumberOfSiHits, NSiHits);
297 p.addVar(Def::NumberOfSharedSiHits, NSiShHits);
298 p.addVar(Def::NumberOfSiHoles, NSiHoles);
299 p.addVar(Def::NumberOfPixelHoles, numberOfPixelHoles);
300
301 //
302 // Add lepton - jet variables to VarHolder
303 //
304 double PtFrac = -99.;
305
306 if(track.pt() > 0.0 && trackJet.pt() > 0.0) {
307 PtFrac = track.pt() / trackJet.pt();
308 }
309
310 p.addVar(Def::TrackPtOverTrackJetPt, PtFrac);
311 p.addVar(Def::TrackJetDR, track.p4().DeltaR(trackJet.p4()));
312 p.addVar(Def::LepTrackDR, track.p4().DeltaR(lepton.p4()));
313
314 //
315 // Add Impact Parameters
316 //
317 double d0_significance = -99.;
318 double Z0Sin = 0.0;
319
320 if(track.definingParametersCovMatrixVec().size() > 0 && track.definingParametersCovMatrixVec().at(0) > 0.0) {
321 d0_significance = xAOD::TrackingHelpers::d0significance(&track,
322 event.beamPosSigmaX(),
323 event.beamPosSigmaY(),
324 event.beamPosSigmaXY());
325 }
326
327 const double deltaZ0 = track.z0() + track.vz() - priVtx.z();
328 Z0Sin = deltaZ0*std::sin(track.theta());
329
330 p.addVar(Def::Z0Sin, Z0Sin);
331 p.addVar(Def::D0Sig, d0_significance);
332
333 return true;
334}
virtual FourMom_t p4() const
The full 4-momentum of the particle.
Definition Jet_v1.cxx:71
virtual double pt() const
The transverse momentum ( ) of the particle.
Definition Jet_v1.cxx:44
virtual FourMom_t p4() const override final
The full 4-momentum of the particle.
float z() const
Returns the z position.
double d0significance(const xAOD::TrackParticle *tp, double d0_uncert_beam_spot_2)
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
@ numberOfSCTHits
number of hits in SCT [unit8_t].
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
@ numberOfPixelSharedHits
number of Pixel all-layer hits shared by several tracks [unit8_t].
@ numberOfSCTSharedHits
number of SCT hits shared by several tracks [unit8_t].
@ numberOfSCTHoles
number of SCT holes [unit8_t].

◆ 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 AthCommonAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Set filter decision:

Reimplemented in AthFilterAlgorithm.

Definition at line 99 of file AthCommonAlgorithm.h.

99 {
101 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const
Set filter decision:

◆ sysExecute()

StatusCode AthCommonAlgorithm< 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.

Reimplemented in AthAnalysisAlgorithm.

Definition at line 80 of file AthCommonAlgorithm.cxx.

41{
42 return BaseAlg::sysExecute (ctx);
43}

◆ sysInitialize()

StatusCode AthCommonAlgorithm< 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 AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, HypoBase, InputMakerBase, and PyAthena::Alg.

Definition at line 60 of file AthCommonAlgorithm.cxx.

71 {
73
74 if (sc.isFailure()) {
75 return sc;
76 }
77
78 ServiceHandle<ICondSvc> cs("CondSvc",name());
79 for (auto h : outputHandles()) {
80 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
81 // do this inside the loop so we don't create the CondSvc until needed
82 if ( cs.retrieve().isFailure() ) {
83 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
85 }
86 if (cs->regHandle(this,*h).isFailure()) {
88 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
89 << " with CondSvc");
90 }
91 }
92 }
93 return sc;
94}
#define ATH_MSG_ERROR(x)
virtual StatusCode sysInitialize() override
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_countEvent

int Prompt::DecoratePromptLeptonRNN::m_countEvent

Definition at line 138 of file DecoratePromptLeptonRNN.h.

◆ m_debug

Gaudi::Property<bool> Prompt::DecoratePromptLeptonRNN::m_debug {this, "debug", false, "debug statement"}

Definition at line 107 of file DecoratePromptLeptonRNN.h.

107{this, "debug", false, "debug statement"};

◆ m_decorationPrefixRNN

Gaudi::Property<std::string> Prompt::DecoratePromptLeptonRNN::m_decorationPrefixRNN {this, "decorationPrefixRNN", "", "Prefix of the name for the decorator of RNN to the lepton"}

Definition at line 92 of file DecoratePromptLeptonRNN.h.

92{this, "decorationPrefixRNN", "", "Prefix of the name for the decorator of RNN to the lepton"};

◆ m_decorHandleKeys

SG::WriteDecorHandleKeyArray<xAOD::IParticleContainer> Prompt::DecoratePromptLeptonRNN::m_decorHandleKeys { this, "DecorHandleKeys", {} }

Definition at line 143 of file DecoratePromptLeptonRNN.h.

144{ this, "DecorHandleKeys", {} };

◆ m_decorNameMap

std::unordered_map<std::string, size_t> Prompt::DecoratePromptLeptonRNN::m_decorNameMap

Definition at line 145 of file DecoratePromptLeptonRNN.h.

◆ 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_eventHandleKey

SG::ReadHandleKey<xAOD::EventInfo> Prompt::DecoratePromptLeptonRNN::m_eventHandleKey
Initial value:
{
this, "EventHandleKey", "EventInfo"
}

Definition at line 132 of file DecoratePromptLeptonRNN.h.

132 {
133 this, "EventHandleKey", "EventInfo"
134 };

◆ 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 AthCommonAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

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

Empty if no symlinks were found.

Definition at line 108 of file AthCommonAlgorithm.h.

◆ m_hists

std::map<std::string, TH1*> Prompt::DecoratePromptLeptonRNN::m_hists

Definition at line 140 of file DecoratePromptLeptonRNN.h.

◆ m_histSvc

ServiceHandle<ITHistSvc> Prompt::DecoratePromptLeptonRNN::m_histSvc

Definition at line 115 of file DecoratePromptLeptonRNN.h.

◆ m_inputContainerLeptonKey

SG::ReadHandleKey<xAOD::IParticleContainer> Prompt::DecoratePromptLeptonRNN::m_inputContainerLeptonKey
Initial value:
{
this, "inputContainerLepton", "",
"Container's name of the lepton that you want to decorate"
}

Definition at line 118 of file DecoratePromptLeptonRNN.h.

118 {
119 this, "inputContainerLepton", "",
120 "Container's name of the lepton that you want to decorate"
121 };

◆ m_inputContainerPrimaryVerticesKey

SG::ReadHandleKey<xAOD::VertexContainer> Prompt::DecoratePromptLeptonRNN::m_inputContainerPrimaryVerticesKey
Initial value:
{
this, "inputContainerPrimaryVertices", "", "Primary vertex container name"
}

Definition at line 128 of file DecoratePromptLeptonRNN.h.

128 {
129 this, "inputContainerPrimaryVertices", "", "Primary vertex container name"
130 };

◆ m_inputContainerTrackJetKey

SG::ReadHandleKey<xAOD::JetContainer> Prompt::DecoratePromptLeptonRNN::m_inputContainerTrackJetKey
Initial value:
{
this, "inputContainerTrackJet", "", "Track Jet container name"
}

Definition at line 125 of file DecoratePromptLeptonRNN.h.

125 {
126 this, "inputContainerTrackJet", "", "Track Jet container name"
127 };

◆ m_inputContainerTrackKey

SG::ReadHandleKey<xAOD::TrackParticleContainer> Prompt::DecoratePromptLeptonRNN::m_inputContainerTrackKey
Initial value:
{
this, "inputContainerTrack", "", "Track container name"
}

Definition at line 122 of file DecoratePromptLeptonRNN.h.

122 {
123 this, "inputContainerTrack", "", "Track container name"
124 };

◆ m_maxLepTrackJetDR

Gaudi::Property<double> Prompt::DecoratePromptLeptonRNN::m_maxLepTrackJetDR {this, "maxLepTrackJetDR", 0.4, "Maximum distance between lepton and track jet for track jet matching"}

Definition at line 100 of file DecoratePromptLeptonRNN.h.

100{this, "maxLepTrackJetDR", 0.4, "Maximum distance between lepton and track jet for track jet matching"};

◆ m_maxTrackEta

Gaudi::Property<double> Prompt::DecoratePromptLeptonRNN::m_maxTrackEta {this, "maxTrackEta", 2.5, "abs(eta) cut config for the input tracks to RNN"}

Definition at line 95 of file DecoratePromptLeptonRNN.h.

95{this, "maxTrackEta", 2.5, "abs(eta) cut config for the input tracks to RNN"};

◆ m_maxTrackLeptonDR

Gaudi::Property<double> Prompt::DecoratePromptLeptonRNN::m_maxTrackLeptonDR {this, "maxTrackLeptonDR", 0.4, "Delta R between lepton and track cut config for the input tracks to RNN"}

Definition at line 99 of file DecoratePromptLeptonRNN.h.

99{this, "maxTrackLeptonDR", 0.4, "Delta R between lepton and track cut config for the input tracks to RNN"};

◆ m_maxTrackPixHoles

Gaudi::Property<unsigned> Prompt::DecoratePromptLeptonRNN::m_maxTrackPixHoles {this, "maxTrackPixHoles", 1.5, "track pixel holes cut config for the input tracks to RNN"}

Definition at line 105 of file DecoratePromptLeptonRNN.h.

105{this, "maxTrackPixHoles", 1.5, "track pixel holes cut config for the input tracks to RNN"};

◆ m_maxTrackSharedSiHits

Gaudi::Property<double> Prompt::DecoratePromptLeptonRNN::m_maxTrackSharedSiHits {this, "maxTrackSharedSiHits", 1.5, "track shared si hits cut config for the input tracks to RNN"}

Definition at line 102 of file DecoratePromptLeptonRNN.h.

102{this, "maxTrackSharedSiHits", 1.5, "track shared si hits cut config for the input tracks to RNN"};

◆ m_maxTrackSiHoles

Gaudi::Property<unsigned> Prompt::DecoratePromptLeptonRNN::m_maxTrackSiHoles {this, "maxTrackSiHoles", 2.5, "track holes cut config for the input tracks to RNN"}

Definition at line 104 of file DecoratePromptLeptonRNN.h.

104{this, "maxTrackSiHoles", 2.5, "track holes cut config for the input tracks to RNN"};

◆ m_maxTrackZ0Sin

Gaudi::Property<double> Prompt::DecoratePromptLeptonRNN::m_maxTrackZ0Sin {this, "maxTrackZ0Sin", 1.0, "Z0sin cut config for the input tracks to RNN"}

Definition at line 96 of file DecoratePromptLeptonRNN.h.

96{this, "maxTrackZ0Sin", 1.0, "Z0sin cut config for the input tracks to RNN"};

◆ m_minTrackLeptonDR

Gaudi::Property<double> Prompt::DecoratePromptLeptonRNN::m_minTrackLeptonDR {this, "minTrackLeptonDR", 1.0e-6, "Delta R between lepton and track cut config for the input tracks to RNN"}

Definition at line 98 of file DecoratePromptLeptonRNN.h.

98{this, "minTrackLeptonDR", 1.0e-6, "Delta R between lepton and track cut config for the input tracks to RNN"};

◆ m_minTrackpT

Gaudi::Property<double> Prompt::DecoratePromptLeptonRNN::m_minTrackpT {this, "minTrackpT", 500.0, "pT cut config for the input tracks to RNN"}

Definition at line 94 of file DecoratePromptLeptonRNN.h.

94{this, "minTrackpT", 500.0, "pT cut config for the input tracks to RNN"};

◆ m_minTrackSiHits

Gaudi::Property<unsigned> Prompt::DecoratePromptLeptonRNN::m_minTrackSiHits {this, "minTrackSiHits", 6.5, "track silicon detector hits cut config for the input tracks to RNN"}

Definition at line 103 of file DecoratePromptLeptonRNN.h.

103{this, "minTrackSiHits", 6.5, "track silicon detector hits cut config for the input tracks to RNN"};

◆ m_outputStream

Gaudi::Property<std::string> Prompt::DecoratePromptLeptonRNN::m_outputStream {this, "outputStream", "", "Path of the ROOT output directory of the histograms for RNN debug"}

Definition at line 91 of file DecoratePromptLeptonRNN.h.

91{this, "outputStream", "", "Path of the ROOT output directory of the histograms for RNN debug"};

◆ m_printTime

Gaudi::Property<bool> Prompt::DecoratePromptLeptonRNN::m_printTime {this, "printTime", false, "print running time, for debug"}

Definition at line 108 of file DecoratePromptLeptonRNN.h.

108{this, "printTime", false, "print running time, for debug"};

◆ m_timerEvent

TStopwatch Prompt::DecoratePromptLeptonRNN::m_timerEvent

Definition at line 137 of file DecoratePromptLeptonRNN.h.

◆ m_toolRNN

ToolHandle<IRNNTool> Prompt::DecoratePromptLeptonRNN::m_toolRNN
Initial value:
{
this, "toolRNN", "defaultToolRNN", "Dedicated tool for RNN prediction"
}

Definition at line 111 of file DecoratePromptLeptonRNN.h.

111 {
112 this, "toolRNN", "defaultToolRNN", "Dedicated tool for RNN prediction"
113 };

◆ 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: