ATLAS Offline Software
Loading...
Searching...
No Matches
TauTrackFinder Class Reference

Associate tracks to the tau candidate. More...

#include <TauTrackFinder.h>

Inheritance diagram for TauTrackFinder:
Collaboration diagram for TauTrackFinder:

Public Types

enum  TauTrackType { TauTrackCore = 0 , TauTrackWide = 1 , TauTrackOther = 2 , NotTauTrack = 3 }
 Enumerator defining type of tau track. More...

Public Member Functions

 TauTrackFinder (const std::string &name)
 Constructor and Destructor.
 ASG_TOOL_CLASS2 (TauTrackFinder, TauRecToolBase, ITauToolBase)
 ~TauTrackFinder ()
virtual StatusCode initialize () override
 Algorithm functions.
virtual StatusCode executeTrackFinder (xAOD::TauJet &pTau, xAOD::TauTrackContainer &tauTrackCon) const override
virtual StatusCode eventInitialize () override
 Event initializer - called at the beginning of each event.
virtual StatusCode execute (xAOD::TauJet &pTau) const override
 Execute - called for each tau candidate.
virtual StatusCode executePi0CreateROI (xAOD::TauJet &pTau, CaloConstCellContainer &caloCellContainer, boost::dynamic_bitset<> &map) const override
virtual StatusCode executeVertexFinder (xAOD::TauJet &pTau, const xAOD::VertexContainer *vertexContainer=nullptr) const override
virtual StatusCode executeTrackClassifier (xAOD::TauJet &pTau, xAOD::TauTrackContainer &tauTrackContainer) const override
virtual StatusCode executeShotFinder (xAOD::TauJet &pTau, xAOD::CaloClusterContainer &shotClusterContainer, xAOD::PFOContainer &PFOContainer) const override
virtual StatusCode executePi0ClusterCreator (xAOD::TauJet &pTau, xAOD::PFOContainer &neutralPFOContainer, xAOD::PFOContainer &hadronicPFOContainer, const xAOD::CaloClusterContainer &pCaloClusterContainer) const override
virtual StatusCode executeVertexVariables (xAOD::TauJet &pTau, xAOD::VertexContainer &vertexContainer) const override
virtual StatusCode executePi0ClusterScaler (xAOD::TauJet &pTau, xAOD::PFOContainer &neutralPFOContainer, xAOD::PFOContainer &chargedPFOContainer) const override
virtual StatusCode executePi0nPFO (xAOD::TauJet &pTau, xAOD::PFOContainer &neutralPFOContainer) const override
virtual StatusCode executePanTau (xAOD::TauJet &pTau, xAOD::ParticleContainer &particleContainer, xAOD::PFOContainer &neutralPFOContainer) const override
virtual StatusCode eventFinalize () override
 Event finalizer - called at the end of each event.
virtual StatusCode finalize () override
 Finalizer.
std::string find_file (const std::string &fname) const
virtual StatusCode readConfig () override
virtual void print () const
 Print the state of the tool.
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 sysInitialize () override
 Perform system initialization for an algorithm.
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
Additional helper functions, not directly mimicking Athena
template<class T>
const T * getProperty (const std::string &name) const
 Get one of the tool's properties.
const std::string & msg_level_name () const __attribute__((deprecated))
 A deprecated function for getting the message level's name.
const std::string & getName (const void *ptr) const
 Get the name of an object that is / should be in the event store.
SG::sgkey_t getKey (const void *ptr) const
 Get the (hashed) key of an object that is in the event store.

Protected Member Functions

bool inTrigger () const
bool inAOD () const
bool inEleRM () const
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.

Protected Attributes

Gaudi::Property< bool > m_in_trigger {this, "inTrigger", false, "Indicate if the tool is running on trigger"}
Gaudi::Property< bool > m_in_AOD {this, "inAOD", false, "Indicate if the tool is running on AOD"}
Gaudi::Property< bool > m_in_EleRM {this, "inEleRM", false, "Indicate if the tool is running on EleRM routine"}
Gaudi::Property< std::string > m_tauRecToolsTag {this, "calibFolder", "tauRecTools/R22_preprod", "CVMFS path to the tau calibration folder"}

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

StatusCode extrapolateToCaloSurface (const EventContext &ctx, xAOD::TauJet &pTau, xAOD::TauTrackContainer &tauTrackCon) const
 Extrapolate track eta and phi to the calorimeter middle surface.
TauTrackType tauTrackType (const xAOD::TauJet &tauJet, const xAOD::TrackParticle &trackParticle, const xAOD::Vertex *primaryVertex) const
void getTauTracksFromPV (const xAOD::TauJet &tauJet, const std::vector< const xAOD::TrackParticle * > &vecTrackParticles, const xAOD::Vertex *primaryVertex, const bool &useGhostTracks, const xAOD::JetContainer *jetContainer, std::vector< const xAOD::TrackParticle * > &tauTracks, std::vector< const xAOD::TrackParticle * > &wideTracks, std::vector< const xAOD::TrackParticle * > &otherTracks) const
void removeOffsideTracksWrtLeadTrk (const EventContext &ctx, std::vector< const xAOD::TrackParticle * > &tauTracks, std::vector< const xAOD::TrackParticle * > &wideTracks, std::vector< const xAOD::TrackParticle * > &otherTracks, const xAOD::Vertex *tauOrigin, double maxDeltaZ0) const
float getZ0 (const EventContext &ctx, const xAOD::TrackParticle *track, const xAOD::Vertex *vertex) const
 Some internally used functions.
bool isLargeD0Track (const xAOD::TrackParticle *track) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

ToolHandle< Trk::IParticleCaloExtensionToolm_caloExtensionTool {this, "ParticleCaloExtensionTool", "Trk::ParticleCaloExtensionTool/ParticleCaloExtensionTool", "Tool for the extrapolation of charged tracks"}
 tools
