Go to the documentation of this file.00001 #ifndef _TRACKER_EnergyDepositUnit_H
00002 #define _TRACKER_EnergyDepositUnit_H
00003
00004 #include "DataFormats/GeometryVector/interface/LocalPoint.h"
00005 #include "DataFormats/GeometryVector/interface/LocalVector.h"
00010 class EnergyDepositUnit{
00011 public:
00012 EnergyDepositUnit(): _energy(0),_position(0,0,0){}
00013 EnergyDepositUnit(float energy,float x, float y, float z):
00014 _energy(energy),_position(x,y,z){}
00015 EnergyDepositUnit(float energy, const Local3DPoint& position):
00016 _energy(energy),_position(position){}
00017 float x() const{return _position.x();}
00018 float y() const{return _position.y();}
00019 float z() const{return _position.z();}
00020 float energy() const { return _energy;}
00021 private:
00022 float _energy;
00023 Local3DPoint _position;
00024 };
00025
00026
00027 #endif