Belle II Software  release-05-01-25
PlumeSimHit.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010-2011 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Martin Ritter, Igal Jaegle, Isabelle Ripp *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef PLUMESIMHIT_H
12 #define PLUMESIMHIT_H
13 
14 #include <simulation/dataobjects/SimHitBase.h>
15 
16 namespace Belle2 {
29  class PlumeSimHit : public SimHitBase {
30  public:
31  //typedef std::vector<unsigned int>::iterator iterator;
32  //typedef std::vector<unsigned int>::const_iterator const_iterator;
33 
40 
41 
45  PlumeSimHit(int a_pdgID, int a_sensorID, int a_trackID, float a_trackVx_x, float a_trackVx_y,
46  float a_trackVx_z, float a_energyDep, float a_nielDep,
47  float a_posIN_x, float a_posIN_y, float a_posIN_z, float a_posIN_u, float a_posIN_v, float a_posIN_w,
48  float a_posOUT_u, float a_posOUT_v, float a_posOUT_w, float a_momentum_x, float a_momentum_y, float a_momentum_z,
49  float a_thetaAngle, float a_phiAngle, float a_globalTime):
50  SimHitBase(), m_pdgID(a_pdgID), m_sensorID(a_sensorID), m_trackID(a_trackID), m_trackVx_x(a_trackVx_x),
51  m_trackVx_y(a_trackVx_y), m_trackVx_z(a_trackVx_z), m_energyDepMeV(a_energyDep),
52  m_nielDepMeV(a_nielDep), m_posINmm_x(a_posIN_x), m_posINmm_y(a_posIN_y), m_posINmm_z(a_posIN_z),
53  m_posINmm_u(a_posIN_u), m_posINmm_v(a_posIN_v), m_posINmm_w(a_posIN_w),
54  m_posOUTmm_u(a_posOUT_u), m_posOUTmm_v(a_posOUT_v), m_posOUTmm_w(a_posOUT_w),
55  m_momGeV_x(a_momentum_x), m_momGeV_y(a_momentum_y), m_momGeV_z(a_momentum_z),
56  m_thetaLoc(a_thetaAngle), m_phiLoc(a_phiAngle), m_globalTime(a_globalTime)
57  {
58  }
60  int getpdgID() const { return m_pdgID; }
62  int getsensorID() const { return m_sensorID; }
64  int gettrackID() const { return m_trackID; }
66  float gettrackVx_x() const { return m_trackVx_x; }
68  float gettrackVx_y() const { return m_trackVx_y; }
70  float gettrackVx_z() const { return m_trackVx_z; }
72  float getenergyDep() const { return m_energyDepMeV; }
74  float getnielDep() const { return m_nielDepMeV; }
76  float getposIN_x() const { return m_posINmm_x; }
78  float getposIN_y() const { return m_posINmm_y; }
80  float getposIN_z() const { return m_posINmm_z; }
82  float getposIN_u() const { return m_posINmm_u; }
84  float getposIN_v() const { return m_posINmm_v; }
86  float getposIN_w() const { return m_posINmm_w; }
88  float getposOUT_u() const { return m_posOUTmm_u; }
90  float getposOUT_v() const { return m_posOUTmm_v; }
92  float getposOUT_w() const { return m_posOUTmm_w; }
94  float getmomentum_x() const { return m_momGeV_x; }
96  float getmomentum_y() const { return m_momGeV_y; }
98  float getmomentum_z() const { return m_momGeV_z; }
100  float getthetaAngle() const { return m_thetaLoc; }
102  float getphiAngle() const { return m_phiLoc; }
104  float getglobalTime() const { return m_globalTime; }
106  int geteventnumber() const {return m_evtNum;}
107  void seteventnumber(const int evtn) {m_evtNum = (unsigned)evtn;}
108 
109 
110  private:
111 
113  int m_pdgID;
115  int m_sensorID;
117  int m_trackID;
119  float m_trackVx_x;
121  float m_trackVx_y;
123  float m_trackVx_z;
129  float m_posINmm_x;
131  float m_posINmm_y;
133  float m_posINmm_z;
135  float m_posINmm_u;
137  float m_posINmm_v;
139  float m_posINmm_w;
147  float m_momGeV_x;
149  float m_momGeV_y;
151  float m_momGeV_z;
153  float m_thetaLoc;
155  float m_phiLoc;
159  unsigned m_evtNum;
160 
162  };
163 
165 } // end namespace Belle2
166 
167 #endif
Belle2::PlumeSimHit::m_momGeV_x
float m_momGeV_x
incoming track momentum, x coordinates in G4 ref, in GeV
Definition: PlumeSimHit.h:155
Belle2::PlumeSimHit::m_pdgID
int m_pdgID
particle PDG id
Definition: PlumeSimHit.h:121
Belle2::PlumeSimHit::getposOUT_u
float getposOUT_u() const
outcoming track position u in sensor ref, in mm
Definition: PlumeSimHit.h:96
Belle2::PlumeSimHit::m_nielDepMeV
float m_nielDepMeV
non ionizing deposited energy
Definition: PlumeSimHit.h:135
Belle2::PlumeSimHit::m_trackVx_x
float m_trackVx_x
track production vertex x coordinates in G4 ref
Definition: PlumeSimHit.h:127
Belle2::PlumeSimHit::m_trackVx_y
float m_trackVx_y
track production vertex y coordinates in G4 ref
Definition: PlumeSimHit.h:129
Belle2::PlumeSimHit
Class PlumeSimHit - Geant4 simulated hit for the PLUME detector.
Definition: PlumeSimHit.h:37
Belle2::PlumeSimHit::m_thetaLoc
float m_thetaLoc
local (sensor ref) theta angle, out of sensor plane, in degree
Definition: PlumeSimHit.h:161
Belle2::PlumeSimHit::m_posOUTmm_u
float m_posOUTmm_u
outcoming track position u in sensor ref, in mm
Definition: PlumeSimHit.h:149
Belle2::PlumeSimHit::getthetaAngle
float getthetaAngle() const
local (sensor ref) theta angle, out of sensor plane, in degree
Definition: PlumeSimHit.h:108
Belle2::PlumeSimHit::getposOUT_w
float getposOUT_w() const
outcoming track position w in sensor ref, in mm
Definition: PlumeSimHit.h:100
Belle2::PlumeSimHit::gettrackVx_x
float gettrackVx_x() const
track production vertex x coordinates in G4 ref
Definition: PlumeSimHit.h:74
Belle2::PlumeSimHit::m_sensorID
int m_sensorID
sensor ID
Definition: PlumeSimHit.h:123
Belle2::PlumeSimHit::m_energyDepMeV
float m_energyDepMeV
deposited energy in MeV
Definition: PlumeSimHit.h:133
Belle2::PlumeSimHit::m_posINmm_w
float m_posINmm_w
incoming track position w in sensor ref, in mm
Definition: PlumeSimHit.h:147
Belle2::PlumeSimHit::getposIN_v
float getposIN_v() const
incoming track position v in sensor ref, in mm
Definition: PlumeSimHit.h:92
Belle2::PlumeSimHit::getglobalTime
float getglobalTime() const
global time
Definition: PlumeSimHit.h:112
Belle2::RelationsInterface::ClassDef
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Belle2::PlumeSimHit::m_momGeV_z
float m_momGeV_z
incoming track momentum, z coordinates in G4 ref, in GeV
Definition: PlumeSimHit.h:159
Belle2::PlumeSimHit::m_trackVx_z
float m_trackVx_z
track production vertex z coordinates in G4 ref
Definition: PlumeSimHit.h:131
Belle2::SimHitBase
Class SimHitBase - A common base for subdetector SimHits.
Definition: SimHitBase.h:38
Belle2::PlumeSimHit::getmomentum_z
float getmomentum_z() const
incoming track momentum, z coordinates in G4 ref, in GeV
Definition: PlumeSimHit.h:106
Belle2::PlumeSimHit::getsensorID
int getsensorID() const
sensor ID
Definition: PlumeSimHit.h:70
Belle2::PlumeSimHit::getposIN_z
float getposIN_z() const
incoming track position z in G4 ref, in mm
Definition: PlumeSimHit.h:88
Belle2::PlumeSimHit::m_momGeV_y
float m_momGeV_y
incoming track momentum, y coordinates in G4 ref, in GeV
Definition: PlumeSimHit.h:157
Belle2::PlumeSimHit::getmomentum_x
float getmomentum_x() const
incoming track momentum, x coordinates in G4 ref, in GeV
Definition: PlumeSimHit.h:102
Belle2::PlumeSimHit::getposOUT_v
float getposOUT_v() const
outcoming track position v in sensor ref, in mm
Definition: PlumeSimHit.h:98
Belle2::PlumeSimHit::m_posINmm_v
float m_posINmm_v
incoming track position v in sensor ref, in mm
Definition: PlumeSimHit.h:145
Belle2::PlumeSimHit::m_posINmm_y
float m_posINmm_y
incoming track position y in G4 ref, in mm
Definition: PlumeSimHit.h:139
Belle2::PlumeSimHit::getphiAngle
float getphiAngle() const
local (sensor ref) phi angle, in sensor plane, in degree
Definition: PlumeSimHit.h:110
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::PlumeSimHit::getposIN_w
float getposIN_w() const
incoming track position w in sensor ref, in mm
Definition: PlumeSimHit.h:94
Belle2::PlumeSimHit::getpdgID
int getpdgID() const
particle PDG id
Definition: PlumeSimHit.h:68
Belle2::PlumeSimHit::m_posINmm_x
float m_posINmm_x
incoming track position x in G4 ref, in mm
Definition: PlumeSimHit.h:137
Belle2::PlumeSimHit::gettrackVx_y
float gettrackVx_y() const
track production vertex y coordinates in G4 ref
Definition: PlumeSimHit.h:76
Belle2::PlumeSimHit::gettrackVx_z
float gettrackVx_z() const
track production vertex z coordinates in G4 ref
Definition: PlumeSimHit.h:78
Belle2::PlumeSimHit::m_evtNum
unsigned m_evtNum
event number
Definition: PlumeSimHit.h:167
Belle2::PlumeSimHit::m_posOUTmm_w
float m_posOUTmm_w
outcoming track position w in sensor ref, in mm
Definition: PlumeSimHit.h:153
Belle2::PlumeSimHit::getposIN_u
float getposIN_u() const
incoming track position u in sensor ref, in mm
Definition: PlumeSimHit.h:90
Belle2::PlumeSimHit::geteventnumber
int geteventnumber() const
event number
Definition: PlumeSimHit.h:114
Belle2::PlumeSimHit::getmomentum_y
float getmomentum_y() const
incoming track momentum, y coordinates in G4 ref, in GeV
Definition: PlumeSimHit.h:104
Belle2::PlumeSimHit::m_posOUTmm_v
float m_posOUTmm_v
outcoming track position v in sensor ref, in mm
Definition: PlumeSimHit.h:151
Belle2::PlumeSimHit::getposIN_x
float getposIN_x() const
incoming track position x in G4 ref, in mm
Definition: PlumeSimHit.h:84
Belle2::PlumeSimHit::m_trackID
int m_trackID
track ID
Definition: PlumeSimHit.h:125
Belle2::PlumeSimHit::getposIN_y
float getposIN_y() const
incoming track position y in G4 ref, in mm
Definition: PlumeSimHit.h:86
Belle2::PlumeSimHit::m_posINmm_u
float m_posINmm_u
incoming track position u in sensor ref, in mm
Definition: PlumeSimHit.h:143
Belle2::PlumeSimHit::m_globalTime
float m_globalTime
global time
Definition: PlumeSimHit.h:165
Belle2::PlumeSimHit::m_phiLoc
float m_phiLoc
local (sensor ref) phi angle, in sensor plane, in degree
Definition: PlumeSimHit.h:163
Belle2::PlumeSimHit::getnielDep
float getnielDep() const
non ionizing deposited energy
Definition: PlumeSimHit.h:82
Belle2::PlumeSimHit::m_posINmm_z
float m_posINmm_z
incoming track position z in G4 ref, in mm
Definition: PlumeSimHit.h:141
Belle2::PlumeSimHit::PlumeSimHit
PlumeSimHit()
default constructor for ROOT
Definition: PlumeSimHit.h:43
Belle2::PlumeSimHit::gettrackID
int gettrackID() const
track ID
Definition: PlumeSimHit.h:72
Belle2::PlumeSimHit::getenergyDep
float getenergyDep() const
deposited energy in MeV
Definition: PlumeSimHit.h:80