CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EnergyDepositUnit.h
Go to the documentation of this file.
1 #ifndef _TRACKER_EnergyDepositUnit_H
2 #define _TRACKER_EnergyDepositUnit_H
3 
11  public:
13  EnergyDepositUnit(float energy,float x, float y, float z):
14  _energy(energy),_position(x,y,z){}
16  _energy(energy),_position(position){}
17  float x() const{return _position.x();}
18  float y() const{return _position.y();}
19  float z() const{return _position.z();}
20  float energy() const { return _energy;}
21  private:
22  float _energy;
24 };
25 
26 
27 #endif
float x() const
float y() const
T y() const
Definition: PV3DBase.h:62
Local3DPoint _position
static int position[TOTALCHAMBERS][3]
Definition: ReadPGInfo.cc:509
float z() const
T z() const
Definition: PV3DBase.h:63
EnergyDepositUnit(float energy, Local3DPoint position)
float energy() const
T x() const
Definition: PV3DBase.h:61
EnergyDepositUnit(float energy, float x, float y, float z)