Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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 "
SimDataFormats/CaloTest/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
HcalTestNumbering.h
eta
T eta() const
Definition:
Basic3DVectorLD.h:172
detailsBasic3DVector::z
double double double z
Definition:
newBasic3DVector.h:17
HcalNumberingScheme
Definition:
HcalNumberingScheme.h:13
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:53
HcalNumberingScheme.h
HcalTestNumberingScheme::unpackHcalIndex
static void unpackHcalIndex(const uint32_t &idx, int &det, int &z, int &depth, int &eta, int &phi, int &lay)
Definition:
HcalTestNumberingScheme.cc:59
HcalTestNumberingScheme::~HcalTestNumberingScheme
virtual ~HcalTestNumberingScheme()
Definition:
HcalTestNumberingScheme.cc:17
HcalNumberingFromDDD::HcalID
Definition:
HcalNumberingFromDDD.h:27
HcalTestNumberingScheme::getUnitID
virtual uint32_t getUnitID(const HcalNumberingFromDDD::HcalID id)
Definition:
HcalTestNumberingScheme.cc:21
phi
Definition:
DDAxes.h:10
Generated for CMSSW Reference Manual by
1.8.5