ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
xAODMaker::TauJetCnvTool Class Reference

#include <TauJetCnvTool.h>

Inheritance diagram for xAODMaker::TauJetCnvTool:
Collaboration diagram for xAODMaker::TauJetCnvTool:

Public Member Functions

 TauJetCnvTool (const std::string &type, const std::string &name, const IInterface *parent)
 Constructor with parameters: More...
 
virtual ~TauJetCnvTool () override
 Destructor: More...
 
virtual StatusCode initialize () override
 
virtual StatusCode convert (const Analysis::TauJetContainer *inputTaus, xAOD::TauJetContainer *xaodTauJets) const override
 Function that fills an existing xAOD::TauJetContainer. More...
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Gaudi interface definition. More...
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
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. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

 TauJetCnvTool ()
 Default constructor: More...
 
void setLinks (const Analysis::TauJet &aodtau, xAOD::TauJet &xaodtau) const
 
ElementLink< xAOD::TrackParticleContainergetNewTrackLink (const ElementLink< Rec::TrackParticleContainer > &oldLink, const std::string &name) const
 
ElementLink< xAOD::JetContainergetNewJetLink (const ElementLink< JetCollection > &oldLink, const std::string &name) const
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

Gaudi::Property< std::string > m_inDetTrackParticles {this, "TrackContainerName", "InDetTrackParticles"}
 Containers. More...
 
Gaudi::Property< std::string > m_jets {this, "JetContainerName", "AntiKt4LCTopoJets"}
 Location/Key for jets. More...
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 38 of file TauJetCnvTool.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TauJetCnvTool() [1/2]

xAODMaker::TauJetCnvTool::TauJetCnvTool ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Constructor with parameters:

Definition at line 30 of file TauJetCnvTool.cxx.

32  :
34  {
35  declareInterface< ITauJetCnvTool > (this);
36  }

◆ ~TauJetCnvTool()

xAODMaker::TauJetCnvTool::~TauJetCnvTool ( )
overridevirtual

Destructor:

Definition at line 40 of file TauJetCnvTool.cxx.

41  {}

◆ TauJetCnvTool() [2/2]

xAODMaker::TauJetCnvTool::TauJetCnvTool ( )
private

Default constructor:

Member Function Documentation

◆ convert()

StatusCode xAODMaker::TauJetCnvTool::convert ( const Analysis::TauJetContainer inputTaus,
xAOD::TauJetContainer xAODTauJets 
) const
overridevirtual

Function that fills an existing xAOD::TauJetContainer.

Implements xAODMaker::ITauJetCnvTool.

Definition at line 52 of file TauJetCnvTool.cxx.