ToolHandle< Trk::ITrackSelectorToolm_trackSelectorTool_tau {this, "TrackSelectorToolTau", "", "Tool for track selection"}
ToolHandle< Reco::ITrackToVertexm_trackToVertexTool {this, "TrackToVertexTool", "Reco::TrackToVertex"}
ToolHandle< Trk::ITrackToVertexIPEstimatorm_trackToVertexIPEstimator {this, "TrackToVertexIPEstimator", ""}
Gaudi::Property< double > m_maxJetDr_tau {this, "MaxJetDrTau", 0.2}
Gaudi::Property< double > m_maxJetDr_wide {this, "MaxJetDrWide", 0.4}
Gaudi::Property< bool > m_applyZ0cut {this, "removeTracksOutsideZ0wrtLeadTrk", false}
Gaudi::Property< float > m_z0maxDelta {this, "maxDeltaZ0wrtLeadTrk", 1000.}
Gaudi::Property< bool > m_removeDuplicateCoreTracks {this, "removeDuplicateCoreTracks", true}
Gaudi::Property< bool > m_bypassExtrapolator {this, "BypassExtrapolator", false}
Gaudi::Property< bool > m_useGhostTracks {this, "useGhostTracks", false}
Gaudi::Property< double > m_ghostTrackDR {this, "ghostTrackDR", 0.25}
SG::ReadHandleKey< xAOD::TrackParticleContainerm_trackPartInputContainer {this,"Key_trackPartInputContainer", "InDetTrackParticles", "input track particle container key"}
SG::ReadHandleKey< xAOD::TrackParticleContainerm_largeD0TracksInputContainer {this,"Key_LargeD0TrackInputContainer", "", "input LRT particle container key"}
SG::ReadHandleKey< xAOD::JetContainerm_jetContainer {this,"Key_jetContainer", "", "Name of the seed jet container, when using ghost matching"}
SG::ReadHandleKey< CaloExtensionCollectionm_ParticleCacheKey {this,"tauParticleCache", "ParticleCaloExtension", "Name of the particle measurement extrapolation cache for TauTrackFinder"}
SG::ReadCondHandleKey< InDet::BeamSpotDatam_beamSpotKey { this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot" }
std::set< CaloSampling::CaloSamplem_EMSamplings
std::set< CaloSampling::CaloSamplem_HadSamplings
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

Associate tracks to the tau candidate.

The tracks have to pass dedicated quality criteria and have to match to a primary vertex consistent with the tau origin.

Author
KG Tan Kong..nosp@m.Guan.nosp@m..Tan@.nosp@m.cern.nosp@m..ch
Felix Friedrich

Definition at line 39 of file TauTrackFinder.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ TauTrackType

Enumerator defining type of tau track.

Enumerator
TauTrackCore 
TauTrackWide 
TauTrackOther 
NotTauTrack 

Definition at line 51 of file TauTrackFinder.h.

Constructor & Destructor Documentation

◆ TauTrackFinder()

TauTrackFinder::TauTrackFinder ( const std::string & name)

Constructor and Destructor.

Definition at line 13 of file TauTrackFinder.cxx.

13 :
14 TauRecToolBase(name),
15 m_EMSamplings {CaloSampling::EME1, CaloSampling::EMB1},
16 m_HadSamplings {CaloSampling::TileBar1, CaloSampling::HEC1, CaloSampling::TileExt1}
17{}
TauRecToolBase(const std::string &name)
std::set< CaloSampling::CaloSample > m_HadSamplings
std::set< CaloSampling::CaloSample > m_EMSamplings

◆ ~TauTrackFinder()

TauTrackFinder::~TauTrackFinder ( )

Definition at line 19 of file TauTrackFinder.cxx.

19{}

Member Function Documentation

◆ ASG_TOOL_CLASS2()

TauTrackFinder::ASG_TOOL_CLASS2 ( TauTrackFinder ,
TauRecToolBase ,
ITauToolBase  )

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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< AlgTool > >::detStore ( ) const
inlineinherited

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

Definition at line 95 of file AthCommonDataStore.h.

◆ eventFinalize()

StatusCode TauRecToolBase::eventFinalize ( )
overridevirtualinherited

Event finalizer - called at the end of each event.

Implements ITauToolBase.

Definition at line 202 of file TauRecToolBase.cxx.

202 {
203 return StatusCode::SUCCESS;
204}

◆ eventInitialize()

StatusCode TauRecToolBase::eventInitialize ( )
overridevirtualinherited

Event initializer - called at the beginning of each event.

Implements ITauToolBase.

Definition at line 133 of file TauRecToolBase.cxx.

133 {
134 return StatusCode::SUCCESS;
135}

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::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 TauRecToolBase::execute ( xAOD::TauJet & pTau) const
overridevirtualinherited

◆ executePanTau()

StatusCode TauRecToolBase::executePanTau ( xAOD::TauJet & pTau,
xAOD::ParticleContainer & particleContainer,
xAOD::PFOContainer & neutralPFOContainer ) const
overridevirtualinherited

Implements ITauToolBase.

Reimplemented in PanTau::PanTauProcessor.

Definition at line 197 of file TauRecToolBase.cxx.

197 {
198 ATH_MSG_ERROR("function not implemented");
199 return StatusCode::FAILURE;
200}

◆ executePi0ClusterCreator()

StatusCode TauRecToolBase::executePi0ClusterCreator ( xAOD::TauJet & pTau,
xAOD::PFOContainer & neutralPFOContainer,
xAOD::PFOContainer & hadronicPFOContainer,
const xAOD::CaloClusterContainer & pCaloClusterContainer ) const
overridevirtualinherited

Implements ITauToolBase.

Reimplemented in TauPi0ClusterCreator.

Definition at line 175 of file TauRecToolBase.cxx.

177 {
178 ATH_MSG_ERROR("function not implemented");
179 return StatusCode::FAILURE;
180}

◆ executePi0ClusterScaler()

StatusCode TauRecToolBase::executePi0ClusterScaler ( xAOD::TauJet & pTau,
xAOD::PFOContainer & neutralPFOContainer,
xAOD::PFOContainer & chargedPFOContainer ) const
overridevirtualinherited

Implements ITauToolBase.

Reimplemented in TauPi0ClusterScaler.

Definition at line 187 of file TauRecToolBase.cxx.

187 {
188 ATH_MSG_ERROR("function not implemented");
189 return StatusCode::FAILURE;
190}

◆ executePi0CreateROI()

StatusCode TauRecToolBase::executePi0CreateROI ( xAOD::TauJet & pTau,
CaloConstCellContainer & caloCellContainer,
boost::dynamic_bitset<> & map ) const
overridevirtualinherited

Implements ITauToolBase.

Reimplemented in TauPi0CreateROI.

Definition at line 149 of file TauRecToolBase.cxx.

149 {
150 ATH_MSG_ERROR("function not implemented");
151 return StatusCode::FAILURE;
152}

◆ executePi0nPFO()

StatusCode TauRecToolBase::executePi0nPFO ( xAOD::TauJet & pTau,
xAOD::PFOContainer & neutralPFOContainer ) const
overridevirtualinherited

Implements ITauToolBase.

Reimplemented in TauPi0ScoreCalculator, and TauPi0Selector.

Definition at line 192 of file TauRecToolBase.cxx.

192 {
193 ATH_MSG_ERROR("function not implemented");
194 return StatusCode::FAILURE;
195}

◆ executeShotFinder()

StatusCode TauRecToolBase::executeShotFinder ( xAOD::TauJet & pTau,
xAOD::CaloClusterContainer & shotClusterContainer,
xAOD::PFOContainer & PFOContainer ) const
overridevirtualinherited

Implements ITauToolBase.

Reimplemented in TauShotFinder.

Definition at line 170 of file TauRecToolBase.cxx.

170 {
171 ATH_MSG_ERROR("function not implemented");
172 return StatusCode::FAILURE;
173}

◆ executeTrackClassifier()

StatusCode TauRecToolBase::executeTrackClassifier ( xAOD::TauJet & pTau,
xAOD::TauTrackContainer & tauTrackContainer ) const
overridevirtualinherited

Implements ITauToolBase.

Reimplemented in tauRecTools::TauTrackRNNClassifier.

Definition at line 165 of file TauRecToolBase.cxx.

165 {
166 ATH_MSG_ERROR("function not implemented");
167 return StatusCode::FAILURE;
168}

◆ executeTrackFinder()

StatusCode TauTrackFinder::executeTrackFinder ( xAOD::TauJet & pTau,
xAOD::TauTrackContainer & tauTrackCon ) const
overridevirtual

Reimplemented from TauRecToolBase.

Definition at line 53 of file TauTrackFinder.cxx.

53 {
54 const EventContext &ctx = Gaudi::Hive::currentContext();
55 std::vector<const xAOD::TrackParticle*> tauTracks;
56 std::vector<const xAOD::TrackParticle*> wideTracks;
57 std::vector<const xAOD::TrackParticle*> otherTracks;
58
59 //Retrieve standard track container
60 const xAOD::TrackParticleContainer* trackParticleCont = nullptr;
61
62 SG::ReadHandle<xAOD::TrackParticleContainer> trackPartInHandle( m_trackPartInputContainer, ctx );
63 if (!trackPartInHandle.isValid()) {
64 ATH_MSG_ERROR ("Could not retrieve HiveDataObj with key " << trackPartInHandle.key());
65 return StatusCode::FAILURE;
66 }
67 trackParticleCont = trackPartInHandle.cptr();
68
69 //Retrieve LRT container
70 const xAOD::TrackParticleContainer* largeD0TracksParticleCont = nullptr;
71 std::vector<const xAOD::TrackParticle*> vecTrksLargeD0;
72 if (! m_largeD0TracksInputContainer.empty()) {
73 SG::ReadHandle<xAOD::TrackParticleContainer> trackPartInHandle( m_largeD0TracksInputContainer, ctx );
74 if (!trackPartInHandle.isValid()) {
75 ATH_MSG_VERBOSE ("Could not retrieve HiveDataObj with key " << trackPartInHandle.key());
76 ATH_MSG_VERBOSE ("LRT container " << trackPartInHandle.key()<<" is not being used for tau tracks");
77 }
78 else {
79 largeD0TracksParticleCont = trackPartInHandle.cptr();
80 vecTrksLargeD0 = std::vector<const xAOD::TrackParticle*>(largeD0TracksParticleCont->begin(), largeD0TracksParticleCont->end());
81 }
82 }
83
84
85
86 // retrieve the seed jet container when using ghost-matching
87 const xAOD::JetContainer* jetContainer = nullptr;
88 if (! m_jetContainer.empty()) {
89 SG::ReadHandle<xAOD::JetContainer> jetContHandle( m_jetContainer, ctx );
90 if (!jetContHandle.isValid()) {
91 ATH_MSG_ERROR ("Could not retrieve HiveDataObj with key " << jetContHandle.key());
92 return StatusCode::FAILURE;
93 }
94 jetContainer = jetContHandle.cptr();
95 }
96 // in EleRM reco, we need the original track particles
97 std::vector<const xAOD::TrackParticle*> vecTrks;
98 vecTrks.reserve( trackParticleCont->size() );
99 for (auto trk : *trackParticleCont){
100 if (!inEleRM()) { vecTrks.push_back(trk); }
101 else{
102 static const SG::ConstAccessor<ElementLink<xAOD::TrackParticleContainer>> acc_originalObject("ERMOriginalTrack");
103 auto original_id_track_link = acc_originalObject(*trk);
104 if (!original_id_track_link.isValid()) {
105 ATH_MSG_ERROR("Original track link is not valid");
106 continue;
107 }
108 vecTrks.push_back(*original_id_track_link);
109 }
110 }
111
112 // get the primary vertex
113 const xAOD::Vertex* pVertex = pTau.vertex();
114
115 // retrieve tracks wrt a vertex
116 // as a vertex is used: tau origin / PV / beamspot / 0,0,0 (in this order, depending on availability)
117
118 getTauTracksFromPV(pTau, vecTrks, pVertex, m_useGhostTracks, jetContainer, tauTracks, wideTracks, otherTracks);
119
120 bool foundLRTCont = bool (largeD0TracksParticleCont != nullptr);
121 // additional LRT with vertex association added to tracks
122 if (foundLRTCont){
123 // for now, use cone association for LRTs, not ghost association
124 getTauTracksFromPV(pTau, vecTrksLargeD0, pVertex, false, nullptr, tauTracks, wideTracks, otherTracks);
125 }
126
127 // remove core and wide tracks outside a maximal delta z0 wrt lead core track
128 if (m_applyZ0cut) {
129 this->removeOffsideTracksWrtLeadTrk(ctx, tauTracks, wideTracks, otherTracks, pVertex, m_z0maxDelta);
130 }
131
133 bool alreadyUsed = false;
134 for (std::vector<const xAOD::TrackParticle*>::iterator track_it = tauTracks.begin(); track_it != tauTracks.end() ;)
135 {
136 alreadyUsed = false;
137 //loop over all up-to-now core tracks
138 for( const xAOD::TauTrack* tau_trk : tauTrackCon ) {
139 //originally it was coreTrack&passTrkSelector
141 if( (*track_it) == tau_trk->track()) alreadyUsed = true;
142 }
143 //if this track has already been used by another tau, don't associate it to this new one
144 if(alreadyUsed) {
145 ATH_MSG_INFO( "Found Already Used track new, now removing: " << *track_it );
146 track_it = tauTracks.erase(track_it);
147 } else ++track_it;
148 }
149 }
150
151 // associate track to tau candidate and calculate charge
152 float charge = 0.;
153 for (unsigned int i = 0; i < tauTracks.size(); ++i) {
154 const xAOD::TrackParticle* trackParticle = tauTracks.at(i);
155
156 ATH_MSG_VERBOSE(name() << " adding core track nr: " << i
157 << " eta " << trackParticle->eta()
158 << " phi " << trackParticle->phi());
159
160 charge += trackParticle->charge();
161
163 tauTrackCon.push_back(track);
164
165 ElementLink<xAOD::TrackParticleContainer> linkToTrackParticle;
166 linkToTrackParticle.toContainedElement(*static_cast<const xAOD::TrackParticleContainer*>(trackParticle->container()), trackParticle);
167 if (foundLRTCont && isLargeD0Track(trackParticle)){//Check LRT track and link to container
169 }
170 else {
172 }
173 track->addTrackLink(linkToTrackParticle);
174
175 track->setP4(trackParticle->pt(), trackParticle->eta(), trackParticle->phi(), trackParticle->m());
178 // in case TrackClassifier is not run, still get sensible results
181
183 linkToTauTrack.toContainedElement(tauTrackCon, track);
184 pTau.addTauTrackLink(linkToTauTrack);
185
186 ATH_MSG_VERBOSE(name() << " added core track nr: " << i
187 << " eta " << pTau.track(i)->eta()
188 << " phi " << pTau.track(i)->phi());
189 }
190 // set the charge, which is defined by the core tau tracks only
191 pTau.setCharge(charge);
192
193 for (unsigned int i = 0; i < wideTracks.size(); ++i) {
194 const xAOD::TrackParticle* trackParticle = wideTracks.at(i);
195
196 ATH_MSG_VERBOSE(name() << " adding wide track nr: " << i
197 << " eta " << trackParticle->eta()
198 << " phi " << trackParticle->phi());
199
201 tauTrackCon.push_back(track);
202
203 ElementLink<xAOD::TrackParticleContainer> linkToTrackParticle;
204 linkToTrackParticle.toContainedElement(*static_cast<const xAOD::TrackParticleContainer*>(trackParticle->container()), trackParticle);
205 if (foundLRTCont && isLargeD0Track(trackParticle)){//Check LRT track and link to container
207 }
208 else {
210 }
211 track->addTrackLink(linkToTrackParticle);
212
213 track->setP4(trackParticle->pt(), trackParticle->eta(), trackParticle->phi(), trackParticle->m());
216 // in case TrackClassifier is not run, still get sensible results
217 track->setFlag(xAOD::TauJetParameters::TauTrackFlag::classifiedIsolation, true); // for sake of trigger, reset in TauTrackClassifier
218 track->setFlag(xAOD::TauJetParameters::TauTrackFlag::modifiedIsolationTrack, true); // for sake of trigger, reset in TauTrackClassifier
220
222 linkToTauTrack.toContainedElement(tauTrackCon, track);
223 pTau.addTauTrackLink(linkToTauTrack);
224 }
225
226 //These are set again in TauTrackClassifier
227 pTau.setDetail(xAOD::TauJetParameters::nChargedTracks, static_cast<int>(pTau.nTracks()));
229
230 for (unsigned int i = 0; i < otherTracks.size(); ++i) {
231 const xAOD::TrackParticle* trackParticle = otherTracks.at(i);
232
233 ATH_MSG_VERBOSE(name() << " adding other track nr: " << i
234 << " eta " << trackParticle->eta()
235 << " phi " << trackParticle->phi());
236
238 tauTrackCon.push_back(track);
239
240 ElementLink<xAOD::TrackParticleContainer> linkToTrackParticle;
241 if (foundLRTCont && isLargeD0Track(trackParticle)){//Check LRT track and link to container
242 linkToTrackParticle.toContainedElement(*static_cast<const xAOD::TrackParticleContainer*>(trackParticle->container()), trackParticle);
244 }
245 else {
246 linkToTrackParticle.toContainedElement(*static_cast<const xAOD::TrackParticleContainer*>(trackParticle->container()), trackParticle);
248 }
249 track->addTrackLink(linkToTrackParticle);
250
251 track->setP4(trackParticle->pt(), trackParticle->eta(), trackParticle->phi(), trackParticle->m());
252 float dR = track->p4().DeltaR(pTau.p4());
256
258 linkToTauTrack.toContainedElement(tauTrackCon, track);
259 pTau.addTauTrackLink(linkToTauTrack);
260 }
261
263 // keep track of total number of associated tracks, in case of tau track thinning
264 pTau.setDetail(xAOD::TauJetParameters::nAllTracks, static_cast<int>(pTau.nAllTracks()));
265
266 ATH_MSG_DEBUG("numTrack: " << "/" << pTau.nTracks());
267 ATH_MSG_DEBUG("charge: " << "/" << pTau.charge());
268
269 // impact parameter variables w.r.t. tau vertex
270 const xAOD::Vertex* vxcand = nullptr;
271
272 xAOD::Vertex vxbkp;
273 vxbkp.makePrivateStore();
274
275 // FIXME: don't we want to use the beamspot in the offline reconstruction too, when there is no reconstructed primary vertex?
276 if (pTau.vertex()!=nullptr && pTau.vertex()->vertexType() != xAOD::VxType::NoVtx) {
277 vxcand = pTau.vertex();
278 }
279 else if (inTrigger()) { // online: use vertex with x-y coordinates from the beamspot and the z from the leading track
280 vxbkp.setX(0); vxbkp.setY(0); vxbkp.setZ(0);
281
282 SG::ReadCondHandle<InDet::BeamSpotData> beamSpotHandle { m_beamSpotKey, ctx };
283 if(beamSpotHandle.isValid()) {
284 vxbkp.setPosition(beamSpotHandle->beamPos());
285 const auto& cov = beamSpotHandle->beamVtx().covariancePosition();
286 vxbkp.setCovariancePosition(cov);
287
288 if(!tauTracks.empty()) {
289 vxbkp.setZ(tauTracks.at(0)->z0());
290 }
291 }
292 else {
293 ATH_MSG_DEBUG("No Beamspot object in tau candidate");
294 }
295 vxcand = & vxbkp;
296 }
297
298
299 // this could be replaced with TauTrack::setDetail
300 static const SG::Accessor<float> dec_d0TJVA("d0TJVA");
301 static const SG::Accessor<float> dec_z0sinthetaTJVA("z0sinthetaTJVA");
302 static const SG::Accessor<float> dec_d0SigTJVA("d0SigTJVA");
303 static const SG::Accessor<float> dec_z0sinthetaSigTJVA("z0sinthetaSigTJVA");
304
305 for(const ElementLink<xAOD::TauTrackContainer>& trackLink : pTau.allTauTrackLinks())
306 {
307 assert (trackLink.getStorableObjectPointer() == &tauTrackCon);
308 xAOD::TauTrack* track = tauTrackCon[trackLink.index()];
309 dec_d0TJVA(*track) = track->track()->d0();
310 dec_z0sinthetaTJVA(*track) = track->z0sinThetaTJVA(pTau);
311 dec_d0SigTJVA(*track) = -999.;
312 dec_z0sinthetaSigTJVA(*track) = -999.;
313
314 // in the trigger, z0sintheta and corresponding significance are meaningless if we use the beamspot
315 if(vxcand) {
316 std::unique_ptr<const Trk::ImpactParametersAndSigma> myIPandSigma
317 = std::unique_ptr<const Trk::ImpactParametersAndSigma>(m_trackToVertexIPEstimator->estimate(ctx, track->track(), vxcand));
318
319 if(myIPandSigma) {
320 dec_d0TJVA(*track) = myIPandSigma->IPd0;
321 dec_z0sinthetaTJVA(*track) = myIPandSigma->IPz0SinTheta;
322 dec_d0SigTJVA(*track) = (myIPandSigma->sigmad0 != 0.) ? static_cast<float>( myIPandSigma->IPd0 / myIPandSigma->sigmad0 ) : -999.f;
323 dec_z0sinthetaSigTJVA(*track) = (myIPandSigma->sigmaz0SinTheta != 0.) ? static_cast<float>( myIPandSigma->IPz0SinTheta / myIPandSigma->sigmaz0SinTheta ) : -999.f;
324 }
325 }
326 }
327
328 // extrapolate core tracks to calorimeter surface
329 // store information only in ExtraDetailsContainer
331 {
332 StatusCode sc = extrapolateToCaloSurface(ctx, pTau, tauTrackCon);
333 if (sc.isFailure() && !sc.isRecoverable()) {
334 ATH_MSG_ERROR("couldn't extrapolate tracks to calo surface");
335 return StatusCode::FAILURE;
336 }
337 }
338
339 return StatusCode::SUCCESS;
340}
#define ATH_MSG_INFO(x)
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_DEBUG(x)
double charge(const T &p)
Definition AtlasPID.h:997
static Double_t sc
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
bool inEleRM() const
bool inTrigger() const
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackPartInputContainer
StatusCode extrapolateToCaloSurface(const EventContext &ctx, xAOD::TauJet &pTau, xAOD::TauTrackContainer &tauTrackCon) const
Extrapolate track eta and phi to the calorimeter middle surface.
void getTauTracksFromPV(const xAOD::TauJet &tauJet, const std::vector< const xAOD::TrackParticle * > &vecTrackParticles, const xAOD::Vertex *primaryVertex, const bool &useGhostTracks, const xAOD::JetContainer *jetContainer, std::vector< const xAOD::TrackParticle * > &tauTracks, std::vector< const xAOD::TrackParticle * > &wideTracks, std::vector< const xAOD::TrackParticle * > &otherTracks) const
ToolHandle< Trk::ITrackToVertexIPEstimator > m_trackToVertexIPEstimator
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainer
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_largeD0TracksInputContainer
Gaudi::Property< float > m_z0maxDelta
Gaudi::Property< bool > m_applyZ0cut
Gaudi::Property< double > m_maxJetDr_tau
Gaudi::Property< bool > m_bypassExtrapolator
Gaudi::Property< bool > m_useGhostTracks
void removeOffsideTracksWrtLeadTrk(const EventContext &ctx, std::vector< const xAOD::TrackParticle * > &tauTracks, std::vector< const xAOD::TrackParticle * > &wideTracks, std::vector< const xAOD::TrackParticle * > &otherTracks, const xAOD::Vertex *tauOrigin, double maxDeltaZ0) const
Gaudi::Property< bool > m_removeDuplicateCoreTracks
bool isLargeD0Track(const xAOD::TrackParticle *track) const
float charge() const
virtual FourMom_t p4() const
The full 4-momentum of the particle.
Definition TauJet_v3.cxx:96
void setCharge(float)
const TauTrack * track(size_t i, TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged, int *container_index=0) const
Get the pointer to a given tauTrack associated with this tau /*container index needed by trackNonCons...
void setDetail(TauJetParameters::Detail detail, int value)
const Vertex * vertex() const
size_t nAllTracks() const
const TauTrackLinks_t & allTauTrackLinks() const
void addTauTrackLink(const ElementLink< TauTrackContainer > &tr)
add a TauTrack to the tau
size_t nTracks(TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
virtual double eta() const
The pseudorapidity ( ) of the particle.
virtual double phi() const
The azimuthal angle ( ) of the particle.
virtual double m() const override final
The invariant mass of the particle..
virtual double phi() const override final
The azimuthal angle ( ) of the particle (has range to .).
virtual double pt() const override final
The transverse momentum ( ) of the particle.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
float charge() const
Returns the charge.
void setCovariancePosition(const AmgSymMatrix(3)&covariancePosition)
Sets the vertex covariance matrix.
void setZ(float value)
Sets the z position.
void setX(float value)
Sets the x position.
void setY(float value)
Sets the y position.
void setPosition(const Amg::Vector3D &position)
Sets the 3-position.
VxType::VertexType vertexType() const
The type of the vertex.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ConstAccessor< T, ALLOC > ConstAccessor
Definition AuxElement.h:570
@ NoVtx
Dummy vertex. TrackParticle was not used in vertex fit.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Vertex_v1 Vertex
Define the latest version of the vertex class.
TauTrack_v1 TauTrack
Definition of the current version.
Definition TauTrack.h:16
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
setBGCode setTAP setLVL2ErrorBits bool
JetContainer_v1 JetContainer
Definition of the current "jet container version".

◆ executeVertexFinder()

StatusCode TauRecToolBase::executeVertexFinder ( xAOD::TauJet & pTau,
const xAOD::VertexContainer * vertexContainer = nullptr ) const
overridevirtualinherited

Implements ITauToolBase.

Reimplemented in TauVertexFinder.

Definition at line 155 of file TauRecToolBase.cxx.

155 {
156 ATH_MSG_ERROR("function not implemented");
157 return StatusCode::FAILURE;
158}

◆ executeVertexVariables()

StatusCode TauRecToolBase::executeVertexVariables ( xAOD::TauJet & pTau,
xAOD::VertexContainer & vertexContainer ) const
overridevirtualinherited

Implements ITauToolBase.

Reimplemented in TauVertexVariables.

Definition at line 182 of file TauRecToolBase.cxx.

182 {
183 ATH_MSG_ERROR("function not implemented");
184 return StatusCode::FAILURE;
185}

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::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

◆ extrapolateToCaloSurface()

StatusCode TauTrackFinder::extrapolateToCaloSurface ( const EventContext & ctx,
xAOD::TauJet & pTau,
xAOD::TauTrackContainer & tauTrackCon ) const
private

Extrapolate track eta and phi to the calorimeter middle surface.

Definition at line 437 of file TauTrackFinder.cxx.

440{
441 Trk::TrackParametersIdHelper parsIdHelper;
442
443 int trackIndex = -1;
444 const Trk::CaloExtension * caloExtension = nullptr;
445 std::unique_ptr<Trk::CaloExtension> uniqueExtension;
446 for(const ElementLink<xAOD::TauTrackContainer>& trackLink : pTau.allTauTrackLinks())
447 {
448 assert (trackLink.getStorableObjectPointer() == &tauTrackCon);
449 xAOD::TauTrack* tauTrack = tauTrackCon[trackLink.index()];
450 const xAOD::TrackParticle *orgTrack = tauTrack->track();
451 if( !orgTrack ) continue;
452 trackIndex = orgTrack->index();
453
454 // set default values
455 float etaEM = -10.0;
456 float phiEM = -10.0;
457 float etaHad = -10.0;
458 float phiHad = -10.0;
459
460 // get the extrapolation into the calo
461 ATH_MSG_DEBUG( "Try extrapolation of track with pt = " << orgTrack->pt()
462 << ", eta " << orgTrack->eta()
463 << ", phi" << orgTrack->phi() );
464
465 if(!m_ParticleCacheKey.key().empty()){
466 /*get the CaloExtension object*/
467 ATH_MSG_VERBOSE("Using the CaloExtensionBuilder Cache");
468 SG::ReadHandle<CaloExtensionCollection> particleCache {m_ParticleCacheKey, ctx};
469 caloExtension = (*particleCache)[trackIndex];
470 ATH_MSG_VERBOSE("Getting element " << trackIndex << " from the particleCache");
471 if( not caloExtension ){
472 ATH_MSG_VERBOSE("Cache does not contain a calo extension -> "
473 "Calculating with the a CaloExtensionTool");
474 uniqueExtension = m_caloExtensionTool->caloExtension(ctx, *orgTrack);
475 caloExtension = uniqueExtension.get();
476 }
477 }
478 else {
479 /* If CaloExtensionBuilder is unavailable, use the calo extension tool */
480 ATH_MSG_VERBOSE("Using the CaloExtensionTool");
481 uniqueExtension = m_caloExtensionTool->caloExtension(ctx, *orgTrack);
482 caloExtension = uniqueExtension.get();
483 }
484
485 if (!caloExtension)
486 {
487 ATH_MSG_DEBUG("Track extrapolation failed");
488 }
489 else {
490 const std::vector<Trk::CurvilinearParameters>& clParametersVector = caloExtension->caloLayerIntersections();
491 if (clParametersVector.empty()) {
492 ATH_MSG_DEBUG("Track extrapolation failed");
493 }
494
495 ATH_MSG_DEBUG("Scanning samplings");
496 bool validECal = false;
497 bool validHCal = false;
498 for( const Trk::CurvilinearParameters& cur : clParametersVector ){
499 ATH_MSG_DEBUG("Sampling " << parsIdHelper.caloSample(cur.cIdentifier()) );
500
501 // only use entry layer
502 if( not parsIdHelper.isEntryToVolume(cur.cIdentifier()) ) continue;
503
504 CaloSampling::CaloSample sample = parsIdHelper.caloSample(cur.cIdentifier());
505
506 // ECal
507 if( not validECal and m_EMSamplings.count(sample))
508 {
509 validECal = true;
510 etaEM = cur.position().eta();
511 phiEM = cur.position().phi();
512 ATH_MSG_DEBUG("Extrapolated to ECal layer " << sample);
513 }
514
515 // HCal
516 if( not validHCal and m_HadSamplings.count(sample))
517 {
518 validHCal = true;
519 etaHad = cur.position().eta();
520 phiHad = cur.position().phi();
521 ATH_MSG_DEBUG("Extrapolated to HCal layer " << sample);
522 }
523 if( validECal and validHCal ) break;
524 }
525 // EM failure warn if within acceptance
526 if( not validECal and std::abs(orgTrack->pt()) < 2.48 ){
527 ATH_MSG_DEBUG("Failed extrapolation to ECal");
528 }
529 // Had failure warn if enough pt to reach HCal
530 if( not validHCal and orgTrack->pt() > 2000. ){
531 ATH_MSG_DEBUG("Failed extrapolation to HCal");
532 }
533
534 ATH_MSG_DEBUG( "Extrapolated track with eta=" << orgTrack->eta()
535 << " phi="<<orgTrack->phi()
536 << " to ECal eta=" << etaEM
537 << " phi="<< phiEM
538 << " HCal eta=" << etaHad
539 << " phi="<< phiHad
540 );
541 }
546 }
547
548 return StatusCode::SUCCESS;
549
550}
SG::ReadHandleKey< CaloExtensionCollection > m_ParticleCacheKey
ToolHandle< Trk::IParticleCaloExtensionTool > m_caloExtensionTool
tools
bool isEntryToVolume(TrackParametersIdentifier id) const
returns true if the id belongs to the volume entrance
CaloSampling::CaloSample caloSample(TrackParametersIdentifier id) const
CaloSample encoded in id, returns CaloSampling::Unknown if id is not valid.
void setDetail(TauJetParameters::TrackDetail detail, float value)
const TrackParticle * track() const
CurvilinearParametersT< TrackParametersDim, Charged, PlaneSurface > CurvilinearParameters

