ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
Rec::NewVrtSecInclusiveAlg Class Reference

#include <NewVrtSecInclusiveAlg.h>

Inheritance diagram for Rec::NewVrtSecInclusiveAlg:
Collaboration diagram for Rec::NewVrtSecInclusiveAlg:

Public Member Functions

 NewVrtSecInclusiveAlg (const std::string &name, ISvcLocator *pSvcLocator)
 
StatusCode initialize () override
 
StatusCode execute (const EventContext &ctx) const override
 
StatusCode finalize () override
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual bool isClonable () const override
 Specify if the algorithm is clonable. More...
 
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
 
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
virtual bool filterPassed (const EventContext &ctx) const
 
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. 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 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 > &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
 

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

void addInDetTracks (const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
 
void addGSFTracks (const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
 
void addMuonTracks (const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
 
void addElectronTracks (const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
 
bool vertexHasNoLep (const EventContext &, const xAOD::Vertex *) const
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

SG::ReadHandleKey< xAOD::TrackParticleContainerm_tpContainerKey {this,"TrackParticleContainer","InDetTrackParticles","Read TrackParticle container"}
 
SG::ReadHandleKey< xAOD::TrackParticleContainerm_gsfContainerKey {this,"GSFTrackParticleContainer","GSFTrackParticles","Read GSFTrackParticle container"}
 
SG::ReadHandleKey< xAOD::MuonContainerm_muonContainerKey {this,"MuonContainer","Muons","Read muon container"}
 
SG::ReadHandleKey< xAOD::ElectronContainerm_electronContainerKey {this,"ElectronContainer","Electrons","Read electron container"}
 
SG::ReadHandleKey< xAOD::VertexContainerm_pvContainerKey {this,"PrimaryVertexContainer","PrimaryVertices","Read PrimaryVertices container"}
 
SG::ReadHandleKey< xAOD::JetContainerm_jetContainerKey {this,"JetContainer","AntiKt4EMPFlowJets","Read Jets container"}
 
SG::ReadHandleKey< xAOD::VertexContainerm_btsvContainerKey {this,"BTagSVContainer","BTagging_AntiKt4EMPFlowSecVtx","Read BTagiingSV container"}
 
SG::WriteHandleKey< xAOD::VertexContainerm_foundVerticesKey {this,"BVertexContainerName","AllBVertices","Found vertices container"}
 
ToolHandle< Rec::IVrtInclusivem_bvertextool {this, "BVertexTool", "Rec::NewVrtSecInclusiveTool/SVTool"}
 
Gaudi::Property< bool > m_addIDTracks {this, "AddIDTracks", true, "Set to true if you want to add ID tracks to the pool"}
 
Gaudi::Property< bool > m_addGSFTracks {this, "AddGSFTracks", false, "Set to true if you want to add GSF tracks to the pool"}
 
Gaudi::Property< bool > m_addMuonTracks {this, "AddMuonTracks", false, "Set to true if you want to add ID tracks from muons to the pool"}
 
Gaudi::Property< bool > m_addElectronTracks {this, "AddElectronTracks", false, "Set to true if you want to add GSF tracks from electrons to the pool"}
 
Gaudi::Property< bool > m_removeNonLepVerts {this, "RemoveNonLepVertices", false, "Set to true if you want to remove vertices with no associated lepton tracks"}
 
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. 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 34 of file NewVrtSecInclusiveAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ NewVrtSecInclusiveAlg()

Rec::NewVrtSecInclusiveAlg::NewVrtSecInclusiveAlg ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Definition at line 28 of file NewVrtSecInclusiveAlg.cxx.

28  :
29  AthReentrantAlgorithm( name, pSvcLocator )
30  {
31  }

Member Function Documentation

◆ addElectronTracks()

void Rec::NewVrtSecInclusiveAlg::addElectronTracks ( const EventContext &  ctx,
std::unordered_set< const xAOD::TrackParticle * > &  trkparticles 
) const
private

Definition at line 197 of file NewVrtSecInclusiveAlg.cxx.

197  {
198  //-- Extract Electrons
200  if ( !electron_cont.isValid() ) {
201  ATH_MSG_WARNING( "No electron container found in TES" );
202  return;
203  }
204  trkparticles.reserve(trkparticles.size() + electron_cont->size());
205 
206  for(const auto *electron : (*electron_cont)) {
207  if( 0 == electron->nTrackParticles() ) continue;
208  // the 0th GSF TP is the best matched one.
209  const auto *gsf = electron->trackParticle(0);
210  if (!gsf) continue;
211  trkparticles.insert(gsf);
212  // remove the corresponding ID track from the list if it exists already.
214  }
215  }

◆ addGSFTracks()

void Rec::NewVrtSecInclusiveAlg::addGSFTracks ( const EventContext &  ctx,
std::unordered_set< const xAOD::TrackParticle * > &  trkparticles 
) const
private

Definition at line 181 of file NewVrtSecInclusiveAlg.cxx.

181  {
182  //-- Extract GSFTrackParticles
184  if ( !gsf_cont.isValid() ) {
185  ATH_MSG_WARNING( "No GSF container found in TES" );
186  return;
187  }
188  trkparticles.reserve(trkparticles.size() + gsf_cont->size());
189 
190  for (const auto *gsf : (*gsf_cont)) {
191  trkparticles.insert(gsf);
192  // remove the corresponding ID track from the list if it exists already.
194  }
195  }

◆ addInDetTracks()

void Rec::NewVrtSecInclusiveAlg::addInDetTracks ( const EventContext &  ctx,
std::unordered_set< const xAOD::TrackParticle * > &  trkparticles 
) const
private

Definition at line 153 of file NewVrtSecInclusiveAlg.cxx.

153  {
154  //-- Extract IDTrackParticles
156  if ( !tp_cont.isValid() ) {
157  ATH_MSG_WARNING( "No TrackParticle container found in TES" );
158  return;
159  }
160  trkparticles.reserve(trkparticles.size() + tp_cont->size());
161 
162  for (const auto *tp : (*tp_cont)) { trkparticles.insert(tp); }
163  }

◆ addMuonTracks()

void Rec::NewVrtSecInclusiveAlg::addMuonTracks ( const EventContext &  ctx,
std::unordered_set< const xAOD::TrackParticle * > &  trkparticles 
) const
private

Definition at line 165 of file NewVrtSecInclusiveAlg.cxx.

165  {
166  //-- Extract Muons
168  if ( !muon_cont.isValid() ) {
169  ATH_MSG_WARNING( "No muon container found in TES" );
170  return;
171  }
172  trkparticles.reserve(trkparticles.size() + muon_cont->size());
173 
174  for (const auto *muon : (*muon_cont)) {
175  const auto *tp = muon->trackParticle( xAOD::Muon::InnerDetectorTrackParticle );
176  if (!tp) { continue; }
177  trkparticles.insert(tp);
178  }
179  }

◆ cardinality()

unsigned int AthReentrantAlgorithm::cardinality ( ) const
overridevirtualinherited

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

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  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< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  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< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  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< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T > &  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< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

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

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

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

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

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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; }

◆ execute()

StatusCode Rec::NewVrtSecInclusiveAlg::execute ( const EventContext &  ctx) const
override

Definition at line 52 of file NewVrtSecInclusiveAlg.cxx.

53  {
54 
55  const xAOD::Vertex* pv = nullptr;
56  std::unordered_set<const xAOD::TrackParticle*> tp_set{};
57  if (m_addIDTracks) addInDetTracks(ctx, tp_set);
58  if (m_addMuonTracks) addMuonTracks(ctx, tp_set);
59  if (m_addGSFTracks) addGSFTracks(ctx, tp_set);
60  if (m_addElectronTracks) addElectronTracks(ctx, tp_set);
61  ATH_MSG_DEBUG("Found " << tp_set.size() << " useful tracks in this event" );
62 
63  std::vector<const xAOD::TrackParticle*> trkparticles(tp_set.begin(), tp_set.end());
64 
65  //-- Extract Primary Vertex
67  if ( !pv_cont.isValid() ) {
68  ATH_MSG_WARNING( "No Primary Vertices container found in TDS" );
69  }else{
70  //-- Extract PV itself
71  for ( const auto *v : *pv_cont ) {
72  if (v->vertexType()==xAOD::VxType::PriVtx) { pv = v; break; }
73  }
74  }
75 
76  //-- Extract SV from b-jets Vertices
78  if ( !btsv_cont.isValid() ) {
79  ATH_MSG_WARNING( "No BTagging Vertices container found in TDS" );
80  }
81 
82  //-- Extract Jets
84  if ( !jet_cont.isValid() ) {
85  ATH_MSG_WARNING( "No AntiKt4EMPFlowJet container found in TES" );
86  }
87 
88  //-- create container for new vertices
89  auto bVertexContainer = std::make_unique<xAOD::VertexContainer>();
90  auto bVertexAuxContainer = std::make_unique<xAOD::VertexAuxContainer>();
91  bVertexContainer->setStore(bVertexAuxContainer.get());
92 
93  if( pv && trkparticles.size()>1 ){
94  std::unique_ptr<Trk::VxSecVertexInfo> foundVrts = m_bvertextool->findAllVertices(trkparticles,*pv);
95  if(foundVrts && !foundVrts->vertices().empty()){
96  const std::vector<xAOD::Vertex*> vtmp=foundVrts->vertices();
97  double mindRSVPV=1.e3; // Check coincidence with existing SV1 vertex
98  for(const auto & iv : vtmp) {
99  if( btsv_cont.isValid() ){
100  for ( const auto *btsv : *btsv_cont ) mindRSVPV=std::min(Amg::deltaR(btsv->position()-pv->position(),iv->position()-pv->position()),mindRSVPV);
101  }
102  if (m_removeNonLepVerts && vertexHasNoLep(ctx, iv)) continue;
103  bVertexContainer->push_back(iv);
104  std::vector< Trk::VxTrackAtVertex > & vtrk = iv->vxTrackAtVertex();
105  TLorentzVector VSUM(0.,0.,0.,0.);
106  TLorentzVector tmp;
107  for(auto & it : vtrk){
108  const Trk::Perigee* mPer = dynamic_cast<const Trk::Perigee*>(it.perigeeAtVertex());
109  CxxUtils::sincos phi(mPer->parameters()[Trk::phi]);
110  CxxUtils::sincos theta(mPer->parameters()[Trk::theta]);
111  double absP = 1./std::abs(mPer->parameters()[Trk::qOverP]);
112  tmp.SetXYZM( phi.cs*theta.sn*absP, phi.sn*theta.sn*absP, theta.cs*absP, Trk::ParticleMasses::mass[Trk::pion]);
113  VSUM+=tmp;
114  }
115  bvrtM(*iv) =VSUM.M();
116  bvrtPt(*iv) =VSUM.Pt();
117  bvrtEta(*iv)=VSUM.Eta();
118  bvrtPhi(*iv)=VSUM.Phi();
119  TVector3 SVmPV(iv->x()-pv->x(),iv->y()-pv->y(),iv->z()-pv->z());
120  double mindRMOM=1.e3, mindRSV=1.e3;
121  if( jet_cont.isValid() ){
122  for(const auto *jet : (*jet_cont)) {
123  mindRMOM=std::min(VSUM.DeltaR(jet->p4()),mindRMOM);
124  mindRSV =std::min(SVmPV.DeltaR(jet->p4().Vect()),mindRSV);
125  }
126  }
127  mindRBTagSV(*iv) =mindRSVPV;
128  mindRjetP(*iv) =mindRMOM;
129  mindRjetV(*iv) =mindRSV;
130  }
131  }
132  }
133  ATH_MSG_DEBUG("Found Vertices in this event: " << bVertexContainer->size());
134  //
135  //--Update track ElementLinks
136  for(auto iv : (*bVertexContainer)){
137  std::vector< ElementLink< xAOD::TrackParticleContainer > > newLinkVec;
138  for(auto &it : iv->trackParticleLinks()){
140  const xAOD::TrackParticleContainer* tp_cont = dynamic_cast<const xAOD:: TrackParticleContainer*>((*it)->container());
141  tmpLnk.setStorableObject(*tp_cont);
142  newLinkVec.push_back(tmpLnk);
143  }
144  iv->setTrackParticleLinks(newLinkVec);
145  }
146 
148  ATH_CHECK( vrtInThisEvent.record (std::move(bVertexContainer),
149  std::move(bVertexAuxContainer)) );
150  return StatusCode::SUCCESS;
151  }

◆ extraDeps_update_handler()

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

Add StoreName to extra input/output deps as needed.

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

◆ extraOutputDeps()

const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

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

Definition at line 79 of file AthReentrantAlgorithm.cxx.

80 {
81  // If we didn't find any symlinks to add, just return the collection
82  // from the base class. Otherwise, return the extended collection.
83  if (!m_extendedExtraObjects.empty()) {
85  }
86  return Algorithm::extraOutputDeps();
87 }

◆ filterPassed()

virtual bool AthReentrantAlgorithm::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 135 of file AthReentrantAlgorithm.h.

135  {
136  return execState( ctx ).filterPassed();
137  }

◆ finalize()

StatusCode Rec::NewVrtSecInclusiveAlg::finalize ( )
override

Definition at line 47 of file NewVrtSecInclusiveAlg.cxx.

48  {
49  return StatusCode::SUCCESS;
50  }

◆ initialize()

StatusCode Rec::NewVrtSecInclusiveAlg::initialize ( )
override

Definition at line 33 of file NewVrtSecInclusiveAlg.cxx.

34  {
37  ATH_CHECK( m_muonContainerKey.initialize() );
39  ATH_CHECK( m_pvContainerKey.initialize() );
41  ATH_CHECK( m_btsvContainerKey.initialize() );
42  ATH_CHECK( m_foundVerticesKey.initialize() );
43  ATH_CHECK( m_bvertextool.retrieve() );
44  return StatusCode::SUCCESS;
45  }

◆ inputHandles()

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

Return this algorithm's input handles.

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

◆ isClonable()

bool AthReentrantAlgorithm::isClonable ( ) const
overridevirtualinherited

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::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< Gaudi::Algorithm >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

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

◆ outputHandles()

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

Return this algorithm's output handles.

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

◆ renounce()

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

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

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

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ setFilterPassed()

virtual void AthReentrantAlgorithm::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 139 of file AthReentrantAlgorithm.h.

139  {
140  execState( ctx ).setFilterPassed( state );
141  }

◆ sysExecute()

StatusCode AthReentrantAlgorithm::sysExecute ( const EventContext &  ctx)
overridevirtualinherited

Execute an algorithm.

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

Definition at line 67 of file AthReentrantAlgorithm.cxx.

68 {
69  return Gaudi::Algorithm::sysExecute (ctx);
70 }

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

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

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

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

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

96  {
98 
99  if (sc.isFailure()) {
100  return sc;
101  }
102 
103  ServiceHandle<ICondSvc> cs("CondSvc",name());
104  for (auto h : outputHandles()) {
105  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
106  // do this inside the loop so we don't create the CondSvc until needed
107  if ( cs.retrieve().isFailure() ) {
108  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
109  return StatusCode::SUCCESS;
110  }
111  if (cs->regHandle(this,*h).isFailure()) {
112  sc = StatusCode::FAILURE;
113  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
114  << " with CondSvc");
115  }
116  }
117  }
118  return sc;
119 }

◆ sysStart()

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

Handle START transition.

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

◆ updateVHKA()

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

Definition at line 308 of file AthCommonDataStore.h.

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

◆ vertexHasNoLep()

bool Rec::NewVrtSecInclusiveAlg::vertexHasNoLep ( const EventContext &  ctx,
const xAOD::Vertex vertex 
) const
private

Definition at line 217 of file NewVrtSecInclusiveAlg.cxx.

217  {
218  std::unordered_set<const xAOD::TrackParticle*> trkparts{};
219  trkparts.reserve(vertex->nTrackParticles());
220  for (const auto &trk : vertex->trackParticleLinks()) {
221  trkparts.insert(*trk);
222  }
223 
224  //-- Extract Muons
226  if ( muon_cont.isValid() ) {
227  for (const auto *muon : (*muon_cont)) {
228  const auto *tp = muon->trackParticle( xAOD::Muon::InnerDetectorTrackParticle );
229  if (!tp) { continue; }
230  if(trkparts.count(tp)) return false;
231  }
232  }
233 
234  //-- Extract Electrons
236  if ( electron_cont.isValid() ) {
237  for(const auto *electron : (*electron_cont)) {
238  if( 0 == electron->nTrackParticles() ) continue;
239  // the 0th GSF TP is the best matched one.
240  const auto *gsf = electron->trackParticle(0);
241  if (!gsf) continue;
242  if(trkparts.count(gsf)) return false;
243  if(trkparts.count(xAOD::EgammaHelpers::getOriginalTrackParticleFromGSF(gsf))) return false;
244  }
245  }
246  // If both containers are missing, or no leptons are found in the vertex, return true.
247  return true;
248  }

Member Data Documentation

◆ m_addElectronTracks

Gaudi::Property<bool> Rec::NewVrtSecInclusiveAlg::m_addElectronTracks {this, "AddElectronTracks", false, "Set to true if you want to add GSF tracks from electrons to the pool"}
private

Definition at line 59 of file NewVrtSecInclusiveAlg.h.

◆ m_addGSFTracks

Gaudi::Property<bool> Rec::NewVrtSecInclusiveAlg::m_addGSFTracks {this, "AddGSFTracks", false, "Set to true if you want to add GSF tracks to the pool"}
private

Definition at line 57 of file NewVrtSecInclusiveAlg.h.

◆ m_addIDTracks

Gaudi::Property<bool> Rec::NewVrtSecInclusiveAlg::m_addIDTracks {this, "AddIDTracks", true, "Set to true if you want to add ID tracks to the pool"}
private

Definition at line 56 of file NewVrtSecInclusiveAlg.h.

◆ m_addMuonTracks

Gaudi::Property<bool> Rec::NewVrtSecInclusiveAlg::m_addMuonTracks {this, "AddMuonTracks", false, "Set to true if you want to add ID tracks from muons to the pool"}
private

Definition at line 58 of file NewVrtSecInclusiveAlg.h.

◆ m_btsvContainerKey

SG::ReadHandleKey<xAOD::VertexContainer> Rec::NewVrtSecInclusiveAlg::m_btsvContainerKey {this,"BTagSVContainer","BTagging_AntiKt4EMPFlowSecVtx","Read BTagiingSV container"}
private

Definition at line 51 of file NewVrtSecInclusiveAlg.h.

◆ m_bvertextool

ToolHandle< Rec::IVrtInclusive > Rec::NewVrtSecInclusiveAlg::m_bvertextool {this, "BVertexTool", "Rec::NewVrtSecInclusiveTool/SVTool"}
private

Definition at line 54 of file NewVrtSecInclusiveAlg.h.

◆ m_detStore

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

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_electronContainerKey

SG::ReadHandleKey<xAOD::ElectronContainer> Rec::NewVrtSecInclusiveAlg::m_electronContainerKey {this,"ElectronContainer","Electrons","Read electron container"}
private

Definition at line 48 of file NewVrtSecInclusiveAlg.h.

◆ m_evtStore

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

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects
privateinherited

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

Empty if no symlinks were found.

Definition at line 153 of file AthReentrantAlgorithm.h.

◆ m_foundVerticesKey

SG::WriteHandleKey<xAOD::VertexContainer> Rec::NewVrtSecInclusiveAlg::m_foundVerticesKey {this,"BVertexContainerName","AllBVertices","Found vertices container"}
private

Definition at line 53 of file NewVrtSecInclusiveAlg.h.

◆ m_gsfContainerKey

SG::ReadHandleKey<xAOD::TrackParticleContainer> Rec::NewVrtSecInclusiveAlg::m_gsfContainerKey {this,"GSFTrackParticleContainer","GSFTrackParticles","Read GSFTrackParticle container"}
private

Definition at line 46 of file NewVrtSecInclusiveAlg.h.

◆ m_jetContainerKey

SG::ReadHandleKey<xAOD::JetContainer> Rec::NewVrtSecInclusiveAlg::m_jetContainerKey {this,"JetContainer","AntiKt4EMPFlowJets","Read Jets container"}
private

Definition at line 50 of file NewVrtSecInclusiveAlg.h.

◆ m_muonContainerKey

SG::ReadHandleKey<xAOD::MuonContainer> Rec::NewVrtSecInclusiveAlg::m_muonContainerKey {this,"MuonContainer","Muons","Read muon container"}
private

Definition at line 47 of file NewVrtSecInclusiveAlg.h.

◆ m_pvContainerKey

SG::ReadHandleKey<xAOD::VertexContainer> Rec::NewVrtSecInclusiveAlg::m_pvContainerKey {this,"PrimaryVertexContainer","PrimaryVertices","Read PrimaryVertices container"}
private

Definition at line 49 of file NewVrtSecInclusiveAlg.h.

◆ m_removeNonLepVerts

Gaudi::Property<bool> Rec::NewVrtSecInclusiveAlg::m_removeNonLepVerts {this, "RemoveNonLepVertices", false, "Set to true if you want to remove vertices with no associated lepton tracks"}
private

Definition at line 60 of file NewVrtSecInclusiveAlg.h.

◆ m_tpContainerKey

SG::ReadHandleKey<xAOD::TrackParticleContainer> Rec::NewVrtSecInclusiveAlg::m_tpContainerKey {this,"TrackParticleContainer","InDetTrackParticles","Read TrackParticle container"}
private

Definition at line 45 of file NewVrtSecInclusiveAlg.h.

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
xAOD::muon
@ muon
Definition: TrackingPrimitives.h:195
AthCUDAExamples::TrackParticleContainer
vecmem::edm::container< TrackParticleInterface, vecmem::edm::type::vector< float >, vecmem::edm::type::vector< float >, vecmem::edm::type::vector< float > > TrackParticleContainer
SoA, GPU friendly TrackParticleContainer.
Definition: Control/AthenaExamples/AthExCUDA/src/TrackParticleContainer.h:46
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
Rec::NewVrtSecInclusiveAlg::vertexHasNoLep
bool vertexHasNoLep(const EventContext &, const xAOD::Vertex *) const
Definition: NewVrtSecInclusiveAlg.cxx:217
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition: EMErrorDetail.h:25
min
constexpr double min()
Definition: ap_fixedTest.cxx:26
Trk::VxSecVertexInfo::vertices
const std::vector< xAOD::Vertex * > & vertices() const
Definition: VxSecVertexInfo.cxx:100
AthCommonDataStore::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 > renounce(T &h)
Definition: AthCommonDataStore.h:380
skel.it
it
Definition: skel.GENtoEVGEN.py:401
Rec::NewVrtSecInclusiveAlg::m_btsvContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_btsvContainerKey
Definition: NewVrtSecInclusiveAlg.h:51
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
ParticleTest.tp
tp
Definition: ParticleTest.py:25
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
Rec::NewVrtSecInclusiveAlg::m_gsfContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_gsfContainerKey
Definition: NewVrtSecInclusiveAlg.h:46
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Rec::NewVrtSecInclusiveAlg::m_muonContainerKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
Definition: NewVrtSecInclusiveAlg.h:47
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
xAOD::phi
setEt phi
Definition: TrigEMCluster_v1.cxx:29
Rec::NewVrtSecInclusiveAlg::m_pvContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_pvContainerKey
Definition: NewVrtSecInclusiveAlg.h:49
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
Rec::NewVrtSecInclusiveAlg::m_electronContainerKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronContainerKey
Definition: NewVrtSecInclusiveAlg.h:48
Trk::theta
@ theta
Definition: ParamDefs.h:66
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
Trk::pion
@ pion
Definition: ParticleHypothesis.h:29
xAOD::VxType::PriVtx
@ PriVtx
Primary vertex.
Definition: TrackingPrimitives.h:571
Rec::NewVrtSecInclusiveAlg::addElectronTracks
void addElectronTracks(const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
Definition: NewVrtSecInclusiveAlg.cxx:197
Rec::NewVrtSecInclusiveAlg::m_bvertextool
ToolHandle< Rec::IVrtInclusive > m_bvertextool
Definition: NewVrtSecInclusiveAlg.h:54
Rec::NewVrtSecInclusiveAlg::m_addElectronTracks
Gaudi::Property< bool > m_addElectronTracks
Definition: NewVrtSecInclusiveAlg.h:59
Rec::NewVrtSecInclusiveAlg::m_jetContainerKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
Definition: NewVrtSecInclusiveAlg.h:50
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
DeMoUpdate.tmp
string tmp
Definition: DeMoUpdate.py:1167
jobOption.theta
theta
Definition: jobOption.ParticleGun_fwd_sequence.py:13
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
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
Trk::ParticleMasses::mass
constexpr double mass[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:53
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
Rec::NewVrtSecInclusiveAlg::m_addGSFTracks
Gaudi::Property< bool > m_addGSFTracks
Definition: NewVrtSecInclusiveAlg.h:57
xAOD::EgammaHelpers::getOriginalTrackParticleFromGSF
const xAOD::TrackParticle * getOriginalTrackParticleFromGSF(const xAOD::TrackParticle *trkPar)
Helper function for getting the "Original" Track Particle (i.e before GSF) via the GSF Track Particle...
Definition: ElectronxAODHelpers.cxx:22
python.PyAthena.v
v
Definition: PyAthena.py:154
SG::WriteHandle
Definition: StoreGate/StoreGate/WriteHandle.h:76
Amg::deltaR
double deltaR(const Amg::Vector3D &v1, const Amg::Vector3D &v2)
Definition: GeoPrimitivesHelpers.h:122
Trk::vertex
@ vertex
Definition: MeasurementType.h:21
a
TList * a
Definition: liststreamerinfos.cxx:10
Rec::NewVrtSecInclusiveAlg::addGSFTracks
void addGSFTracks(const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
Definition: NewVrtSecInclusiveAlg.cxx:181
h
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
Rec::NewVrtSecInclusiveAlg::m_removeNonLepVerts
Gaudi::Property< bool > m_removeNonLepVerts
Definition: NewVrtSecInclusiveAlg.h:60
Trk::qOverP
@ qOverP
perigee
Definition: ParamDefs.h:67
xAOD::EgammaParameters::electron
@ electron
Definition: EgammaEnums.h:18
python.changerun.pv
pv
Definition: changerun.py:81
CxxUtils::sincos
Helper to simultaneously calculate sin and cos of the same angle.
Definition: sincos.h:39
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
Rec::NewVrtSecInclusiveAlg::m_addMuonTracks
Gaudi::Property< bool > m_addMuonTracks
Definition: NewVrtSecInclusiveAlg.h:58
Trk::phi
@ phi
Definition: ParamDefs.h:75
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
Rec::NewVrtSecInclusiveAlg::addMuonTracks
void addMuonTracks(const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
Definition: NewVrtSecInclusiveAlg.cxx:165
Rec::NewVrtSecInclusiveAlg::m_addIDTracks
Gaudi::Property< bool > m_addIDTracks
Definition: NewVrtSecInclusiveAlg.h:56
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
Rec::NewVrtSecInclusiveAlg::m_tpContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tpContainerKey
Definition: NewVrtSecInclusiveAlg.h:45
Rec::NewVrtSecInclusiveAlg::addInDetTracks
void addInDetTracks(const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
Definition: NewVrtSecInclusiveAlg.cxx:153
fitman.k
k
Definition: fitman.py:528
Rec::NewVrtSecInclusiveAlg::m_foundVerticesKey
SG::WriteHandleKey< xAOD::VertexContainer > m_foundVerticesKey
Definition: NewVrtSecInclusiveAlg.h:53
ServiceHandle< ICondSvc >