53  {
56 
57  for( ; it!= itE; ++it)
58  {
59  const Analysis::TauJet * tau = *it;
60 
61  ATH_MSG_DEBUG( "trying to convert tau with pt="<< tau->pt() << " eta=" << tau->eta() << " phi=" << tau->phi() << " m=" << tau->m() );
62 
63  xAOD::TauJet* xtaujet = new xAOD::TauJet();
64  xaodTauJets->push_back( xtaujet );
65 
66  xtaujet->setP4( tau->pt(), tau->eta(), tau->phi(), tau->m() );
67 
68  ATH_MSG_DEBUG( "converted xtau with pt="<< xtaujet->pt() << " eta=" << xtaujet->eta() << " phi=" << xtaujet->phi() << " m=" << xtaujet->m() );
69 
70  ATH_MSG_DEBUG( "trying to convert tau jetseed 4-vector with pt="<< tau->getHLV(TauJetParameters::JetSeed).perp() << " eta=" << tau->getHLV(TauJetParameters::JetSeed).eta() << " phi=" << tau->getHLV(TauJetParameters::JetSeed).phi() << " m=" << tau->getHLV(TauJetParameters::JetSeed).m() );
71 
72 
74 
75  ATH_MSG_DEBUG( "converted xtau jetseed 4-vector with pt="<< xtaujet->ptJetSeed() << " eta=" << xtaujet->etaJetSeed() << " phi=" << xtaujet->phiJetSeed() << " m=" << xtaujet->mJetSeed() );
76 
77  ATH_MSG_DEBUG( "trying to convert tau detectoraxis 4-vector with pt="<< tau->getHLV(TauJetParameters::DetectorAxis).perp() << " eta=" << tau->getHLV(TauJetParameters::DetectorAxis).eta() << " phi=" << tau->getHLV(TauJetParameters::DetectorAxis).phi() << " m=" << tau->getHLV(TauJetParameters::DetectorAxis).m() );
78 
80 
81  ATH_MSG_DEBUG( "converted xtau detectoraxis 4-vector with pt="<< xtaujet->ptDetectorAxis() << " eta=" << xtaujet->etaDetectorAxis() << " phi=" << xtaujet->phiDetectorAxis() << " m=" << xtaujet->mDetectorAxis() );
82 
83 
84  ATH_MSG_DEBUG( "trying to convert tau intermediateaxis 4-vector with pt="<< tau->getHLV(TauJetParameters::IntermediateAxis).perp() << " eta=" << tau->getHLV(TauJetParameters::IntermediateAxis).eta() << " phi=" << tau->getHLV(TauJetParameters::IntermediateAxis).phi() << " m=" << tau->getHLV(TauJetParameters::IntermediateAxis).m() );
85 
87 
88  ATH_MSG_DEBUG( "converted xtau intermediateaxis 4-vector with pt="<< xtaujet->ptIntermediateAxis() << " eta=" << xtaujet->etaIntermediateAxis() << " phi=" << xtaujet->phiIntermediateAxis() << " m=" << xtaujet->mIntermediateAxis() );
89 
90 
91  ATH_MSG_DEBUG( "trying to convert tau tauenergyscale 4-vector with pt="<< tau->getHLV(TauJetParameters::TauEnergyScale).perp() << " eta=" << tau->getHLV(TauJetParameters::TauEnergyScale).eta() << " phi=" << tau->getHLV(TauJetParameters::TauEnergyScale).phi() << " m=" << tau->getHLV(TauJetParameters::TauEnergyScale).m() );
92 
94 
95  ATH_MSG_DEBUG( "converted xtau tauenergyscale 4-vector with pt="<< xtaujet->ptTauEnergyScale() << " eta=" << xtaujet->etaTauEnergyScale() << " phi=" << xtaujet->phiTauEnergyScale() << " m=" << xtaujet->mTauEnergyScale() );
96 
97  ATH_MSG_DEBUG( "trying to convert tau intermediateaxis 4-vector with pt="<< tau->getHLV(TauJetParameters::TauEtaCalib).perp() << " eta=" << tau->getHLV(TauJetParameters::TauEtaCalib).eta() << " phi=" << tau->getHLV(TauJetParameters::TauEtaCalib).phi() << " m=" << tau->getHLV(TauJetParameters::TauEtaCalib).m() );
98 
100 
101  ATH_MSG_DEBUG( "converted xtau intermediateaxis 4-vector with pt="<< xtaujet->ptTauEtaCalib() << " eta=" << xtaujet->etaTauEtaCalib() << " phi=" << xtaujet->phiTauEtaCalib() << " m=" << xtaujet->mTauEtaCalib() );
102 
103  //trying to set element links
104  ATH_MSG_DEBUG( "trying to set element links for tau with numTrack=" << tau->numTrack() );
105 
106  ATH_MSG_DEBUG( "converted xaod tau with numTrack=" << xtaujet->nTracks() );
107 
108 
109  ATH_MSG_DEBUG( "trying to convert tau with ROIWord=" << tau->ROIWord() );
110  xtaujet->setROIWord( tau->ROIWord());
111  ATH_MSG_DEBUG( "converted xaod tau with ROIWord=" << xtaujet->ROIWord() );
112 
113  ATH_MSG_DEBUG( "trying to convert tau with charge=" << tau->charge() );
114  xtaujet->setCharge( tau->charge() );
115  ATH_MSG_DEBUG( "converted xaod tau with charge=" << xtaujet->charge() );
116 
117  //set PID variables
118 
119  ATH_MSG_DEBUG( "trying to convert tau with BDTElescore=" << tau->tauID()->discriminant(TauJetParameters::BDTEleScore) );
121  ATH_MSG_DEBUG( "converted xaod tau with BDTEleScore=" << xtaujet->discriminant(xAOD::TauJetParameters::BDTEleScore ) );
122 
125 
126  ATH_MSG_DEBUG( "trying to convert tau with MuonVeto=" << tau->tauID()->isTau(TauJetParameters::MuonVeto) );
128 
135 
136  ATH_MSG_DEBUG( "set individual details variables" );
137 
138  //set individual details variables
139 
140  const Analysis::TauCommonDetails* commonDetails(tau->details<Analysis::TauCommonDetails>());
141  if(commonDetails != nullptr)
142  {
143  int tempint = 0;
144 
145  ATH_MSG_DEBUG( "tau with nCharged " << tau->numTrack() );
146  xtaujet->setDetail(xAOD::TauJetParameters::nCharged , static_cast<int>( tau->numTrack() ) );
147  if( xtaujet->detail( xAOD::TauJetParameters::nCharged, tempint ) )
148  ATH_MSG_DEBUG( "converted xaod tau with nPi0 " << tempint );
149 
150 
151  ATH_MSG_DEBUG( "tau with pi0ConeDR " << commonDetails->Pi0ConeDR() );
152  xtaujet->setPi0ConeDR( commonDetails->Pi0ConeDR() );
153  ATH_MSG_DEBUG( "converted xaod tau with pi0ConeDR " << xtaujet->pi0ConeDR() );
154 
155  ATH_MSG_DEBUG( "tau with trackFilterProngs " << commonDetails->TrackFilterProngs() );
156  xtaujet->setTrackFilterProngs( commonDetails->TrackFilterProngs() );
157  ATH_MSG_DEBUG( "converted xaod tau with trackFilterProngs " << xtaujet->trackFilterProngs() );
158 
159  ATH_MSG_DEBUG( "tau with trackFilterQuality " << commonDetails->TrackFilterQuality() );
160  xtaujet->setTrackFilterQuality( commonDetails->TrackFilterQuality() );
161  ATH_MSG_DEBUG( "converted xaod tau with trackFilterQuality " << xtaujet->trackFilterQuality() );
162 
163  ATH_MSG_DEBUG( "found details container for this tau with SeedCalo_EMRadius " << commonDetails->seedCalo_EMRadius() );
164 
165  xtaujet->setDetail(xAOD::TauJetParameters::ipZ0SinThetaSigLeadTrk , static_cast<float>( commonDetails->ipZ0SinThetaSigLeadTrk() ) );
166  xtaujet->setDetail(xAOD::TauJetParameters::etOverPtLeadTrk , static_cast<float>( commonDetails->etOverPtLeadTrk() ) );
167  xtaujet->setDetail(xAOD::TauJetParameters::leadTrkPt , static_cast<float>( commonDetails->leadTrkPt() ) );
168  xtaujet->setDetail(xAOD::TauJetParameters::ipSigLeadTrk , static_cast<float>( commonDetails->ipSigLeadTrk() ) );
169  xtaujet->setDetail(xAOD::TauJetParameters::massTrkSys , static_cast<float>( commonDetails->massTrkSys() ) );
170  xtaujet->setDetail(xAOD::TauJetParameters::trkWidth2 , static_cast<float>( commonDetails->trkWidth2() ) );
171  xtaujet->setDetail(xAOD::TauJetParameters::trFlightPathSig , static_cast<float>( commonDetails->trFlightPathSig() ) );
172  xtaujet->setDetail(xAOD::TauJetParameters::numCells , static_cast<int>( commonDetails->numCells() ) );
173  xtaujet->setDetail(xAOD::TauJetParameters::numTopoClusters , static_cast<int>( commonDetails->numTopoClusters() ) );
174  xtaujet->setDetail(xAOD::TauJetParameters::numEffTopoClusters , static_cast<float>( commonDetails->numEffTopoClusters() ) );
175  xtaujet->setDetail(xAOD::TauJetParameters::topoInvMass , static_cast<float>( commonDetails->topoInvMass() ) );
176  xtaujet->setDetail(xAOD::TauJetParameters::effTopoInvMass , static_cast<float>( commonDetails->effTopoInvMass() ) );
177  xtaujet->setDetail(xAOD::TauJetParameters::topoMeanDeltaR , static_cast<float>( commonDetails->topoMeanDeltaR() ) );
178  xtaujet->setDetail(xAOD::TauJetParameters::effTopoMeanDeltaR , static_cast<float>( commonDetails->effTopoMeanDeltaR() ) );
179  xtaujet->setDetail(xAOD::TauJetParameters::EMRadius , static_cast<float>( commonDetails->seedCalo_EMRadius() ) );
180 
181  float tempfloat = 0;
182  if ( xtaujet->detail(xAOD::TauJetParameters::EMRadius, tempfloat) )
183  ATH_MSG_DEBUG( "converted details for this xaod tau with SeedCalo_EMRadius " << tempfloat );
184  else
185  ATH_MSG_DEBUG( "error getting SeedCalo_EMRadius from xaod tau " );
186 
187  xtaujet->setDetail(xAOD::TauJetParameters::hadRadius , static_cast<float>( commonDetails->seedCalo_hadRadius() ) );
188  xtaujet->setDetail(xAOD::TauJetParameters::etEMAtEMScale , static_cast<float>( commonDetails->seedCalo_etEMAtEMScale() ) );
189  xtaujet->setDetail(xAOD::TauJetParameters::etHadAtEMScale , static_cast<float>( commonDetails->seedCalo_etHadAtEMScale() ) );
190  xtaujet->setDetail(xAOD::TauJetParameters::isolFrac , static_cast<float>( commonDetails->seedCalo_isolFrac() ) );
191  xtaujet->setDetail(xAOD::TauJetParameters::centFrac , static_cast<float>( commonDetails->seedCalo_centFrac() ) );
192  xtaujet->setDetail(xAOD::TauJetParameters::stripWidth2 , static_cast<float>( commonDetails->seedCalo_stripWidth2() ) );
193  xtaujet->setDetail(xAOD::TauJetParameters::nStrip , static_cast<int>( commonDetails->seedCalo_nStrip() ) );
194  xtaujet->setDetail(xAOD::TauJetParameters::trkAvgDist , static_cast<float>( commonDetails->seedCalo_trkAvgDist() ) );
195  xtaujet->setDetail(xAOD::TauJetParameters::trkRmsDist , static_cast<float>( commonDetails->seedCalo_trkRmsDist() ) );
196  xtaujet->setDetail(xAOD::TauJetParameters::lead2ClusterEOverAllClusterE , static_cast<float>( commonDetails->seedCalo_lead2ClusterEOverAllClusterE() ) );
197  xtaujet->setDetail(xAOD::TauJetParameters::lead3ClusterEOverAllClusterE , static_cast<float>( commonDetails->seedCalo_lead3ClusterEOverAllClusterE() ) );
198  xtaujet->setDetail(xAOD::TauJetParameters::caloIso , static_cast<float>( commonDetails->seedCalo_caloIso() ) );
199  xtaujet->setDetail(xAOD::TauJetParameters::caloIsoCorrected , static_cast<float>( commonDetails->seedCalo_caloIsoCorrected() ) );
200  xtaujet->setDetail(xAOD::TauJetParameters::dRmax , static_cast<float>( commonDetails->seedCalo_dRmax() ) );
201  xtaujet->setDetail(xAOD::TauJetParameters::secMaxStripEt , static_cast<float>( commonDetails->seedTrk_secMaxStripEt() ) );
202  xtaujet->setDetail(xAOD::TauJetParameters::sumEMCellEtOverLeadTrkPt , static_cast<float>( commonDetails->seedTrk_sumEMCellEtOverLeadTrkPt() ) );
203  xtaujet->setDetail(xAOD::TauJetParameters::hadLeakEt , static_cast<float>( commonDetails->seedTrk_hadLeakEt() ) );
204 
205  xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing1 , static_cast<float>( commonDetails->cellBasedEnergyRing1() ) );
206  xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing2 , static_cast<float>( commonDetails->cellBasedEnergyRing2() ) );
207  xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing3 , static_cast<float>( commonDetails->cellBasedEnergyRing3() ) );
208  xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing4 , static_cast<float>( commonDetails->cellBasedEnergyRing4() ) );
209  xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing5 , static_cast<float>( commonDetails->cellBasedEnergyRing5() ) );
210  xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing6 , static_cast<float>( commonDetails->cellBasedEnergyRing6() ) );
211  xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing7 , static_cast<float>( commonDetails->cellBasedEnergyRing7() ) );
212  xtaujet->setDetail(xAOD::TauJetParameters::TRT_NHT_OVER_NLT , static_cast<float>( commonDetails->TRT_NHT_OVER_NLT() ) );
213  } else {
214  ATH_MSG_WARNING( "there was no TauDetails container found" );
215  }
216 
217  }
218 
219 
220  return StatusCode::SUCCESS;
221  }