◆ finalize()

StatusCode TauRecToolBase::finalize ( )
overridevirtualinherited

Finalizer.

Implements ITauToolBase.

Reimplemented in PanTau::PanTauProcessor.

Definition at line 206 of file TauRecToolBase.cxx.

206 {
207 return StatusCode::SUCCESS;
208}

◆ find_file()

std::string TauRecToolBase::find_file ( const std::string & fname) const
inherited

Definition at line 19 of file TauRecToolBase.cxx.

19 {
20 std::string full_path;
21 //offline calib files are in GroupData
22 //online calib files are in release
23 full_path = PathResolverFindCalibFile(m_tauRecToolsTag+"/"+fname);
24 if(full_path.empty()) full_path = PathResolverFindCalibFile(fname);
25 return full_path;
26}
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
Gaudi::Property< std::string > m_tauRecToolsTag

◆ getKey()

SG::sgkey_t asg::AsgTool::getKey ( const void * ptr) const
inherited

Get the (hashed) key of an object that is in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::Event both provide ways for getting the SG::sgkey_t key for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getName
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The hashed key of the object in the store. If not found, an invalid (zero) key.

Definition at line 119 of file AsgTool.cxx.

119 {
120
121#ifdef XAOD_STANDALONE
122 // In case we use @c xAOD::Event, we have a direct function call
123 // for this.
124 return evtStore()->event()->getKey( ptr );
125#else
126 const SG::DataProxy* proxy = evtStore()->proxy( ptr );
127 return ( proxy == nullptr ? 0 : proxy->sgkey() );
128#endif // XAOD_STANDALONE
129 }
ServiceHandle< StoreGateSvc > & evtStore()

