Main Page
Namespaces
Classes
Package Documentation
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
18
public
:
19
20
HGCalNumberingScheme
(
const
HGCalDDDConstants
&
hgc
,
21
const
DetId::Detector
& det,
const
std::string
&
name
);
22
~HGCalNumberingScheme
();
23
27
uint32_t
getUnitID
(
int
layer,
int
module
,
int
cell,
int
iz,
28
const
G4ThreeVector &
pos
,
double
& wt);
29
30
private
:
31
32
void
checkPosition
(uint32_t
index
,
const
G4ThreeVector &pos)
const
;
33
34
HGCalNumberingScheme
() =
delete
;
35
const
HGCalDDDConstants
&
hgcons_
;
36
const
HGCalGeometryMode::GeometryMode
mode_
;
37
DetId::Detector
det_
;
38
std::string
name_
;
39
};
40
41
#endif
HGCalNumberingScheme::HGCalNumberingScheme
HGCalNumberingScheme()=delete
HGCalNumberingScheme::~HGCalNumberingScheme
~HGCalNumberingScheme()
Definition:
HGCalNumberingScheme.cc:21
HGCalNumberingScheme::mode_
const HGCalGeometryMode::GeometryMode mode_
Definition:
HGCalNumberingScheme.h:36
HGCalNumberingScheme::hgcons_
const HGCalDDDConstants & hgcons_
Definition:
HGCalNumberingScheme.h:35
HGCalGeometryMode::GeometryMode
GeometryMode
Definition:
HGCalGeometryMode.h:26
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
hgc_digi
Definition:
HGCDigitizerTypes.h:10
HGCalGeometryMode.h
HGCalNumberingScheme
Definition:
HGCalNumberingScheme.h:16
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:24
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:36
HGCSiliconDetId.h
HGCalNumberingScheme::det_
DetId::Detector det_
Definition:
HGCalNumberingScheme.h:37
pos
Definition:
PixelAliasList.h:18
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:27
DetId::Detector
Detector
Definition:
DetId.h:26
HGCalNumberingScheme::checkPosition
void checkPosition(uint32_t index, const G4ThreeVector &pos) const
Definition:
HGCalNumberingScheme.cc:89
HGCScintillatorDetId.h
HGCalDDDConstants.h
dataset.name
name
Definition:
dataset.py:45
module
Definition:
vlib.h:208
DetId.h
HGCalNumberingScheme::name_
std::string name_
Definition:
HGCalNumberingScheme.h:38
Generated for CMSSW Reference Manual by
1.8.11