◆ declareGaudiProperty() [1/4]

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

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

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

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  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

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

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

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T, V, H > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

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  }

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

95 { return m_detStore; }

◆ evtStore() [1/2]

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.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( ) const
inlineinherited

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ 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

◆ getNewJetLink()

ElementLink< xAOD::JetContainer > xAODMaker::TauJetCnvTool::getNewJetLink ( const ElementLink< JetCollection > &  oldLink,
const std::string &  name 
) const
private

Definition at line 258 of file TauJetCnvTool.cxx.

258  {
260  newLink.resetWithKeyAndIndex( name, oldLink.index() );
261  return newLink;
262  }

◆ getNewTrackLink()

ElementLink< xAOD::TrackParticleContainer > xAODMaker::TauJetCnvTool::getNewTrackLink ( const ElementLink< Rec::TrackParticleContainer > &  oldLink,
const std::string &  name 
) const
private

Definition at line 252 of file TauJetCnvTool.cxx.

252  {
254  newLink.resetWithKeyAndIndex( name, oldLink.index() );
255  return newLink;
256  }

◆ initialize()

StatusCode xAODMaker::TauJetCnvTool::initialize ( )
overridevirtual

Definition at line 45 of file TauJetCnvTool.cxx.

46  {
47  ATH_MSG_INFO ("Initializing " << name() << "...");
48 
49  return StatusCode::SUCCESS;
50  }

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