◆ getName()

const std::string & asg::AsgTool::getName ( const void * ptr) const
inherited

Get the name of an object that is / should be in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::Event both provide ways for getting the std::string name for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getKey
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The string name of the object in the store. If not found, an empty string.

Definition at line 106 of file AsgTool.cxx.

106 {
107
108#ifdef XAOD_STANDALONE
109 // In case we use @c xAOD::Event, we have a direct function call
110 // for this.
111 return evtStore()->event()->getName( ptr );
112#else
113 const SG::DataProxy* proxy = evtStore()->proxy( ptr );
114 static const std::string dummy = "";
115 return ( proxy == nullptr ? dummy : proxy->name() );
116#endif // XAOD_STANDALONE
117 }

◆ getProperty()

template<class T>
const T * asg::AsgTool::getProperty ( const std::string & name) const
inherited

Get one of the tool's properties.

◆ getTauTracksFromPV()

void TauTrackFinder::getTauTracksFromPV ( const xAOD::TauJet & tauJet,
const std::vector< const xAOD::TrackParticle * > & vecTrackParticles,
const xAOD::Vertex * primaryVertex,
const bool & useGhostTracks,
const xAOD::JetContainer * jetContainer,
std::vector< const xAOD::TrackParticle * > & tauTracks,
std::vector< const xAOD::TrackParticle * > & wideTracks,
std::vector< const xAOD::TrackParticle * > & otherTracks ) const
private

