32 #ifndef CCaloOrganization_h
33 #define CCaloOrganization_h
45 unsigned int packindex(
int det,
int z,
int eta,
int phi)
const;
46 unsigned int packindex(
int det,
int depth,
int z,
int eta,
int phi)
const;
47 void unpackindex(
const unsigned int& idx,
int& det,
int&
z,
int& eta,
int& phi)
const;
48 void unpackindex(
const unsigned int& idx,
int& det,
int& depth,
int&
z,
int& eta,
int& phi)
const;
56 int crystalWithMaxEnergy,
57 std::map<
int,
float,std::less<int> >& themap);
virtual ~CCaloOrganization()
void unpackindex(const unsigned int &idx, int &det, int &z, int &eta, int &phi) const
float energyInMatrix(int nCellInEta, int nCellInPhi, int crystalWithMaxEnergy, std::map< int, float, std::less< int > > &themap)
unsigned int packindex(int det, int z, int eta, int phi) const
int getUnitWithMaxEnergy(std::map< int, float, std::less< int > > &themap)