◆ interfaceID()

static const InterfaceID& xAODMaker::ITauJetCnvTool::interfaceID ( )
inlinestaticinherited

Gaudi interface definition.

Definition at line 49 of file ITauJetCnvTool.h.

49  {
50  return IID_ITauJetCnvTool;
51  }

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

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

◆ 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();
383  PBASE::renounce (h);
384  }

◆ 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  {
365  handlesArray.renounce();
366  }

◆ setLinks()

void xAODMaker::TauJetCnvTool::setLinks ( const Analysis::TauJet aodtau,
xAOD::TauJet xaodtau 
) const
private

Definition at line 223 of file TauJetCnvTool.cxx.

223  {
224 
225  // Need to reset links from old TrackParticle to xAOD::TrackParticles
226 
227  for (unsigned int i = 0; i != aodtau.numTrack(); ++i)
228  {
229  ATH_MSG_DEBUG( "track number : " << i << " has pt: " << (aodtau.track(i) ? aodtau.track(i)->pt() : -1111.) );
230  }
231 
232  //get common details member, because wide and other tracks are stored there
233  const Analysis::TauCommonDetails* commonDetails(aodtau.details<Analysis::TauCommonDetails>());
234 
235 
236  for (unsigned int i = 0; i != commonDetails->seedCalo_nWideTrk(); ++i)
237  {
238  ATH_MSG_DEBUG( "wide track number : " << i << " has pt: " << commonDetails->seedCalo_wideTrk(i)->pt() );
239  }
240 
241  ATH_MSG_DEBUG( "trying to set jet link " );
242 
243  ATH_MSG_DEBUG( "tau jet seed has pt : " << aodtau.jet()->pt() );
244 
245  xaodtau.setJetLink(getNewJetLink(aodtau.jetLink(), m_jets) );
246 
247  ATH_MSG_DEBUG( "tau jet seed has pt : " << (*xaodtau.jetLink())->pt() );
248 
249 
250  }