Definition at line 364 of file TauTrackFinder.cxx.

372{
373 std::vector<const xAOD::TrackParticle*> ghostTracks;
374 if(useGhostTracks) {
375 const xAOD::Jet* seedJet = pTau.jet();
376 if(seedJet) {
377 if(!seedJet->getAssociatedObjects("GhostTrack", ghostTracks)) {
378 ATH_MSG_WARNING("Could not retrieve GhostTrack from seed jet.");
379 }
380 }
381 }
382 // in EleRM reco, we need the original track particles
383 if (inEleRM()){
384 for (uint i = 0; i < ghostTracks.size(); i++){
385 static const SG::ConstAccessor<ElementLink<xAOD::TrackParticleContainer>> acc_originalTrack("ERMOriginalTrack");
386 auto original_id_track_link = acc_originalTrack(*(ghostTracks[i]));
387 if (!original_id_track_link.isValid()) {
388 ATH_MSG_ERROR("Original track link is not valid");
389 continue;
390 }
391 ghostTracks[i] = *original_id_track_link;
392 }
393 }
394
395 for (const xAOD::TrackParticle *trackParticle : vecTrackParticles) {
396 TauTrackType type = tauTrackType(pTau, *trackParticle, primaryVertex);
397 if(type == NotTauTrack) continue;
398
399 if(useGhostTracks) {
400 // require that tracks are ghost-matched with the seed jet at large dR(tau,track), to avoid using tracks from another tau
401 double dR = pTau.p4().DeltaR(trackParticle->p4());
402 if (dR > m_ghostTrackDR) {
403 if (std::find(ghostTracks.begin(), ghostTracks.end(), trackParticle) == ghostTracks.end()) {
404 // check whether the jet closest to the track is the current seed jet
405 // if so, recover the track even if not ghost-matched, to improve tau-track association efficiency at low pt (esp. for 3p)
406 double dRmin = 999.;
407 bool isSeedClosest = false;
408 for (const xAOD::Jet* jet : *jetContainer) {
410 TLorentzVector jetLV;
411 jetLV.SetPtEtaPhiM(jetP4.Pt(), jetP4.Eta(), jetP4.Phi(), jetP4.M());
412 double dRjet = trackParticle->p4().DeltaR(jetLV);
413 if(dRjet < dRmin) {
414 dRmin = dRjet;
415 isSeedClosest = (jet == pTau.jet());
416 }
417 }
418 if(!isSeedClosest) continue;
419 }
420 }
421 }
422
423 if (type == TauTrackCore)
424 tauTracks.push_back(trackParticle);
425 else if (type == TauTrackWide)
426 wideTracks.push_back(trackParticle);
427 else if (type == TauTrackOther)
428 otherTracks.push_back(trackParticle);
429 }
430 std::sort(tauTracks.begin(), tauTracks.end(), TrackSort());
431 std::sort(wideTracks.begin(), wideTracks.end(), TrackSort());
432 std::sort(otherTracks.begin(), otherTracks.end(), TrackSort());
433}
#define ATH_MSG_WARNING(x)
unsigned int uint
TauTrackType tauTrackType(const xAOD::TauJet &tauJet, const xAOD::TrackParticle &trackParticle, const xAOD::Vertex *primaryVertex) const
Gaudi::Property< double > m_ghostTrackDR
TauTrackType
Enumerator defining type of tau track.
std::vector< const T * > getAssociatedObjects(const std::string &name) const
get associated objects as a vector<object> this compact form throws an exception if the object is not...
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
Jet_v1 Jet
Definition of the current "jet version".
@ JetConstitScaleMomentum
Definition JetTypes.h:29
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
Definition JetTypes.h:17

