SimG4CMS
Calo
interface
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
8
#include "
DataFormats/ForwardDetId/interface/HFNoseDetId.h
"
9
#include "
Geometry/HGCalCommonData/interface/HGCalDDDConstants.h
"
10
#include "
Geometry/HGCalCommonData/interface/HGCalGeometryMode.h
"
11
12
#include "G4ThreeVector.hh"
13
14
class
HFNoseNumberingScheme
{
15
public
:
16
HFNoseNumberingScheme
(
const
HGCalDDDConstants
&
hgc
);
17
HFNoseNumberingScheme
() =
delete
;
18
~HFNoseNumberingScheme
() {}
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
28
const
HGCalDDDConstants
&
hgcons_
;
29
const
HGCalGeometryMode::GeometryMode
mode_
;
30
};
31
32
#endif
HFNoseNumberingScheme::getUnitID
uint32_t getUnitID(int layer, int module, int cell, int iz, const G4ThreeVector &pos, double &wt)
assigns the det id to a hit
Definition:
HFNoseNumberingScheme.cc:18
HGCalGeometryMode::GeometryMode
GeometryMode
Definition:
HGCalGeometryMode.h:25
HFNoseDetId.h
HFNoseNumberingScheme
Definition:
HFNoseNumberingScheme.h:14
hgc_digi
Definition:
HGCDigitizerTypes.h:10
HGCalGeometryMode.h
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition:
SimplePixelTopology.h:138
callgraph.module
module
Definition:
callgraph.py:69
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:29
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:46
HFNoseNumberingScheme::checkPosition
void checkPosition(uint32_t index, const G4ThreeVector &pos) const
Definition:
HFNoseNumberingScheme.cc:52
HFNoseNumberingScheme::HFNoseNumberingScheme
HFNoseNumberingScheme()=delete
pos
Definition:
PixelCalibBase.h:13
HFNoseNumberingScheme::mode_
const HGCalGeometryMode::GeometryMode mode_
Definition:
HFNoseNumberingScheme.h:29
HFNoseNumberingScheme::hgcons_
const HGCalDDDConstants & hgcons_
Definition:
HFNoseNumberingScheme.h:28
HFNoseNumberingScheme::~HFNoseNumberingScheme
~HFNoseNumberingScheme()
Definition:
HFNoseNumberingScheme.h:18
HGCalDDDConstants.h
Generated for CMSSW Reference Manual by
1.8.14