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 
15 public:
17  ~BscNumberingScheme() = default;
18 
19  unsigned int getUnitID(const G4Step* aStep) const;
20 
21  // Utilities to get detector levels during a step
22  int detectorLevel(const G4Step*) const;
23  void detectorLevel(const G4Step*, int&, int*, G4String*) const;
24 
25  static unsigned int packBscIndex(int det, int zside, int station);
26  static void unpackBscIndex(const unsigned int& idx);
27 
28 };
29 
30 #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