ATLAS Offline Software
Loading...
Searching...
No Matches
TrackHandle_xAODTrackParticle.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_TrackParticle //
9// //
10// Description: Handles for track particles. //
11// //
12// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
13// Initial version: May 2008 //
14// //
16
17#ifndef TRACKHANDLE_XAODTRACKPARTICLE_H
18#define TRACKHANDLE_XAODTRACKPARTICLE_H
19
21
24
25
26// namespace xAOD { class TrackParticle; }
27
29public:
30
33
34 virtual QStringList clicked() const;
35 virtual Amg::Vector3D momentum() const;
36
37 virtual unsigned getNPixelHits() const;
38 virtual unsigned getNSCTHits() const;
39 virtual unsigned getNTRTHits() const;
40 virtual unsigned getNMuonPhiHits() const;
41 virtual unsigned getNMDTHits() const;
42 virtual unsigned getNRPCHits() const;
43 virtual unsigned getNTGCHits() const;
44 virtual unsigned getNCSCHits() const;
45
46 virtual QString type() const { return QString("TrackParticle"); }
47
48
49protected:
52 double calculateCharge() const;
53 virtual bool hasSubSystemHitInfo() const { return true; } //TODO - maybe actually check content? But a TP MUST have some hit info.
54
55
56private:
57
58 class Imp;
61
62};
63
64#endif
friend class TrackCollHandleBase
TrackHandleBase(TrackCollHandleBase *)
virtual unsigned getNMuonPhiHits() const
The number of phi hits is part of hit counts below (i.e.
void ensureInitSubSysHitInfo() const
TrackHandle_xAODTrackParticle(TrackCollHandleBase *, const xAOD::TrackParticle *)
virtual QStringList clicked() const
Called when user selects the node (stringlist is displayed in messagebox).
const Trk::Track * provide_pathInfoTrkTrack() const
virtual QString type() const
return very short word with type (maybe link with collection type?)
Eigen::Matrix< double, 3, 1 > Vector3D
TrackParticle_v1 TrackParticle
Reference the current persistent version: