CMS 3D CMS Logo

BHMNumberingScheme.h
Go to the documentation of this file.
1 #ifndef SimG4CMSForwardBHMNumberingScheme_h
2 #define SimG4CMSForwardBHMNumberingScheme_h
3 
4 #include "G4Step.hh"
5 #include <vector>
6 
7 namespace BHMNumberingScheme {
8  unsigned int getUnitID(const G4Step* aStep);
9 
10  unsigned int packIndex(int subdet, int zside, int station);
11  void unpackIndex(const unsigned int& idx, int& subdet, int& zside, int& station);
12 } // namespace BHMNumberingScheme
13 
14 #endif
int zside(DetId const &)
unsigned int packIndex(int subdet, int zside, int station)
unsigned int getUnitID(const G4Step *aStep)
void unpackIndex(const unsigned int &idx, int &subdet, int &zside, int &station)