CMS 3D CMS Logo

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 
18 public:
19 
21  const DetId::Detector& det, const std::string& name);
23 
27  uint32_t getUnitID(int layer, int module, int cell, int iz,
28  const G4ThreeVector &pos, double& wt);
29 
30 private:
31 
32  void checkPosition(uint32_t index, const G4ThreeVector &pos) const;
33 
34  HGCalNumberingScheme() = delete;
39 };
40 
41 #endif
HGCalNumberingScheme()=delete
const HGCalGeometryMode::GeometryMode mode_
const HGCalDDDConstants & hgcons_
uint32_t getUnitID(int layer, int module, int cell, int iz, const G4ThreeVector &pos, double &wt)
assigns the det id to a hit
Detector
Definition: DetId.h:26
void checkPosition(uint32_t index, const G4ThreeVector &pos) const
Definition: vlib.h:208