ATLAS Offline Software
Loading...
Searching...
No Matches
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
21namespace Rec { class TrackParticle; }
22
24public:
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
45protected:
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
52private:
53
54 class Imp;
57
58};
59
60#endif
friend class TrackCollHandleBase
TrackHandleBase(TrackCollHandleBase *)
virtual bool hasSubSystemHitInfo() const
virtual QStringList clicked() const
Called when user selects the node (stringlist is displayed in messagebox).
const Trk::Track * provide_pathInfoTrkTrack() const
TrackHandle_TrackParticle(TrackCollHandleBase *, const Rec::TrackParticle *)
virtual QString type() const
return very short word with type (maybe link with collection type?)
virtual Amg::Vector3D momentum() const
virtual unsigned getNMuonPrecisionHits() const
virtual unsigned getNMuonPhiHits() const
The number of phi hits is part of hit counts below (i.e.
void ensureInitSubSysHitInfo() const
virtual unsigned getNPixelHits() const
Eigen::Matrix< double, 3, 1 > Vector3D
Gaudi Tools.