ATLAS Offline Software
TrackHandle_TrackParticle.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Header file for class TrackHandle_xAODTrackParticle //
9 // //
10 // Description: Handles for track particles. //
11 // //
12 // //
14 
15 #ifndef TRACKHANDLE_TRACKPARTICLE_H
16 #define TRACKHANDLE_TRACKPARTICLE_H
17 
20 
21 namespace Rec { class TrackParticle; }
22 
24 public:
25 
28 
29  virtual QStringList clicked() const;
30  virtual Amg::Vector3D momentum() const;
31 
32  virtual unsigned getNPixelHits() const;
33  virtual unsigned getNSCTHits() const;
34  virtual unsigned getNTRTHits() const;
35  virtual unsigned getNMuonPhiHits() const;
36  virtual unsigned getNMDTHits() const;
37  virtual unsigned getNRPCHits() const;
38  virtual unsigned getNTGCHits() const;
39  virtual unsigned getNCSCHits() const;
40  virtual unsigned getNMuonPrecisionHits() const;
41 
42  virtual QString type() const { return QString("TrackParticle"); }
43 
44 
45 protected:
46  const Trk::Track * provide_pathInfoTrkTrack() const;
48  double calculateCharge() const;
49  virtual bool hasSubSystemHitInfo() const { return true; } //TODO - maybe actually check content? But a TP MUST have some hit info.
50 
51 
52 private:
53 
54  class Imp;
55  Imp * m_d;
57 
58 };
59 
60 #endif
TrackHandle_TrackParticle::~TrackHandle_TrackParticle
virtual ~TrackHandle_TrackParticle()
Definition: TrackHandle_TrackParticle.cxx:70
TrackCollHandleBase
Definition: TrackCollHandleBase.h:49
TrackHandle_TrackParticle::clicked
virtual QStringList clicked() const
Called when user selects the node (stringlist is displayed in messagebox).
Definition: TrackHandle_TrackParticle.cxx:76
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
TrackHandle_TrackParticle::type
virtual QString type() const
return very short word with type (maybe link with collection type?)
Definition: TrackHandle_TrackParticle.h:42
TrackHandle_TrackParticle::getNMuonPrecisionHits
virtual unsigned getNMuonPrecisionHits() const
Definition: TrackHandle_TrackParticle.cxx:182
TrackHandleBase.h
TrackHandle_TrackParticle::getNPixelHits
virtual unsigned getNPixelHits() const
Definition: TrackHandle_TrackParticle.cxx:142
TrackHandle_TrackParticle::TrackHandle_TrackParticle
TrackHandle_TrackParticle(TrackCollHandleBase *, const Rec::TrackParticle *)
Definition: TrackHandle_TrackParticle.cxx:59
TrackHandle_TrackParticle::getNTRTHits
virtual unsigned getNTRTHits() const
Definition: TrackHandle_TrackParticle.cxx:152
TrackHandle_TrackParticle::ensureInitSubSysHitInfo
void ensureInitSubSysHitInfo() const
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition: Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
GeoPrimitives.h
TrackHandle_TrackParticle
Definition: TrackHandle_TrackParticle.h:23
TrackHandle_TrackParticle::hasSubSystemHitInfo
virtual bool hasSubSystemHitInfo() const
Definition: TrackHandle_TrackParticle.h:49
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
TrackHandle_TrackParticle::provide_pathInfoTrkTrack
const Trk::Track * provide_pathInfoTrkTrack() const
Definition: TrackHandle_TrackParticle.cxx:103
TrackHandle_TrackParticle::momentum
virtual Amg::Vector3D momentum() const
Definition: TrackHandle_TrackParticle.cxx:85
TrackHandle_TrackParticle::getNMuonPhiHits
virtual unsigned getNMuonPhiHits() const
The number of phi hits is part of hit counts below (i.e.
Definition: TrackHandle_TrackParticle.cxx:157
TrackHandle_TrackParticle::ensureTouchedMuonChambersInitialised
void ensureTouchedMuonChambersInitialised() const
Definition: TrackHandle_TrackParticle.cxx:137
TrackHandle_TrackParticle::calculateCharge
double calculateCharge() const
Definition: TrackHandle_TrackParticle.cxx:94
TrackHandle_TrackParticle::getNMDTHits
virtual unsigned getNMDTHits() const
Definition: TrackHandle_TrackParticle.cxx:162
TrackHandle_TrackParticle::Imp
Definition: TrackHandle_TrackParticle.cxx:24
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
TrackHandle_TrackParticle::m_d
Imp * m_d
Definition: TrackHandle_TrackParticle.h:54
Rec::TrackParticle
Definition: Reconstruction/Particle/Particle/TrackParticle.h:47
TrackHandle_TrackParticle::getNCSCHits
virtual unsigned getNCSCHits() const
Definition: TrackHandle_TrackParticle.cxx:176
TrackHandle_TrackParticle::getNTGCHits
virtual unsigned getNTGCHits() const
Definition: TrackHandle_TrackParticle.cxx:171
TrackHandle_TrackParticle::getNRPCHits
virtual unsigned getNRPCHits() const
Definition: TrackHandle_TrackParticle.cxx:167
TrackHandleBase
Definition: TrackHandleBase.h:56
TrackHandle_TrackParticle::getNSCTHits
virtual unsigned getNSCTHits() const
Definition: TrackHandle_TrackParticle.cxx:147