SimG4CMS
Calo
interface
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
8
#include "
DataFormats/DetId/interface/DetId.h
"
9
#include "
DataFormats/ForwardDetId/interface/HGCSiliconDetId.h
"
10
#include "
DataFormats/ForwardDetId/interface/HGCScintillatorDetId.h
"
11
#include "
Geometry/HGCalCommonData/interface/HGCalDDDConstants.h
"
12
#include "
Geometry/HGCalCommonData/interface/HGCalGeometryMode.h
"
13
14
#include "G4ThreeVector.hh"
15
16
class
HGCalNumberingScheme
{
17
public
:
18
HGCalNumberingScheme
(
const
HGCalDDDConstants
&
hgc
,
const
DetId::Detector
& det,
const
std::string
&
name
);
19
~HGCalNumberingScheme
();
20
24
uint32_t
getUnitID
(
int
layer,
int
module,
int
cell,
int
iz,
const
G4ThreeVector&
pos
,
double
& wt);
25
26
private
:
27
void
checkPosition
(uint32_t
index
,
const
G4ThreeVector&
pos
)
const
;
28
29
HGCalNumberingScheme
() =
delete
;
30
const
HGCalDDDConstants
&
hgcons_
;
31
const
HGCalGeometryMode::GeometryMode
mode_
;
32
DetId::Detector
det_
;
33
std::string
name_
;
34
};
35
36
#endif
HGCScintillatorDetId.h
HGCalGeometryMode.h
pos
Definition:
PixelAliasList.h:18
HGCSiliconDetId.h
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:26
hgc_digi
Definition:
HGCDigitizerTypes.h:10
HGCalNumberingScheme::name_
std::string name_
Definition:
HGCalNumberingScheme.h:33
HGCalNumberingScheme::HGCalNumberingScheme
HGCalNumberingScheme()=delete
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HGCalNumberingScheme::~HGCalNumberingScheme
~HGCalNumberingScheme()
Definition:
HGCalNumberingScheme.cc:24
HGCalNumberingScheme::checkPosition
void checkPosition(uint32_t index, const G4ThreeVector &pos) const
Definition:
HGCalNumberingScheme.cc:98
HGCalGeometryMode::GeometryMode
GeometryMode
Definition:
HGCalGeometryMode.h:25
HGCalNumberingScheme::hgcons_
const HGCalDDDConstants & hgcons_
Definition:
HGCalNumberingScheme.h:30
DetId::Detector
Detector
Definition:
DetId.h:24
DetId.h
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:46
HGCalNumberingScheme::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:
HGCalNumberingScheme.cc:30
HGCalDDDConstants.h
HGCalNumberingScheme
Definition:
HGCalNumberingScheme.h:16
HGCalNumberingScheme::det_
DetId::Detector det_
Definition:
HGCalNumberingScheme.h:32
HGCalNumberingScheme::mode_
const HGCalGeometryMode::GeometryMode mode_
Definition:
HGCalNumberingScheme.h:31
Generated for CMSSW Reference Manual by
1.8.16