Main Page
Namespaces
Classes
Package Documentation
SimG4CMS
Calo
interface
HcalTestNumberingScheme.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_HcalTestNumberingScheme_h
2
#define SimG4CMS_HcalTestNumberingScheme_h
3
// File: HcalTestNumberingScheme.h
5
// Description: Numbering scheme for hadron calorimeter (detailed for TB)
7
8
#include "
SimG4CMS/Calo/interface/HcalNumberingScheme.h
"
9
#include "
DataFormats/HcalDetId/interface/HcalTestNumbering.h
"
10
11
class
HcalTestNumberingScheme
:
public
HcalNumberingScheme
{
12
13
public
:
14
HcalTestNumberingScheme
(
bool
forTB);
15
~HcalTestNumberingScheme
()
override
;
16
uint32_t
getUnitID
(
const
HcalNumberingFromDDD::HcalID
&
id
)
override
;
17
static
uint32_t
packHcalIndex
(
int
det,
int
z
,
int
depth
,
int
eta
,
18
int
phi
,
int
lay);
19
static
void
unpackHcalIndex
(
const
uint32_t &
idx
,
int
& det,
int
& z,
20
int
& depth,
int
& eta,
int
& phi,
int
& lay);
21
private
:
22
23
HcalTestNumberingScheme
() =
delete
;
24
25
bool
forTBH2
;
26
};
27
28
#endif
HcalTestNumberingScheme::~HcalTestNumberingScheme
~HcalTestNumberingScheme() override
Definition:
HcalTestNumberingScheme.cc:19
HcalTestNumbering.h
PVValHelper::eta
Definition:
PVValidationHelpers.h:65
DDAxes::phi
HcalNumberingScheme
Definition:
HcalNumberingScheme.h:13
HcalTestNumberingScheme::forTBH2
bool forTBH2
Definition:
HcalTestNumberingScheme.h:25
HcalTestNumberingScheme
Definition:
HcalTestNumberingScheme.h:11
HcalTestNumberingScheme::packHcalIndex
static uint32_t packHcalIndex(int det, int z, int depth, int eta, int phi, int lay)
Definition:
HcalTestNumberingScheme.cc:55
HcalNumberingScheme.h
HcalTestNumberingScheme::HcalTestNumberingScheme
HcalTestNumberingScheme()=delete
training_settings.idx
idx
Definition:
training_settings.py:16
HcalTestNumberingScheme::unpackHcalIndex
static void unpackHcalIndex(const uint32_t &idx, int &det, int &z, int &depth, int &eta, int &phi, int &lay)
Definition:
HcalTestNumberingScheme.cc:61
DDAxes::z
HcalNumberingFromDDD::HcalID
Definition:
HcalNumberingFromDDD.h:23
HcalTestNumberingScheme::getUnitID
uint32_t getUnitID(const HcalNumberingFromDDD::HcalID &id) override
Definition:
HcalTestNumberingScheme.cc:23
egammaForCoreTracking_cff.depth
depth
Definition:
egammaForCoreTracking_cff.py:29
Generated for CMSSW Reference Manual by
1.8.11