ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimSilRingHit.hh
Go to the documentation of this file.
1 // - AUTHOR: Hector Alvarez-Pol 04/2008
2 /******************************************************************
3  * Copyright (C) 2005-2016, Hector Alvarez-Pol *
4  * All rights reserved. *
5  * *
6  * License according to GNU LESSER GPL (see lgpl-3.0.txt). *
7  * For the list of contributors see CREDITS. *
8  ******************************************************************/
9 
10 #ifndef ActarSimSilRingHit_h
11 #define ActarSimSilRingHit_h 1
12 
13 #include "TROOT.h" //for including Rtypes.h
14 
15 #include "TObject.h"
16 
17 class ActarSimSilRingHit : public TObject {
18 private:
19  Int_t detectorID; ///< Tracker model (depends on tracker geo)
20 
21  Double_t xpos; ///< Hit X Position
22  Double_t ypos; ///< Hit Y Position
23  Double_t zpos; ///< Hit Z Position
24 
25  Double_t time; ///< Pulse time (w.r.t. vertex emission)
26  Double_t energy; ///< Total energy deposited
27  Double_t eBeforeSil; ///< Energy before entering silicon
28  Double_t eAfterSil; ///< Energy left after silicon
29 
30  UInt_t trackID; ///< Track ID
31  UInt_t eventID; ///< Event ID
32  UInt_t runID; ///< Run ID
33 
34  UInt_t particleID; ///< Particle ID
35  Double_t particleCharge; ///< Particle charge
36  Double_t particleMass; ///< Particle mass
37 
38  UInt_t stepsContributing; ///< Steps included in the hit. Neccessary for iterative means
39 
40 public:
43 
44  void SetDetectorID(Int_t det){detectorID = det;}
45 
46  void SetXPos(Double_t x){xpos = x;}
47  void SetYPos(Double_t y){ypos = y;}
48  void SetZPos(Double_t z){zpos = z;}
49 
50  void SetTime(Double_t ti){time = ti;}
51  void SetEnergy(Double_t ed){energy = ed;}
52  void SetEBeforeSil(Double_t eb){eBeforeSil = eb;}
53  void SetEAfterSil(Double_t ea){eAfterSil = ea;}
54 
55  void SetTrackID(UInt_t tr){trackID = tr;}
56  void SetEventID(UInt_t ev){eventID = ev;}
57  void SetRunID(UInt_t run){runID = run;}
58 
59  void SetParticleID(UInt_t pdgID){particleID = pdgID;}
60  void SetParticleCharge(Double_t pdgCharge){particleCharge = pdgCharge;}
61  void SetParticleMass(Double_t pdgMass){particleMass = pdgMass;}
62 
63  void SetStepsContributing(UInt_t step){stepsContributing = step;}
64 
65  Int_t GetDetectorID(){return detectorID;}
66 
67  Double_t GetXPos(){return xpos;}
68  Double_t GetYPos(){return ypos;}
69  Double_t GetZPos(){return zpos;}
70 
71  Double_t GetEnergy(){return energy;}
72  Double_t GetTime(){return time;}
73  Double_t GetEBeforeSil(){return eBeforeSil;}
74  Double_t GetEAfterSil(){return eAfterSil;}
75 
76  UInt_t GetTrackID(){return trackID;}
77  UInt_t GetEventID(){return eventID;}
78  UInt_t GetRunID(){return runID;}
79 
80  UInt_t GetParticleID(){return particleID;}
81  Double_t GetParticleCharge(){return particleCharge;}
82  Double_t GetParticleMass(){return particleMass;}
83 
85 
86  void print(void);
87 
88  ClassDef(ActarSimSilRingHit,1) //ROOT CINT
89 };
90 #endif
void SetXPos(Double_t x)
void SetParticleCharge(Double_t pdgCharge)
Double_t time
Pulse time (w.r.t. vertex emission)
void SetDetectorID(Int_t det)
void SetTime(Double_t ti)
Double_t zpos
Hit Z Position.
UInt_t trackID
Track ID.
Int_t detectorID
Tracker model (depends on tracker geo)
void SetStepsContributing(UInt_t step)
Double_t energy
Total energy deposited.
void SetParticleMass(Double_t pdgMass)
UInt_t eventID
Event ID.
Double_t eAfterSil
Energy left after silicon.
void SetEAfterSil(Double_t ea)
UInt_t particleID
Particle ID.
void SetYPos(Double_t y)
void SetEBeforeSil(Double_t eb)
void SetEnergy(Double_t ed)
Double_t particleMass
Particle mass.
void SetRunID(UInt_t run)
void print(void)
Printing data information. Not implemented yet.
void SetEventID(UInt_t ev)
void SetZPos(Double_t z)
Double_t eBeforeSil
Energy before entering silicon.
~ActarSimSilRingHit()
Destructor, nothing to do.
Double_t particleCharge
Particle charge.
Double_t xpos
Hit X Position.
void SetTrackID(UInt_t tr)
Double_t ypos
Hit Y Position.
void SetParticleID(UInt_t pdgID)
UInt_t stepsContributing
Steps included in the hit. Neccessary for iterative means.