Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
public
:
13
HcalTestNumberingScheme
(
bool
forTB);
14
HcalTestNumberingScheme
() =
delete
;
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
,
int
phi
,
int
lay);
18
static
void
unpackHcalIndex
(
const
uint32_t& idx,
int
& det,
int
& z,
int
& depth,
int
& eta,
int
& phi,
int
& lay);
19
20
private
:
21
bool
forTBH2
;
22
};
23
24
#endif
HcalTestNumberingScheme::~HcalTestNumberingScheme
~HcalTestNumberingScheme() override
Definition:
HcalTestNumberingScheme.cc:17
HcalTestNumbering.h
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
DDAxes::phi
HcalNumberingScheme
Definition:
HcalNumberingScheme.h:13
HcalTestNumberingScheme::forTBH2
bool forTBH2
Definition:
HcalTestNumberingScheme.h:21
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:47
HcalNumberingScheme.h
HLT_FULL_cff.depth
tuple depth
Definition:
HLT_FULL_cff.py:15256
HcalTestNumberingScheme::HcalTestNumberingScheme
HcalTestNumberingScheme()=delete
HcalTestNumberingScheme::unpackHcalIndex
static void unpackHcalIndex(const uint32_t &idx, int &det, int &z, int &depth, int &eta, int &phi, int &lay)
Definition:
HcalTestNumberingScheme.cc:51
DDAxes::z
HcalNumberingFromDDD::HcalID
Definition:
HcalNumberingFromDDD.h:21
HcalTestNumberingScheme::getUnitID
uint32_t getUnitID(const HcalNumberingFromDDD::HcalID &id) override
Definition:
HcalTestNumberingScheme.cc:21
Generated for CMSSW Reference Manual by
1.8.5