◆ getZ0()

float TauTrackFinder::getZ0 ( const EventContext & ctx,
const xAOD::TrackParticle * track,
const xAOD::Vertex * vertex ) const
private

Some internally used functions.

Definition at line 612 of file TauTrackFinder.cxx.

613{
614 float MAX=1e5;
615
616 if (!track) return MAX;
617
618 std::unique_ptr<Trk::Perigee> perigee;
619 if (vertex) perigee = m_trackToVertexTool->perigeeAtVertex(ctx, *track, vertex->position());
620 else perigee = m_trackToVertexTool->perigeeAtVertex(ctx, *track); //will use beamspot or 0,0,0 instead
621
622 if (!perigee) {
623 ATH_MSG_WARNING("Bad track; can't find perigee at vertex.");
624 return MAX;
625 }
626
627 return static_cast<float>(perigee->parameters()[Trk::z0]);
628}
#define MAX(x, y)
ToolHandle< Reco::ITrackToVertex > m_trackToVertexTool
@ z0
Definition ParamDefs.h:64

◆ inAOD()

bool TauRecToolBase::inAOD ( ) const
inlineprotectedinherited

Definition at line 88 of file TauRecToolBase.h.

88{ return m_in_AOD; }
Gaudi::Property< bool > m_in_AOD

◆ inEleRM()

bool TauRecToolBase::inEleRM ( ) const
inlineprotectedinherited

Definition at line 89 of file TauRecToolBase.h.

89{ return m_in_EleRM; }
Gaudi::Property< bool > m_in_EleRM

◆ initialize()

StatusCode TauTrackFinder::initialize ( void )
overridevirtual

Algorithm functions.

Reimplemented from TauRecToolBase.

Definition at line 22 of file TauTrackFinder.cxx.

22 {
23
24 // retrieve tools
26 ATH_CHECK( m_trackToVertexTool.retrieve() );
27 ATH_CHECK( m_caloExtensionTool.retrieve() );
29
30 // initialize ReadHandleKey
32 // use CaloExtensionTool when key is empty
34 // allow empty for LRT
36
38 if(inTrigger()) {
39 ATH_MSG_ERROR ("Ghost matching is not a valid tau-track association scheme for trigger, use cone association. Aborting.");
40 return StatusCode::FAILURE;
41 }
42 ATH_MSG_INFO ("Using ghost matching for tau-track association" << m_ghostTrackDR );
43 // allow empty for trigger
45 }
46
47 ATH_CHECK( m_beamSpotKey.initialize(inTrigger()) );
48
49 return StatusCode::SUCCESS;
50}
#define ATH_CHECK
Evaluate an expression and check for errors.
ToolHandle< Trk::ITrackSelectorTool > m_trackSelectorTool_tau

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ inTrigger()

bool TauRecToolBase::inTrigger ( ) const
inlineprotectedinherited

Definition at line 87 of file TauRecToolBase.h.

87{ return m_in_trigger; }
Gaudi::Property< bool > m_in_trigger

◆ isLargeD0Track()

bool TauTrackFinder::isLargeD0Track ( const xAOD::TrackParticle * track) const
private

Definition at line 630 of file TauTrackFinder.cxx.

631{
632 const std::bitset<xAOD::NumberOfTrackRecoInfo> patternReco = track->patternRecoInfo();
634 ATH_MSG_DEBUG("LargeD0Track found");
635 return true;
636 }
637
638 return false;
639}
@ SiSpacePointsSeedMaker_LargeD0

◆ msg()

MsgStream & AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg_level_name()

const std::string & asg::AsgTool::msg_level_name ( ) const
inherited

A deprecated function for getting the message level's name.

Instead of using this, weirdly named function, user code should get the string name of the current minimum message level (in case they really need it...), with:

MSG::name( msg().level() )

This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.

Returns
The string name of the current minimum message level that's printed

Definition at line 101 of file AsgTool.cxx.

101 {
102
103 return MSG::name( msg().level() );
104 }
MsgStream & msg() const
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
Definition MsgLevel.cxx:19

◆ msgLvl()

bool AthCommonMsg< AlgTool >::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< AlgTool > >::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.

◆ print()

void asg::AsgTool::print ( ) const
virtualinherited

◆ readConfig()

StatusCode TauRecToolBase::readConfig ( )
overridevirtualinherited

Implements ITauToolBase.