◆ 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 DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

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

◆ 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) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ 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_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_inDetTrackParticles

Gaudi::Property<std::string> xAODMaker::TauJetCnvTool::m_inDetTrackParticles {this, "TrackContainerName", "InDetTrackParticles"}
private

Containers.

Location/Key for TrackParticles from ID.

Definition at line 79 of file TauJetCnvTool.h.

◆ m_jets

Gaudi::Property<std::string> xAODMaker::TauJetCnvTool::m_jets {this, "JetContainerName", "AntiKt4LCTopoJets"}
private

Location/Key for jets.

Definition at line 80 of file TauJetCnvTool.h.

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


The documentation for this class was generated from the following files:
xAOD::TauJetParameters::cellBasedEnergyRing4
@ cellBasedEnergyRing4
Ring 4: 0.10 < R < 0.125.
Definition: TauDefs.h:252
TauJetParameters::MuonVeto
@ MuonVeto
Definition: TauJetParameters.h:109
xAOD::TauJet_v3::phiDetectorAxis
double phiDetectorAxis() const
xAOD::TauJetParameters::trkRmsDist
@ trkRmsDist
Get the RMS of track distance to calorimeter seed.
Definition: TauDefs.h:216
xAOD::TauJet_v3::trackFilterQuality
int trackFilterQuality() const
xAOD::TauJet_v3::etaTauEtaCalib
double etaTauEtaCalib() const
Analysis::TauJet::track
const Rec ::TrackParticle * track(unsigned int i) const
Tracks associated to Tau candidate.
xAOD::TauJet_v3::mTauEnergyScale
double mTauEnergyScale() const
xAOD::TauJet_v3::mDetectorAxis
double mDetectorAxis() const
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
xAOD::TauJet_v3::etaTauEnergyScale
double etaTauEnergyScale() const
xAOD::TauJetParameters::trkWidth2
@ trkWidth2
Definition: TauDefs.h:162
xAOD::TauJetParameters::topoInvMass
@ topoInvMass
get invariant mass from topoclusters of jet associated to tau candidate
Definition: TauDefs.h:177
xAOD::TauJetParameters::cellBasedEnergyRing7
@ cellBasedEnergyRing7
Ring 7: 0.2 < R < 0.4.
Definition: TauDefs.h:258
xAOD::TauJetParameters::hadLeakEt
@ hadLeakEt
Definition: TauDefs.h:232
ParticleImpl::pt
virtual double pt() const
transverse momentum
Definition: ParticleImpl.h:554
xAOD::TauJet_v3::pi0ConeDR
float pi0ConeDR() const
xAOD::TauJetParameters::IntermediateAxis
@ IntermediateAxis
Definition: TauDefs.h:338
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
xAOD::TauJetParameters::trFlightPathSig
@ trFlightPathSig
Definition: TauDefs.h:163
xAOD::TauJet_v3::discriminant
double discriminant(TauJetParameters::TauID discID) const
Get value of discriminant.
Definition: TauJet_v3.cxx:225
xAOD::TauJetParameters::lead2ClusterEOverAllClusterE
@ lead2ClusterEOverAllClusterE
Get sum of 2 leading cluster energy over all cluster energy.
Definition: TauDefs.h:218
xAOD::TauJet_v3::phiIntermediateAxis
double phiIntermediateAxis() const
xAOD::TauJet_v3::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
Analysis::TauJet::getHLV
CLHEP::HepLorentzVector getHLV(TauJetParameters ::TauCalibType type) const
xAODMaker::TauJetCnvTool::m_jets
Gaudi::Property< std::string > m_jets
Location/Key for jets.
Definition: TauJetCnvTool.h:80
xAOD::TauJet_v3::etaDetectorAxis
double etaDetectorAxis() const
xAOD::TauJet_v3::etaIntermediateAxis
double etaIntermediateAxis() const
xAOD::TauJetParameters::nCharged
@ nCharged
Definition: TauDefs.h:266
xAOD::TauJet_v3::setJetLink
void setJetLink(const JetLink_t &jetLink)
TauJetParameters::EleBDTLoose
@ EleBDTLoose
Definition: TauJetParameters.h:127
xAOD::TauJet_v3::setCharge
void setCharge(float)
xAOD::TauJet_v3::m
virtual double m() const
The invariant mass of the particle.
TauJetParameters::JetBDTSigMedium
@ JetBDTSigMedium
Definition: TauJetParameters.h:125
Analysis::TauJet::jet
const Jet * jet() const
seed Jet, might be NULL if not seeded from a Jet
xAOD::TauJet_v3::nTracks
size_t nTracks(TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
Definition: TauJet_v3.cxx:488
skel.it
it
Definition: skel.GENtoEVGEN.py:407
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
TauJetParameters::EleBDTMedium
@ EleBDTMedium
Definition: TauJetParameters.h:128
Analysis::TauJet::details
const T * details(const std::string &name) const
Get first details object stored in SG collection with matching name.
xAOD::TauJetParameters::TauEtaCalib
@ TauEtaCalib
Definition: TauDefs.h:340
xAOD::TauJetParameters::secMaxStripEt
@ secMaxStripEt
migrate only seedTrk_ variables which are used in reco and ID and without prefix
Definition: TauDefs.h:230
xAOD::TauJetParameters::lead3ClusterEOverAllClusterE
@ lead3ClusterEOverAllClusterE
Get sum of 3 leading cluster energy over all cluster energy.
Definition: TauDefs.h:220
xAOD::TauJetParameters::JetBDTSigMedium
@ JetBDTSigMedium
Definition: TauDefs.h:137
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Analysis::TauJet::jetLink
const ElementLink< JetCollection > jetLink() const
ElementLink to seed Jet, might be invalid if not seeded from a Jet
xAOD::TauJetParameters::EleBDTLoose
@ EleBDTLoose
Definition: TauDefs.h:139
xAOD::TauJet_v3::ptJetSeed
double ptJetSeed() const
xAOD::TauJetParameters::cellBasedEnergyRing1
@ cellBasedEnergyRing1
EM+TES final scale.
Definition: TauDefs.h:246
xAOD::TauJetParameters::EleBDTMedium
@ EleBDTMedium
Definition: TauDefs.h:140
xAOD::TauJet_v3::ptDetectorAxis
double ptDetectorAxis() const
xAOD::TauJetParameters::cellBasedEnergyRing6
@ cellBasedEnergyRing6
Ring 6: 0.15 < R < 0.2.
Definition: TauDefs.h:256
xAOD::TauJet_v3::setIsTau
void setIsTau(TauJetParameters::IsTauFlag flag, bool value)
Set Flag for tau acceptance based on predefined arbitrary criteria.
Definition: TauJet_v3.cxx:252
TauJetParameters::IntermediateAxis
@ IntermediateAxis
Definition: TauJetParameters.h:193
xAOD::TauJetParameters::hadRadius
@ hadRadius
Get hadron calorimeter radius.
Definition: TauDefs.h:192
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
xAOD::TauJet_v3::setP4
void setP4(double pt, double eta, double phi, double m)
Set methods for IParticle values.
Definition: TauJet_v3.cxx:171
xAOD::TauJetParameters::ipSigLeadTrk
@ ipSigLeadTrk
Definition: TauDefs.h:160
xAOD::TauJetParameters::JetSeed
@ JetSeed
Definition: TauDefs.h:336
TruthTest.itE
itE
Definition: TruthTest.py:25
Analysis::TauJet::tauID
const TauPID * tauID() const
Get TauPID object containing discriminant values.
xAOD::TauJet_v3::mTauEtaCalib
double mTauEtaCalib() const
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
xAOD::TauJetParameters::stripWidth2
@ stripWidth2
Get strip width ^2.
Definition: TauDefs.h:202
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
xAOD::TauJetParameters::centFrac
@ centFrac
Get centrality fraction.
Definition: TauDefs.h:200
xAOD::TauJet_v3::phiJetSeed
double phiJetSeed() const
xAOD::TauJetParameters::dRmax
@ dRmax
Get maximal dR of tracks associated to calo-seeded tau.
Definition: TauDefs.h:226
ParticleImpl::m
virtual double m() const
mass
Definition: ParticleImpl.h:464
Analysis::TauPID::discriminant
double discriminant(TauJetParameters::TauID discID) const
Get value of discriminant.
xAOD::TauJet_v3::ROIWord
unsigned int ROIWord() const
the ROIWord, in case TauJet is used in EF trigger
xAOD::TauJet_v3::pt
virtual double pt() const
The transverse momentum ( ) of the particle.
xAOD::TauJetParameters::JetBDTSigLoose
@ JetBDTSigLoose
Definition: TauDefs.h:136
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
Analysis::TauCommonDetails
Basic detail class containing information for track and calo seeded tau reconstruction algorithms.
Definition: TauCommonDetails.h:38
xAOD::TauJet_v3::phi
virtual double phi() const
The azimuthal angle ( ) of the particle.
xAOD::TauJetParameters::etHadAtEMScale
@ etHadAtEMScale
Get Hadronic energy at EM scale.
Definition: TauDefs.h:196
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
xAOD::TauJetParameters::topoMeanDeltaR
@ topoMeanDeltaR
get mean distance to leading topocluster for topoclusters of jet associated to tau candidate
Definition: TauDefs.h:181
xAOD::TauJetParameters::effTopoMeanDeltaR
@ effTopoMeanDeltaR
get mean distance to leading topocluster for effective topoclusters of jet associated to tau candidat...
Definition: TauDefs.h:183
xAOD::TauJet_v3::ptTauEnergyScale
double ptTauEnergyScale() const
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
ParticleImpl::charge
virtual ChargeType charge() const
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed...
Definition: ParticleImpl.h:718
Analysis::TauJet::numTrack
unsigned int numTrack() const
number of Tracks associated to Tau candidate, CAUTION not to be confused with numberOfTracks()!
lumiFormat.i
int i
Definition: lumiFormat.py:85
xAOD::TauJetParameters::caloIso
@ caloIso
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4
Definition: TauDefs.h:222
TauJetParameters::BDTEleScore
@ BDTEleScore
Boosted Decision Tree score for electron rejection.
Definition: TauJetParameters.h:76
xAOD::TauJetParameters::cellBasedEnergyRing2
@ cellBasedEnergyRing2
Ring 2: 0.05 < R < 0.075.
Definition: TauDefs.h:248
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Definition: AthCommonDataStore.h:145
xAOD::TauJetParameters::trkAvgDist
@ trkAvgDist
Get calibrated EM transverse energy (DEPRECATED since r19)
Definition: TauDefs.h:214
xAOD::TauJet_v3
Class describing a tau jet.
Definition: TauJet_v3.h:41
Analysis::TauPID::isTau
bool isTau(TauJetParameters::IsTauFlag flag) const
Get Flag for tau acceptance based on predefined arbitrary criteria.
xAOD::TauJet_v3::etaJetSeed
double etaJetSeed() const
xAOD::TauJet_v3::setTrackFilterProngs
void setTrackFilterProngs(int)
TauJetParameters::JetBDTSigLoose
@ JetBDTSigLoose
Definition: TauJetParameters.h:124
xAOD::TauJet_v3::jetLink
const JetLink_t & jetLink() const
Analysis::TauJet
Object for taus common for ESD and AOD.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:61
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ParticleImpl::phi
virtual double phi() const
phi in [-pi,pi[
Definition: ParticleImpl.h:524
xAOD::TauJet_v3::setTrackFilterQuality
void setTrackFilterQuality(int)
xAOD::TauJetParameters::etOverPtLeadTrk
@ etOverPtLeadTrk
Definition: TauDefs.h:158
xAOD::TauJetParameters::caloIsoCorrected
@ caloIsoCorrected
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4 (pile up corrected)
Definition: TauDefs.h:224
xAOD::TauJet_v3::ptTauEtaCalib
double ptTauEtaCalib() const
TauJetParameters::JetSeed
@ JetSeed
Definition: TauJetParameters.h:191
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
ParticleImpl::eta
virtual double eta() const
pseudo rapidity
Definition: ParticleImpl.h:514
xAOD::TauJet
TauJet_v3 TauJet
Definition of the current "tau version".
Definition: Event/xAOD/xAODTau/xAODTau/TauJet.h:17
xAOD::TauJetParameters::numTopoClusters
@ numTopoClusters
get number of topocluster constituents of jet associated to tau candidate
Definition: TauDefs.h:173
xAOD::TauJet_v3::phiTauEnergyScale
double phiTauEnergyScale() const
xAOD::TauJet_v3::mJetSeed
double mJetSeed() const
xAOD::TauJetParameters::EleBDTTight
@ EleBDTTight
Definition: TauDefs.h:141
xAOD::TauJetParameters::cellBasedEnergyRing5
@ cellBasedEnergyRing5
Ring 5: 0.125 < R < 0.15.
Definition: TauDefs.h:254
Analysis::TauJet::ROIWord
unsigned int ROIWord() const
Retrieve ROI Word (trigger purposes)
xAOD::TauJetParameters::massTrkSys
@ massTrkSys
Definition: TauDefs.h:161
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
xAOD::TauJetParameters::TauEnergyScale
@ TauEnergyScale
Definition: TauDefs.h:339
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
xAOD::TauJet_v3::detail
bool detail(TauJetParameters::Detail detail, int &value) const
Get and set values of common details variables via enum.
Definition: TauJet_v3.cxx:264
xAOD::TauJetParameters::JetBDTSigTight
@ JetBDTSigTight
Definition: TauDefs.h:138
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
TauJetParameters::DetectorAxis
@ DetectorAxis
Definition: TauJetParameters.h:192
xAOD::TauJetParameters::BDTJetScore
@ BDTJetScore
Boosted Decision Tree socre for Jet rejection (not transformed)
Definition: TauDefs.h:78
xAOD::TauJetParameters::nStrip
@ nStrip
Get number of strips.
Definition: TauDefs.h:204
xAOD::TauJetParameters::TRT_NHT_OVER_NLT
@ TRT_NHT_OVER_NLT
TRT hits high threshold over low threshold.
Definition: TauDefs.h:260
TauJetParameters::EleBDTTight
@ EleBDTTight
Definition: TauJetParameters.h:129
xAOD::TauJetParameters::cellBasedEnergyRing3
@ cellBasedEnergyRing3
Ring 3: 0.075 < R < 0.10.
Definition: TauDefs.h:250
TauJetParameters::TauEtaCalib
@ TauEtaCalib
Definition: TauJetParameters.h:195
xAOD::TauJetParameters::numEffTopoClusters
@ numEffTopoClusters
get number of effective topocluster constituents of jet associated to tau candidate !...
Definition: TauDefs.h:175
DataVector::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
xAOD::TauJet_v3::setPi0ConeDR
void setPi0ConeDR(float)
TauJetParameters::BDTJetScore
@ BDTJetScore
discriminant for PDRS (used by tau1p3p)
Definition: TauJetParameters.h:74
xAOD::TauJet_v3::phiTauEtaCalib
double phiTauEtaCalib() const
xAOD::TauJetParameters::BDTEleScore
@ BDTEleScore
Boosted Decision Tree score for electron rejection.
Definition: TauDefs.h:80
xAOD::TauJetParameters::MuonVeto
@ MuonVeto
Definition: TauDefs.h:121
xAOD::TauJetParameters::ipZ0SinThetaSigLeadTrk
@ ipZ0SinThetaSigLeadTrk
Definition: TauDefs.h:157
a
TList * a
Definition: liststreamerinfos.cxx:10
xAOD::TauJet_v3::mIntermediateAxis
double mIntermediateAxis() const
xAOD::TauJetParameters::numCells
@ numCells
Definition: TauDefs.h:171
TauJetParameters::BDTJetScoreSigTrans
@ BDTJetScoreSigTrans
BDT score which is signal transformed/flattened.
Definition: TauJetParameters.h:80
h
xAOD::TauJet_v3::setROIWord
void setROIWord(unsigned int)
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
xAOD::TauJetParameters::sumEMCellEtOverLeadTrkPt
@ sumEMCellEtOverLeadTrkPt
Definition: TauDefs.h:231
ParticleSigStateImpl::pt
virtual double pt() const
transverse momentum
Definition: ParticleSigStateImpl.h:767
xAOD::TauJet_v3::charge
float charge() const
xAOD::TauJetParameters::effTopoInvMass
@ effTopoInvMass
get invariant mass from effective topoclusters of jet associated to tau candidate
Definition: TauDefs.h:179
xAOD::TauJet_v3::setDetail
void setDetail(TauJetParameters::Detail detail, int value)
Definition: TauJet_v3.cxx:309
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:629
xAOD::TauJetParameters::isolFrac
@ isolFrac
Get isolation fraction.
Definition: TauDefs.h:198
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:801
xAOD::TauJetParameters::DetectorAxis
@ DetectorAxis
Definition: TauDefs.h:337
xAOD::TauJet_v3::ptIntermediateAxis
double ptIntermediateAxis() const
TauJetParameters::JetBDTSigTight
@ JetBDTSigTight
Definition: TauJetParameters.h:126
xAOD::TauJetParameters::BDTJetScoreSigTrans
@ BDTJetScoreSigTrans
BDT score which is signal transformed/flattened.
Definition: TauDefs.h:84
xAOD::TauJetParameters::EMRadius
@ EMRadius
Get E_T radius.
Definition: TauDefs.h:190
xAODMaker::TauJetCnvTool::getNewJetLink
ElementLink< xAOD::JetContainer > getNewJetLink(const ElementLink< JetCollection > &oldLink, const std::string &name) const
Definition: TauJetCnvTool.cxx:258
xAOD::TauJet_v3::setDiscriminant
void setDiscriminant(TauJetParameters::TauID discID, double disc)
Set value of discriminant.
Definition: TauJet_v3.cxx:237
TauJetParameters::TauEnergyScale
@ TauEnergyScale
Definition: TauJetParameters.h:194
xAOD::TauJetParameters::etEMAtEMScale
@ etEMAtEMScale
Get EM energy at EM scale.
Definition: TauDefs.h:194
DataVector::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
fitman.k
k
Definition: fitman.py:528
xAOD::TauJet_v3::trackFilterProngs
int trackFilterProngs() const
xAOD::TauJetParameters::leadTrkPt
@ leadTrkPt
Definition: TauDefs.h:159