48 void fill(
const G4Step* aStep);
49 void dumpASCII(
const std::string &aDirectory,
int nEvt);
58 std::map<unsigned int, LBNFDeDxCell>
fMap;
67 void defineInnerCHornA();
68 void defineInnerCHornB();
69 unsigned int getKey(
const G4Step* aStep);
72 size_t kPhi =
static_cast<size_t>(f*fNumPhiSlices/(2.0*M_PI));
73 size_t iRC =
static_cast<size_t>((r - rStart)/rWidth);
74 const double rc = rStart + iRC*
rWidth;
75 unsigned int aKey = kPhi*fPhiKeyMult +
static_cast<unsigned int>(fRKeyFact*
rc);
81 size_t kPhi =
static_cast<size_t>(f*fNumPhiSlices/(2.0*M_PI));
82 size_t iZC =
static_cast<size_t>((z - zStart)/zWidth);
83 const double zc = zStart + iZC*
zWidth;
84 unsigned int aKey = kPhi*fPhiKeyMult +
static_cast<unsigned int>(fZKeyFact*zc);
std::vector< std::string > G4NamesInMapZTag
std::vector< double > rStarts
std::vector< LBNFDeDxEntryInCell > fVectSpecialCell
unsigned int fNumPhiSlices
std::vector< double > rWidths
unsigned int getTagFromZ(double z, double zStart, double zWidth, double f) const
std::vector< double > zStarts
std::vector< double > zWidths
std::map< unsigned int, LBNFDeDxCell > fMap
std::vector< std::string > G4NamesInMapRTag
unsigned int getTagFromR(double r, double rStart, double rWidth, double f) const