Definition at line 27 of file TauRecToolBase.cxx.

27 {
28 // Sanity check to see if property ConfigPath is declared for a tool. Might be
29 // removed once all tools are updated to have a config path declared.
30 // in athena getProperties returns std::vector<Gaudi::Details::PropertyBase*>
31 // in rc getProperties returns std::map<std::string,Property*>
32#ifndef XAOD_STANDALONE
33 bool configPathDeclared = false;
34 for (Gaudi::Details::PropertyBase* property : getProperties())
35 {
36 if (property->name() == "ConfigPath")
37 {
38 configPathDeclared = true;
39 break;
40 }
41 }
42 if (!configPathDeclared)
43#elif defined(XAOD_STANDALONE)
44 PropertyMgr::PropMap_t property_map = getPropertyMgr()->getProperties();
45 if (property_map.find("ConfigPath") == property_map.end())
46#else
47# error "What environment are we in?!?"
48#endif // XAOD_STANDALONE
49 {
50 ATH_MSG_INFO("No config file path property declared yet, this is not recommended");
51 return StatusCode::SUCCESS;
52 }
53
54 // get configured config path and load file via TEnv
55 const std::string* config_file_path_property;
56 // if (getProperty("ConfigPath", config_file_path).isFailure())
57 // return StatusCode::FAILURE;
58 config_file_path_property = getProperty<std::string>("ConfigPath");
59 std::string config_file_path = find_file(*config_file_path_property);
60 TEnv env;
61 env.ReadFile(PathResolverFindCalibFile(config_file_path).c_str(),kEnvAll);
62
63 THashList* lList = env.GetTable();
64 for( Int_t i = 0; lList && i < lList->GetEntries(); ++i )
65 {
67 // types of properties are handled differently as well
68#ifndef XAOD_STANDALONE
69 // get type of variable with the entry name
70 const std::type_info* type = getProperty(lList->At( i )->GetName()).type_info();
71
72 // search for type is needed by env.GetValue function (needs a variable of the correct type as 2nd argument)
73 if (*type == typeid(bool))
74 sc = this->setProperty(lList->At( i )->GetName(),
75 bool(env.GetValue(lList->At( i )->GetName(),bool(true))));
76 else if (*type == typeid(int))
77 sc = this->setProperty(lList->At( i )->GetName(),
78 env.GetValue(lList->At( i )->GetName(),int(0)));
79 else if (*type == typeid(float))
80 sc = this->setProperty(lList->At( i )->GetName(),
81 env.GetValue(lList->At( i )->GetName(),float(0)));
82 else if (*type == typeid(double))
83 sc = this->setProperty(lList->At( i )->GetName(),
84 env.GetValue(lList->At( i )->GetName(),double(0)));
85 else if (*type == typeid(std::string))
86 sc = this->setProperty(lList->At( i )->GetName(),
87 env.GetValue(lList->At( i )->GetName(),""));
88#else
89 // get type of variable with the entry name
90 Property::Type type = getPropertyMgr()->getProperty(lList->At( i )->GetName())->type();
91
92 if (type == Property::BOOL)
93 sc = this->setProperty(lList->At( i )->GetName(),
94 bool(env.GetValue(lList->At( i )->GetName(),bool(true))));
95 else if (type == Property::INT)
96 sc = this->setProperty(lList->At( i )->GetName(),
97 env.GetValue(lList->At( i )->GetName(),int(0)));
98 else if (type == Property::FLOAT)
99 sc = this->setProperty(lList->At( i )->GetName(),
100 env.GetValue(lList->At( i )->GetName(),float(0)));
101 else if (type == Property::DOUBLE)
102 sc = this->setProperty(lList->At( i )->GetName(),
103 env.GetValue(lList->At( i )->GetName(),double(0)));
104 else if (type == Property::STRING)
105 sc = this->setProperty(lList->At( i )->GetName(),
106 env.GetValue(lList->At( i )->GetName(),""));
107#endif // XAOD_STANDALONE
108 else
109 {
110#ifndef XAOD_STANDALONE
111 ATH_MSG_FATAL("there was a problem to find the correct type enum: "<<type->name());
112#else
113 ATH_MSG_FATAL("there was a problem to find the correct type enum: "<<type);
114#endif // XAOD_STANDALONE
115 return StatusCode::FAILURE;
116 }
117 if (!sc.isSuccess()) {
118 ATH_MSG_FATAL("failed to set property: " << lList->At( i )->GetName());
119 return StatusCode::FAILURE;
120 }
121 }
122 return StatusCode::SUCCESS;
123}
#define ATH_MSG_FATAL(x)
void setProperty(columnar::PythonToolHandle &self, const std::string &key, nb::object value)
Type
Property type enumeration.
Definition Property.h:27
std::string find_file(const std::string &fname) const
const T * getProperty(const std::string &name) const
Get one of the tool's properties.

◆ removeOffsideTracksWrtLeadTrk()

void TauTrackFinder::removeOffsideTracksWrtLeadTrk ( const EventContext & ctx,
std::vector< const xAOD::TrackParticle * > & tauTracks,
std::vector< const xAOD::TrackParticle * > & wideTracks,
std::vector< const xAOD::TrackParticle * > & otherTracks,
const xAOD::Vertex * tauOrigin,
double maxDeltaZ0 ) const
private

Definition at line 553 of file TauTrackFinder.cxx.

559{
560 float MAX=1e5;
561
562 // need at least one core track to have a leading trk to compare with
563 if (tauTracks.empty()) return;
564
565 // get lead trk parameters
566 const xAOD::TrackParticle *leadTrack = tauTracks.at(0);
567 float z0_leadTrk = getZ0(ctx, leadTrack, tauOrigin);
568
569 if (z0_leadTrk > MAX-1) return; // bad lead trk -> do nothing
570
571 ATH_MSG_VERBOSE("before z0 cut: #coreTracks=" << tauTracks.size() << ", #wideTracks=" << wideTracks.size() << ", #otherTracks=" << otherTracks.size());
572
573 std::vector<const xAOD::TrackParticle*>::iterator itr;
574
575 // skip leading track, because it is the reference
576 itr = tauTracks.begin()+1;
577 while (itr!=tauTracks.end()) {
578 float z0 = getZ0(ctx, *itr, tauOrigin);
579 float deltaZ0=z0 - z0_leadTrk;
580 ATH_MSG_VERBOSE("core Trks: deltaZ0= " << deltaZ0);
581
582 if ( std::abs(deltaZ0) < maxDeltaZ0 ) {++itr;}
583 else {
584 otherTracks.push_back(*itr);
585 itr = tauTracks.erase(itr); //remove from core track collection
586 }
587 }
588
589 // check wide tracks
590 itr = wideTracks.begin();
591 while (itr!=wideTracks.end()) {
592 float z0 = getZ0(ctx, *itr, tauOrigin);
593 float deltaZ0=z0 - z0_leadTrk;
594 ATH_MSG_VERBOSE("wide Trks: deltaZ0= " << deltaZ0);
595
596 if ( std::abs(deltaZ0) < maxDeltaZ0 ) { ++itr; }
597 else {
598 otherTracks.push_back(*itr);
599 itr = wideTracks.erase(itr); //remove from wide track collection
600 }
601 }
602
603 ATH_MSG_VERBOSE("after z0 cut: #coreTracks=" << tauTracks.size() << ", #wideTracks=" << wideTracks.size() << ", #otherTracks=" << otherTracks.size());
604
605 // sort again
606 std::sort(tauTracks.begin(), tauTracks.end(), TrackSort());
607 std::sort(wideTracks.begin(), wideTracks.end(), TrackSort());
608 std::sort(otherTracks.begin(), otherTracks.end(), TrackSort());
609}
float getZ0(const EventContext &ctx, const xAOD::TrackParticle *track, const xAOD::Vertex *vertex) const
Some internally used functions.

◆ 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< AlgTool > >::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< AlgTool > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ tauTrackType()

TauTrackFinder::TauTrackType TauTrackFinder::tauTrackType ( const xAOD::TauJet & tauJet,
const xAOD::TrackParticle & trackParticle,
const xAOD::Vertex * primaryVertex ) const
private

Definition at line 344 of file TauTrackFinder.cxx.

