CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EnergySegmentFP420.h
Go to the documentation of this file.
1 #ifndef EnergySegmentFP420_h
2 #define EnergySegmentFP420_h
3 
4 
5 #include<vector>
6 
7 #include "G4StepPoint.hh"
9 
10 // define a quantum of energy and position.
12  public:
14 
15  EnergySegmentFP420(float energy,float x, float y, float z):
16  _energy(energy),_position(x,y,z){}
17 
18  // EnergySegmentFP420(float energy, G4ThreeVector position):
19  // _energy(energy),_position(position){}
20 
22  _energy(energy),_position(position){}
23 
24  float x() const{return _position.x();}
25  float y() const{return _position.y();}
26  float z() const{return _position.z();}
27  float energy() const { return _energy;}
28  private:
29  float _energy;
30  // G4ThreeVector _position;
32 };
33 
34 
35 #endif
T y() const
Definition: PV3DBase.h:62
static int position[TOTALCHAMBERS][3]
Definition: ReadPGInfo.cc:509
float energy() const
T z() const
Definition: PV3DBase.h:63
EnergySegmentFP420(float energy, Local3DPoint position)
EnergySegmentFP420(float energy, float x, float y, float z)
T x() const
Definition: PV3DBase.h:61