Geant4
10.00.p03
|
#include <CCaloOrganization.hh>
Public Member Functions | |
CCaloOrganization () | |
virtual | ~CCaloOrganization () |
unsigned int | packindex (int det, int z, int eta, int phi) const |
unsigned int | packindex (int det, int depth, int z, int eta, int phi) const |
void | unpackindex (const unsigned int &idx, int &det, int &z, int &eta, int &phi) const |
void | unpackindex (const unsigned int &idx, int &det, int &depth, int &z, int &eta, int &phi) const |
int | getUnitWithMaxEnergy (std::map< int, float, std::less< int > > &themap) |
float | energyInMatrix (int nCellInEta, int nCellInPhi, int crystalWithMaxEnergy, std::map< int, float, std::less< int > > &themap) |
Definition at line 38 of file CCaloOrganization.hh.
|
inline |
Definition at line 41 of file CCaloOrganization.hh.
|
inlinevirtual |
Definition at line 42 of file CCaloOrganization.hh.
float CCaloOrganization::energyInMatrix | ( | int | nCellInEta, |
int | nCellInPhi, | ||
int | crystalWithMaxEnergy, | ||
std::map< int, float, std::less< int > > & | themap | ||
) |
Definition at line 121 of file CCaloOrganization.cc.
References G4cout, G4endl, packindex(), unpackindex(), and z.
int CCaloOrganization::getUnitWithMaxEnergy | ( | std::map< int, float, std::less< int > > & | themap | ) |
Definition at line 94 of file CCaloOrganization.cc.
References G4cout, G4endl, unpackindex(), and z.
unsigned int CCaloOrganization::packindex | ( | int | det, |
int | z, | ||
int | eta, | ||
int | phi | ||
) | const |
Definition at line 35 of file CCaloOrganization.cc.
References G4cout, and G4endl.
Referenced by energyInMatrix().
unsigned int CCaloOrganization::packindex | ( | int | det, |
int | depth, | ||
int | z, | ||
int | eta, | ||
int | phi | ||
) | const |
Definition at line 53 of file CCaloOrganization.cc.
void CCaloOrganization::unpackindex | ( | const unsigned int & | idx, |
int & | det, | ||
int & | z, | ||
int & | eta, | ||
int & | phi | ||
) | const |
Definition at line 73 of file CCaloOrganization.cc.
Referenced by energyInMatrix(), and getUnitWithMaxEnergy().
void CCaloOrganization::unpackindex | ( | const unsigned int & | idx, |
int & | det, | ||
int & | depth, | ||
int & | z, | ||
int & | eta, | ||
int & | phi | ||
) | const |
Definition at line 83 of file CCaloOrganization.cc.