ATLAS Offline Software
Loading...
Searching...
No Matches
TrackHandle_SimulationTrack.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_SimulationTrack //
9// //
10// Description: Handle for truth tracks based on HepMC //
11// records and sim. hits. //
12// //
13// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
14// Initial version: March 2008 //
15// //
17
18#ifndef TRACKHANDLE_SIMULATIONTRACK_H
19#define TRACKHANDLE_SIMULATIONTRACK_H
20
23
25
27public:
28
30
32
33 virtual QStringList clicked() const;
34
35 virtual Amg::Vector3D momentum() const;
36 virtual int pdgCode() const;
37 bool hasBarCodeZero() const;
38
39 void setAscObjsVisible(bool);
40
41 virtual QString type() const { return QString("Simulation"); }
42
43
44protected:
45 virtual double calculateCharge() const;
48
49private:
50
51 class Imp;
53
54};
55
56#endif
std::vector< std::pair< double, SimHitHandleBase * > > SimHitList
friend class TrackCollHandleBase
TrackHandleBase(TrackCollHandleBase *)
void visibleStateChanged()
override if need to take action in this case.
virtual QString type() const
return very short word with type (maybe link with collection type?)
virtual QStringList clicked() const
Called when user selects the node (stringlist is displayed in messagebox).
virtual Amg::Vector3D momentum() const
virtual int pdgCode() const
0 means unknown
const Trk::Track * provide_pathInfoTrkTrack() const
TrackHandle_SimulationTrack(TrackCollHandleBase *, const SimBarCode &simBarCode, const SimHitList &)
Eigen::Matrix< double, 3, 1 > Vector3D