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 <cstdint>
6 
8 public:
10  ~BHMNumberingScheme() = default;
11 
12  unsigned int getUnitID(const G4Step* aStep) const;
13 
14  // Utilities to get detector levels during a step
15  int detectorLevel(const G4Step*) const;
16  void detectorLevel(const G4Step*, int&, int*, G4String*) const;
17 
18  static unsigned int packIndex(int subdet, int zside, int station);
19  static void unpackIndex(const unsigned int& idx, int& subdet, int& zside, int& station);
20 };
21 
22 #endif
BHMNumberingScheme::~BHMNumberingScheme
~BHMNumberingScheme()=default
ecaldqm::zside
int zside(DetId const &)
Definition: EcalDQMCommonUtils.cc:189
relativeConstraints.station
station
Definition: relativeConstraints.py:67
BHMNumberingScheme::getUnitID
unsigned int getUnitID(const G4Step *aStep) const
Definition: BHMNumberingScheme.cc:26
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
BHMNumberingScheme::BHMNumberingScheme
BHMNumberingScheme()
Definition: BHMNumberingScheme.cc:6
BHMNumberingScheme::packIndex
static unsigned int packIndex(int subdet, int zside, int station)
Definition: BHMNumberingScheme.cc:51
BHMNumberingScheme::unpackIndex
static void unpackIndex(const unsigned int &idx, int &subdet, int &zside, int &station)
Definition: BHMNumberingScheme.cc:59
BHMNumberingScheme::detectorLevel
int detectorLevel(const G4Step *) const
Definition: BHMNumberingScheme.cc:8
BHMNumberingScheme
Definition: BHMNumberingScheme.h:7