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
#include <string>
17
#include <vector>
18
19
class
HGCalNumberingScheme
{
20
public
:
21
HGCalNumberingScheme
(
const
HGCalDDDConstants
&
hgc
,
22
const
DetId::Detector
& det,
23
const
std::string
&
name
,
24
const
std::string
&
fileName
);
25
HGCalNumberingScheme
() =
delete
;
26
~HGCalNumberingScheme
();
27
31
uint32_t
getUnitID
(
int
layer
,
int
module
,
int
cell,
int
iz,
const
G4ThreeVector&
pos
,
double
& wt);
32
33
private
:
34
void
checkPosition
(uint32_t
index
,
const
G4ThreeVector&
pos
,
bool
matchOnly,
bool
debug
)
const
;
35
36
const
HGCalDDDConstants
&
hgcons_
;
37
const
HGCalGeometryMode::GeometryMode
mode_
;
38
const
DetId::Detector
det_
;
39
const
std::string
name_
;
40
int
firstLayer_
;
41
std::vector<int>
indices_
;
42
std::vector<int>
dumpDets_
;
43
std::vector<int>
dumpCassette_
;
44
};
45
46
#endif
HGCalNumberingScheme::HGCalNumberingScheme
HGCalNumberingScheme()=delete
HGCalNumberingScheme::det_
const DetId::Detector det_
Definition:
HGCalNumberingScheme.h:38
HGCalNumberingScheme::~HGCalNumberingScheme
~HGCalNumberingScheme()
Definition:
HGCalNumberingScheme.cc:78
HGCalNumberingScheme::firstLayer_
int firstLayer_
Definition:
HGCalNumberingScheme.h:40
HGCalNumberingScheme::mode_
const HGCalGeometryMode::GeometryMode mode_
Definition:
HGCalNumberingScheme.h:37
HGCalNumberingScheme::hgcons_
const HGCalDDDConstants & hgcons_
Definition:
HGCalNumberingScheme.h:36
HGCalGeometryMode::GeometryMode
GeometryMode
Definition:
HGCalGeometryMode.h:26
hgc_digi
Definition:
HGCDigitizerTypes.h:10
HGCalGeometryMode.h
HGCalNumberingScheme::indices_
std::vector< int > indices_
Definition:
HGCalNumberingScheme.h:41
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HGCalNumberingScheme
Definition:
HGCalNumberingScheme.h:19
pixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
Definition:
SimplePixelTopology.h:90
callgraph.module
module
Definition:
callgraph.py:69
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:35
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:71
HGCSiliconDetId.h
HGCalNumberingScheme::dumpDets_
std::vector< int > dumpDets_
Definition:
HGCalNumberingScheme.h:42
pos
Definition:
PixelCalibBase.h:13
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:84
debug
#define debug
Definition:
HDRShower.cc:19
DetId::Detector
Detector
Definition:
DetId.h:24
HGCalNumberingScheme::checkPosition
void checkPosition(uint32_t index, const G4ThreeVector &pos, bool matchOnly, bool debug) const
Definition:
HGCalNumberingScheme.cc:192
HGCScintillatorDetId.h
MillePedeFileConverter_cfg.fileName
fileName
Definition:
MillePedeFileConverter_cfg.py:32
HGCalNumberingScheme::dumpCassette_
std::vector< int > dumpCassette_
Definition:
HGCalNumberingScheme.h:43
HGCalDDDConstants.h
HGCalNumberingScheme::name_
const std::string name_
Definition:
HGCalNumberingScheme.h:39
DetId.h
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14