347{
348 double dR = pTau.p4().DeltaR(trackParticle.p4());
349
350 if (dR > m_maxJetDr_wide) return NotTauTrack;
351
352 bool goodTrack = m_trackSelectorTool_tau->decision(trackParticle, primaryVertex);
353
354 if (goodTrack) {
355 if (dR > m_maxJetDr_tau)
356 return TauTrackWide;
357 else
358 return TauTrackCore;
359 } else
360 return TauTrackOther;
361}
Gaudi::Property< double > m_maxJetDr_wide
virtual FourMom_t p4() const override final
The full 4-momentum of the particle.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::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 }
std::vector< SG::VarHandleKeyArray * > m_vhka

Member Data Documentation

◆ m_applyZ0cut

Gaudi::Property<bool> TauTrackFinder::m_applyZ0cut {this, "removeTracksOutsideZ0wrtLeadTrk", false}
private

Definition at line 110 of file TauTrackFinder.h.

110{this, "removeTracksOutsideZ0wrtLeadTrk", false};

◆ m_beamSpotKey

SG::ReadCondHandleKey<InDet::BeamSpotData> TauTrackFinder::m_beamSpotKey { this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot" }
private

Definition at line 122 of file TauTrackFinder.h.

122{ this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot" };

◆ m_bypassExtrapolator

Gaudi::Property<bool> TauTrackFinder::m_bypassExtrapolator {this, "BypassExtrapolator", false}
private

Definition at line 113 of file TauTrackFinder.h.

113{this, "BypassExtrapolator", false};

◆ m_caloExtensionTool

ToolHandle<Trk::IParticleCaloExtensionTool> TauTrackFinder::m_caloExtensionTool {this, "ParticleCaloExtensionTool", "Trk::ParticleCaloExtensionTool/ParticleCaloExtensionTool", "Tool for the extrapolation of charged tracks"}
private

tools

Definition at line 103 of file TauTrackFinder.h.

103{this, "ParticleCaloExtensionTool", "Trk::ParticleCaloExtensionTool/ParticleCaloExtensionTool", "Tool for the extrapolation of charged tracks"};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 393 of file AthCommonDataStore.h.

◆ m_EMSamplings

std::set<CaloSampling::CaloSample> TauTrackFinder::m_EMSamplings
private

Definition at line 124 of file TauTrackFinder.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_ghostTrackDR

Gaudi::Property<double> TauTrackFinder::m_ghostTrackDR {this, "ghostTrackDR", 0.25}
private

Definition at line 115 of file TauTrackFinder.h.

115{this, "ghostTrackDR", 0.25};

◆ m_HadSamplings

std::set<CaloSampling::CaloSample> TauTrackFinder::m_HadSamplings
private

Definition at line 125 of file TauTrackFinder.h.

◆ m_in_AOD

Gaudi::Property<bool> TauRecToolBase::m_in_AOD {this, "inAOD", false, "Indicate if the tool is running on AOD"}
protectedinherited

Definition at line 77 of file TauRecToolBase.h.

77{this, "inAOD", false, "Indicate if the tool is running on AOD"};

◆ m_in_EleRM

Gaudi::Property<bool> TauRecToolBase::m_in_EleRM {this, "inEleRM", false, "Indicate if the tool is running on EleRM routine"}
protectedinherited

Definition at line 78 of file TauRecToolBase.h.

78{this, "inEleRM", false, "Indicate if the tool is running on EleRM routine"};

◆ m_in_trigger

Gaudi::Property<bool> TauRecToolBase::m_in_trigger {this, "inTrigger", false, "Indicate if the tool is running on trigger"}
protectedinherited

Definition at line 76 of file TauRecToolBase.h.

76{this, "inTrigger", false, "Indicate if the tool is running on trigger"};

◆ m_jetContainer

SG::ReadHandleKey<xAOD::JetContainer> TauTrackFinder::m_jetContainer {this,"Key_jetContainer", "", "Name of the seed jet container, when using ghost matching"}
private

Definition at line 119 of file TauTrackFinder.h.

119{this,"Key_jetContainer", "", "Name of the seed jet container, when using ghost matching"};

◆ m_largeD0TracksInputContainer

SG::ReadHandleKey<xAOD::TrackParticleContainer> TauTrackFinder::m_largeD0TracksInputContainer {this,"Key_LargeD0TrackInputContainer", "", "input LRT particle container key"}
private

Definition at line 118 of file TauTrackFinder.h.

118{this,"Key_LargeD0TrackInputContainer", "", "input LRT particle container key"}; //Expecting InDetLargeD0TrackParticles (offline tracks) if using LRT used

◆ m_maxJetDr_tau

Gaudi::Property<double> TauTrackFinder::m_maxJetDr_tau {this, "MaxJetDrTau", 0.2}
private

Definition at line 108 of file TauTrackFinder.h.

108{this, "MaxJetDrTau", 0.2};

◆ m_maxJetDr_wide

Gaudi::Property<double> TauTrackFinder::m_maxJetDr_wide {this, "MaxJetDrWide", 0.4}
private

Definition at line 109 of file TauTrackFinder.h.

109{this, "MaxJetDrWide", 0.4};

◆ m_ParticleCacheKey

SG::ReadHandleKey<CaloExtensionCollection> TauTrackFinder::m_ParticleCacheKey {this,"tauParticleCache", "ParticleCaloExtension", "Name of the particle measurement extrapolation cache for TauTrackFinder"}
private

Definition at line 120 of file TauTrackFinder.h.

120{this,"tauParticleCache", "ParticleCaloExtension", "Name of the particle measurement extrapolation cache for TauTrackFinder"};

◆ m_removeDuplicateCoreTracks

Gaudi::Property<bool> TauTrackFinder::m_removeDuplicateCoreTracks {this, "removeDuplicateCoreTracks", true}
private

Definition at line 112 of file TauTrackFinder.h.

112{this, "removeDuplicateCoreTracks", true};

◆ m_tauRecToolsTag

Gaudi::Property<std::string> TauRecToolBase::m_tauRecToolsTag {this, "calibFolder", "tauRecTools/R22_preprod", "CVMFS path to the tau calibration folder"}
protectedinherited

Definition at line 79 of file TauRecToolBase.h.

79{this, "calibFolder", "tauRecTools/R22_preprod", "CVMFS path to the tau calibration folder"};

◆ m_trackPartInputContainer

SG::ReadHandleKey<xAOD::TrackParticleContainer> TauTrackFinder::m_trackPartInputContainer {this,"Key_trackPartInputContainer", "InDetTrackParticles", "input track particle container key"}
private

Definition at line 117 of file TauTrackFinder.h.

117{this,"Key_trackPartInputContainer", "InDetTrackParticles", "input track particle container key"};

◆ m_trackSelectorTool_tau

ToolHandle<Trk::ITrackSelectorTool> TauTrackFinder::m_trackSelectorTool_tau {this, "TrackSelectorToolTau", "", "Tool for track selection"}
private

Definition at line 104 of file TauTrackFinder.h.

104{this, "TrackSelectorToolTau", "", "Tool for track selection"};

◆ m_trackToVertexIPEstimator

ToolHandle<Trk::ITrackToVertexIPEstimator> TauTrackFinder::m_trackToVertexIPEstimator {this, "TrackToVertexIPEstimator", ""}
private

Definition at line 106 of file TauTrackFinder.h.

106{this, "TrackToVertexIPEstimator", ""};

◆ m_trackToVertexTool

ToolHandle<Reco::ITrackToVertex> TauTrackFinder::m_trackToVertexTool {this, "TrackToVertexTool", "Reco::TrackToVertex"}
private

Definition at line 105 of file TauTrackFinder.h.

105{this, "TrackToVertexTool", "Reco::TrackToVertex"};

◆ m_useGhostTracks

Gaudi::Property<bool> TauTrackFinder::m_useGhostTracks {this, "useGhostTracks", false}
private

Definition at line 114 of file TauTrackFinder.h.

114{this, "useGhostTracks", false};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.

◆ m_z0maxDelta

Gaudi::Property<float> TauTrackFinder::m_z0maxDelta {this, "maxDeltaZ0wrtLeadTrk", 1000.}
private

Definition at line 111 of file TauTrackFinder.h.

111{this, "maxDeltaZ0wrtLeadTrk", 1000.};

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