Geant4  10.03
CCaloOrganization Class Reference

#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)
 

Detailed Description

Definition at line 38 of file CCaloOrganization.hh.

Constructor & Destructor Documentation

CCaloOrganization::CCaloOrganization ( )
inline

Definition at line 41 of file CCaloOrganization.hh.

virtual CCaloOrganization::~CCaloOrganization ( )
inlinevirtual

Definition at line 42 of file CCaloOrganization.hh.

Member Function Documentation

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(), and unpackindex().

+ Here is the call graph for this function:

int CCaloOrganization::getUnitWithMaxEnergy ( std::map< int, float, std::less< int > > &  themap)

Definition at line 94 of file CCaloOrganization.cc.

References G4cout, G4endl, and unpackindex().

+ Here is the call graph for this function:

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().

+ Here is the caller graph for this function:

unsigned int CCaloOrganization::packindex ( int  det,
int  depth,
int  z,
int  eta,
int  phi 
) const

Definition at line 53 of file CCaloOrganization.cc.

References G4cout, and G4endl.

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().

+ Here is the caller graph for this function:

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.


The documentation for this class was generated from the following files: