ATLAS Offline Software
TrackParticlePerigeePairAtOOAssociationTool.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
15 #ifndef TRACKD3PDMAKER_TRACKPARTICLEPERIGEEPAIRATOOASSOCIATIONTOOL_H
16 #define TRACKD3PDMAKER_TRACKPARTICLEPERIGEEPAIRATOOASSOCIATIONTOOL_H
17 
18 
23 #include "GaudiKernel/ToolHandle.h"
24 
25 
26 namespace Rec {
27  class TrackParticle;
28 }
29 
30 namespace D3PD {
31 
32 
33 class IObjGetterTool;
34 
35 
40  : public SingleAssociationTool<Types<Rec::TrackParticle, xAOD::TrackParticle>,
41  D3PD::PerigeePair>
42 {
43 public:
46 
54  const std::string& name,
55  const IInterface* parent);
56 
57 
59  virtual StatusCode initialize();
60 
61 
68  virtual const D3PD::PerigeePair* get (const Rec::TrackParticle& p);
69 
70 
77  virtual const D3PD::PerigeePair* get (const xAOD::TrackParticle& p);
78 
79 
84  virtual void releaseObject (const D3PD::PerigeePair* p);
85 
86 
87 private:
89  ToolHandle<IObjGetterTool> m_assocGetter;
90 
91 
96 };
97 
98 
99 } // namespace D3PD
100 
101 
102 #endif // not TRACKD3PDMAKER_TRACKPARTICLEPERIGEEPAIRATOOASSOCIATIONTOOL_H
D3PD::TrackParticlePerigeePairAtOOAssociationTool::TrackParticlePerigeePairAtOOAssociationTool
TrackParticlePerigeePairAtOOAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: TrackParticlePerigeePairAtOOAssociationTool.cxx:34
D3PD::TrackParticlePerigeePairAtOOAssociationTool::initialize
virtual StatusCode initialize()
Standard Gaudi initialize method.
Definition: TrackParticlePerigeePairAtOOAssociationTool.cxx:48
D3PD::SingleAssociationTool
Type-safe wrapper for single associator tools.
Definition: SingleAssociationTool.h:133
D3PD::TrackParticlePerigeePairAtOOAssociationTool::findOldtrack
const Rec::TrackParticle & findOldtrack(const Rec::TrackParticle &track)
Find the original track corresponding to a possibly refitted track.
Definition: TrackParticlePerigeePairAtOOAssociationTool.cxx:110
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition: Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
SingleAssociationTool.h
Type-safe wrapper for single associator tools.
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
PerigeePair.h
Holder for a pair of perigee objects, before and after refitting.
D3PD::TrackParticlePerigeePairAtOOAssociationTool::Base
SingleAssociationTool< Types< Rec::TrackParticle, xAOD::TrackParticle >, D3PD::PerigeePair > Base
Definition: TrackParticlePerigeePairAtOOAssociationTool.h:45
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
IObjGetterTool.h
Abstract interface to get an object to put in the tuple.
Rec::TrackParticle
Definition: Reconstruction/Particle/Particle/TrackParticle.h:47
TrackParticle.h
D3PD::TrackParticlePerigeePairAtOOAssociationTool::releaseObject
virtual void releaseObject(const D3PD::PerigeePair *p)
Release an object retrieved from the association.
Definition: TrackParticlePerigeePairAtOOAssociationTool.cxx:99
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::TrackParticlePerigeePairAtOOAssociationTool
Associate from a VxCandidate to its Position ErrorMatrix.
Definition: TrackParticlePerigeePairAtOOAssociationTool.h:42
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
D3PD::TrackParticlePerigeePairAtOOAssociationTool::get
virtual const D3PD::PerigeePair * get(const Rec::TrackParticle &p)
Return the target object.
Definition: TrackParticlePerigeePairAtOOAssociationTool.cxx:67
D3PD::PerigeePair
Definition: PerigeePair.h:29
D3PD::TrackParticlePerigeePairAtOOAssociationTool::m_assocGetter
ToolHandle< IObjGetterTool > m_assocGetter
Property: Getter for the association object.
Definition: TrackParticlePerigeePairAtOOAssociationTool.h:89