ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimSciRingHit.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 ActarSimSciRingHit_h
11 #define ActarSimSciRingHit_h 1
12 
13 #include "TROOT.h" //for including Rtypes.h
14 
15 #include "TObject.h"
16 
17 class ActarSimSciRingHit : public TObject{
18 private:
19  UInt_t type; ///< Scintillator type
20  UInt_t copy; ///< Scintillator copy
21 
22  Double_t time; ///< Pulse time (w.r.t. vertex emission)
23  Double_t energy; ///< Total energy deposited
24 
25  UInt_t eventID; ///< Event ID
26  UInt_t runID; ///< Run ID
27  UInt_t trackID; ///< Track ID
28 
29  UInt_t particleID; ///< Particle ID
30  Double_t particleCharge; ///< Particle charge
31  Double_t particleMass; ///< Particle charge
32 
33 public:
36 
37  void SetType(UInt_t ty){type = ty;}
38  void SetCopy(UInt_t co){copy = co;}
39 
40  void SetTime(Double_t ti){time = ti;}
41  void SetEnergy(Double_t ed){energy = ed;}
42 
43  void SetEventID(UInt_t ev){eventID = ev;}
44  void SetRunID(UInt_t run){runID = run;}
45  void SetTrackID(UInt_t track){trackID = track;}
46 
47  void SetParticleID(UInt_t pdgID){particleID = pdgID;}
48  void SetParticleCharge(Double_t pdgCharge){particleCharge = pdgCharge;}
49  void SetParticleMass(Double_t pdgMass){particleMass = pdgMass;}
50 
51  Int_t GetType(){return type;}
52  Int_t GetCopy(){return copy;}
53 
54  Double_t GetEnergy(){return energy;}
55  Double_t GetTime(){return time;}
56 
57  UInt_t GetEventID(){return eventID;}
58  UInt_t GetRunID(){return runID;}
59  UInt_t GetTrackID(){return trackID;}
60 
61  UInt_t GetParticleID(){return particleID;}
62  Double_t GetParticleCharge(){return particleCharge;}
63  Double_t GetParticleMass(){return particleMass;}
64 
65  void print(void);
66 
67  ClassDef(ActarSimSciRingHit,1) //ROOT CINT
68 };
69 #endif
void print(void)
Printing data information. Not implemented.
~ActarSimSciRingHit()
Destructor, nothing to do.
void SetParticleID(UInt_t pdgID)
void SetParticleMass(Double_t pdgMass)
void SetEventID(UInt_t ev)
UInt_t type
Scintillator type.
Double_t particleMass
Particle charge.
Double_t energy
Total energy deposited.
UInt_t copy
Scintillator copy.
void SetTrackID(UInt_t track)
void SetType(UInt_t ty)
Double_t time
Pulse time (w.r.t. vertex emission)
void SetParticleCharge(Double_t pdgCharge)
void SetTime(Double_t ti)
UInt_t particleID
Particle ID.
void SetEnergy(Double_t ed)
void SetRunID(UInt_t run)
UInt_t eventID
Event ID.
Double_t particleCharge
Particle charge.
UInt_t trackID
Track ID.
void SetCopy(UInt_t co)