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
virtual
~HcalTestNumberingScheme
();
16
virtual
uint32_t
getUnitID
(
const
HcalNumberingFromDDD::HcalID
&
id
);
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
();
24
25
bool
forTBH2
;
26
};
27
28
#endif
HcalTestNumberingScheme::getUnitID
virtual uint32_t getUnitID(const HcalNumberingFromDDD::HcalID &id)
Definition:
HcalTestNumberingScheme.cc:23
HcalTestNumbering.h
PVValHelper::eta
Definition:
PVValidationHelpers.h:49
DDAxes::phi
HcalNumberingScheme
Definition:
HcalNumberingScheme.h:13
particleFlowClusterECALTimeSelected_cfi.depth
depth
Definition:
particleFlowClusterECALTimeSelected_cfi.py:8
HcalTestNumberingScheme::forTBH2
bool forTBH2
Definition:
HcalTestNumberingScheme.h:25
HcalTestNumberingScheme::HcalTestNumberingScheme
HcalTestNumberingScheme()
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
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
HcalTestNumberingScheme::~HcalTestNumberingScheme
virtual ~HcalTestNumberingScheme()
Definition:
HcalTestNumberingScheme.cc:19
DDAxes::z
HcalNumberingFromDDD::HcalID
Definition:
HcalNumberingFromDDD.h:23
Generated for CMSSW Reference Manual by
1.8.11