CMS 3D CMS Logo

HFNoseNumberingScheme.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_Calo_HFNoseNumberingScheme_h
2 #define SimG4CMS_Calo_HFNoseNumberingScheme_h
3 // File: HFNoseNumberingScheme.h
5 // Description: Definition of sensitive unit numbering schema for HFNose
7 
11 
12 #include "G4ThreeVector.hh"
13 
15 public:
17  HFNoseNumberingScheme() = delete;
19 
23  uint32_t getUnitID(int layer, int module, int cell, int iz, const G4ThreeVector& pos, double& wt);
24 
25 private:
26  void checkPosition(uint32_t index, const G4ThreeVector& pos) const;
27 
30 };
31 
32 #endif
uint32_t getUnitID(int layer, int module, int cell, int iz, const G4ThreeVector &pos, double &wt)
assigns the det id to a hit
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
void checkPosition(uint32_t index, const G4ThreeVector &pos) const
HFNoseNumberingScheme()=delete
const HGCalGeometryMode::GeometryMode mode_
const HGCalDDDConstants & hgcons_