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
() {}
18
22
uint32_t
getUnitID
(
int
layer
,
int
module,
int
cell,
int
iz,
const
G4ThreeVector&
pos
,
double
& wt);
23
24
private
:
25
void
checkPosition
(uint32_t
index
,
const
G4ThreeVector&
pos
)
const
;
26
27
HFNoseNumberingScheme
() =
delete
;
28
const
HGCalDDDConstants
&
hgcons_
;
29
const
HGCalGeometryMode::GeometryMode
mode_
;
30
};
31
32
#endif
HFNoseNumberingScheme::checkPosition
void checkPosition(uint32_t index, const G4ThreeVector &pos) const
Definition:
HFNoseNumberingScheme.cc:52
HGCalGeometryMode.h
pos
Definition:
PixelAliasList.h:18
HFNoseNumberingScheme::mode_
const HGCalGeometryMode::GeometryMode mode_
Definition:
HFNoseNumberingScheme.h:29
HFNoseDetId.h
HFNoseNumberingScheme
Definition:
HFNoseNumberingScheme.h:14
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:27
hgc_digi
Definition:
HGCDigitizerTypes.h:10
HFNoseNumberingScheme::HFNoseNumberingScheme
HFNoseNumberingScheme()=delete
HFNoseNumberingScheme::~HFNoseNumberingScheme
~HFNoseNumberingScheme()
Definition:
HFNoseNumberingScheme.h:17
HFNoseNumberingScheme::hgcons_
const HGCalDDDConstants & hgcons_
Definition:
HFNoseNumberingScheme.h:28
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition:
phase1PixelTopology.h:99
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
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:46
HGCalDDDConstants.h
Generated for CMSSW Reference Manual by
1.8.16