CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HGCalNumberingScheme.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_Calo_HGCalNumberingScheme_h
2 #define SimG4CMS_Calo_HGCalNumberingScheme_h
3 // File: HGCalNumberingScheme.h
5 // Description: Definition of sensitive unit numbering schema for HGC
7 
13 
14 #include "G4ThreeVector.hh"
15 
17 public:
19  HGCalNumberingScheme() = delete;
21 
25  uint32_t getUnitID(int layer, int module, int cell, int iz, const G4ThreeVector& pos, double& wt);
26 
27 private:
28  void checkPosition(uint32_t index, const G4ThreeVector& pos, bool matchOnly, bool debug) const;
29 
34 };
35 
36 #endif
HGCalNumberingScheme()=delete
void checkPosition(uint32_t index, const G4ThreeVector &pos, bool matchOnly, bool debug) const
const HGCalGeometryMode::GeometryMode mode_
const HGCalDDDConstants & hgcons_
constexpr std::array< uint8_t, layerIndexSize > layer
uint32_t getUnitID(int layer, int module, int cell, int iz, const G4ThreeVector &pos, double &wt)
assigns the det id to a hit
#define debug
Definition: HDRShower.cc:19
Detector
Definition: DetId.h:24
tuple module
Definition: callgraph.py:69