Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
() =
delete
;
20
~HGCalNumberingScheme
();
21
25
uint32_t
getUnitID
(
int
layer
,
int
module
,
int
cell,
int
iz,
const
G4ThreeVector& pos,
double
& wt);
26
27
private
:
28
void
checkPosition
(uint32_t
index
,
const
G4ThreeVector& pos,
bool
matchOnly,
bool
debug
)
const
;
29
30
const
HGCalDDDConstants
&
hgcons_
;
31
const
HGCalGeometryMode::GeometryMode
mode_
;
32
DetId::Detector
det_
;
33
std::string
name_
;
34
};
35
36
#endif
HGCalNumberingScheme::HGCalNumberingScheme
HGCalNumberingScheme()=delete
HGCalNumberingScheme::~HGCalNumberingScheme
~HGCalNumberingScheme()
Definition:
HGCalNumberingScheme.cc:28
HGCalNumberingScheme::checkPosition
void checkPosition(uint32_t index, const G4ThreeVector &pos, bool matchOnly, bool debug) const
Definition:
HGCalNumberingScheme.cc:110
HGCalNumberingScheme::mode_
const HGCalGeometryMode::GeometryMode mode_
Definition:
HGCalNumberingScheme.h:31
HGCalNumberingScheme::hgcons_
const HGCalDDDConstants & hgcons_
Definition:
HGCalNumberingScheme.h:30
HGCalGeometryMode::GeometryMode
GeometryMode
Definition:
HGCalGeometryMode.h:25
HGCalGeometryMode.h
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:78
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition:
phase1PixelTopology.h:110
HGCalNumberingScheme
Definition:
HGCalNumberingScheme.h:16
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:29
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:46
HGCSiliconDetId.h
HGCalNumberingScheme::det_
DetId::Detector det_
Definition:
HGCalNumberingScheme.h:32
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:34
debug
#define debug
Definition:
HDRShower.cc:19
DetId::Detector
Detector
Definition:
DetId.h:24
HGCScintillatorDetId.h
HGCalDDDConstants.h
DetId.h
callgraph.module
tuple module
Definition:
callgraph.py:69
HGCalNumberingScheme::name_
std::string name_
Definition:
HGCalNumberingScheme.h:33
Generated for CMSSW Reference Manual by
1.8.5