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
unsigned int getUnitID(const G4Step *aStep) const
int zside(DetId const &)
static unsigned int packBscIndex(int det, int zside, int station)
static void unpackBscIndex(const unsigned int &idx)
~BscNumberingScheme()=default
int detectorLevel(const G4Step *) const