File indexing completed on 2023-03-17 11:24:23
0001
0002
0003
0004
0005
0006
0007 #ifndef BscNumberingScheme_h
0008 #define BscNumberingScheme_h
0009
0010 #include "G4Step.hh"
0011 #include <cstdint>
0012
0013 class BscNumberingScheme {
0014 public:
0015 BscNumberingScheme();
0016 ~BscNumberingScheme() = default;
0017
0018 unsigned int getUnitID(const G4Step* aStep) const;
0019
0020
0021 int detectorLevel(const G4Step*) const;
0022 void detectorLevel(const G4Step*, int&, int*, G4String*) const;
0023
0024 static unsigned int packBscIndex(int det, int zside, int station);
0025 static void unpackBscIndex(const unsigned int& idx);
0026 };
0027
0028 #endif