1 #ifndef Forward_CastorNumberingScheme_h
2 #define Forward_CastorNumberingScheme_h
28 #include "G4LogicalVolume.hh"
29 #include <boost/cstdint.hpp>
38 virtual uint32_t
getUnitID(
const G4Step* aStep)
const;
53 static uint32_t
packIndex(
int z,
int sector,
int zmodule);
54 static void unpackIndex(
const uint32_t& idx,
int& z,
int& sector,
int& zmodule);
58 typedef G4LogicalVolume*
lvp;
static void unpackIndex(const uint32_t &idx, int &z, int §or, int &zmodule)
virtual ~CastorNumberingScheme()
void detectorLevel(const G4Step *, int &, int *, lvp *) const
virtual uint32_t getUnitID(const G4Step *aStep) const
static uint32_t packIndex(int z, int sector, int zmodule)