Go to the documentation of this file.00001 #ifndef EnergySegmentFP420_h
00002 #define EnergySegmentFP420_h
00003
00004
00005 #include<vector>
00006
00007 #include "G4StepPoint.hh"
00008 #include "DataFormats/GeometryVector/interface/LocalPoint.h"
00009
00010
00011 class EnergySegmentFP420{
00012 public:
00013 EnergySegmentFP420(): _energy(0),_position(0,0,0){}
00014
00015 EnergySegmentFP420(float energy,float x, float y, float z):
00016 _energy(energy),_position(x,y,z){}
00017
00018
00019
00020
00021 EnergySegmentFP420(float energy, Local3DPoint position):
00022 _energy(energy),_position(position){}
00023
00024 float x() const{return _position.x();}
00025 float y() const{return _position.y();}
00026 float z() const{return _position.z();}
00027 float energy() const { return _energy;}
00028 private:
00029 float _energy;
00030
00031 Local3DPoint _position;
00032 };
00033
00034
00035 #endif