CMS 3D CMS Logo

HGCNumberingScheme.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HGCNumberingScheme_h
2 #define SimG4CMS_HGCNumberingScheme_h
3 // File: HGCNumberingScheme.h
5 // Description: Definition of sensitive unit numbering schema for HGC
7 
10 
11 #include "G4ThreeVector.hh"
12 
14 public:
16 
18 
20 
24  uint32_t getUnitID(ForwardSubdetector subdet, int layer, int module, int cell, int iz, const G4ThreeVector& pos);
25 
29  int assignCell(float x, float y, int layer);
30 
34  std::pair<float, float> getLocalCoords(int cell, int layer);
35 
36 private:
37  HGCNumberingScheme() = delete;
39 };
40 
41 #endif
DDAxes::y
ForwardSubdetector
ForwardSubdetector
Definition: ForwardSubdetector.h:4
pos
Definition: PixelAliasList.h:18
HGCNumberingScheme::assignCell
int assignCell(float x, float y, int layer)
maps a hit position to a sequential cell in a trapezoid surface defined by h,b,t
Definition: HGCNumberingScheme.cc:69
DDAxes::x
HGCalDDDConstants
Definition: HGCalDDDConstants.h:27
ForwardSubdetector.h
hgc_digi
Definition: HGCDigitizerTypes.h:10
HGCNumberingScheme::HGCCellSize
Definition: HGCNumberingScheme.h:15
HGCNumberingScheme::getUnitID
uint32_t getUnitID(ForwardSubdetector subdet, int layer, int module, int cell, int iz, const G4ThreeVector &pos)
assigns the det id to a hit
Definition: HGCNumberingScheme.cc:24
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
HGCNumberingScheme::getLocalCoords
std::pair< float, float > getLocalCoords(int cell, int layer)
inverts the cell number in a trapezoid surface to local coordinates
Definition: HGCNumberingScheme.cc:74
HGCNumberingScheme::~HGCNumberingScheme
~HGCNumberingScheme()
Definition: HGCNumberingScheme.cc:22
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HGCNumberingScheme
Definition: HGCNumberingScheme.h:13
callgraph.module
module
Definition: callgraph.py:61
HGCNumberingScheme::HGCNumberingParameters
HGCNumberingParameters
Definition: HGCNumberingScheme.h:15
HGCNumberingScheme::hgcons_
const HGCalDDDConstants & hgcons_
Definition: HGCNumberingScheme.h:38
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
HGCalDDDConstants.h
HGCNumberingScheme::HGCNumberingScheme
HGCNumberingScheme()=delete