CMS 3D CMS Logo

BscNumberingScheme.h
Go to the documentation of this file.
1 // File: BscNumberingScheme.h
3 // Date: 02.2006
4 // Description: Numbering scheme for Bsc
5 // Modifications:
7 #ifndef BscNumberingScheme_h
8 #define BscNumberingScheme_h
9 
10 #include "G4Step.hh"
11 #include <cstdint>
12 
14 public:
16  ~BscNumberingScheme() = default;
17 
18  unsigned int getUnitID(const G4Step* aStep) const;
19 
20  // Utilities to get detector levels during a step
21  int detectorLevel(const G4Step*) const;
22  void detectorLevel(const G4Step*, int&, int*, G4String*) const;
23 
24  static unsigned int packBscIndex(int det, int zside, int station);
25  static void unpackBscIndex(const unsigned int& idx);
26 };
27 
28 #endif
int zside(DetId const &)
unsigned int getUnitID(const G4Step *aStep) const
static unsigned int packBscIndex(int det, int zside, int station)
static void unpackBscIndex(const unsigned int &idx)
int detectorLevel(const G4Step *) const
~BscNumberingScheme()=default