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
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
HGCalNumberingScheme::HGCalNumberingScheme
HGCalNumberingScheme()=delete
HGCalNumberingScheme::~HGCalNumberingScheme
~HGCalNumberingScheme()
Definition:
HGCalNumberingScheme.cc:20
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: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:23
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:36
HGCSiliconDetId.h
HGCalNumberingScheme::det_
DetId::Detector det_
Definition:
HGCalNumberingScheme.h:32
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:26
DetId::Detector
Detector
Definition:
DetId.h:26
HGCalNumberingScheme::checkPosition
void checkPosition(uint32_t index, const G4ThreeVector &pos) const
Definition:
HGCalNumberingScheme.cc:90
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:33
Generated for CMSSW Reference Manual by
1.8.11