Main Page
Namespaces
Classes
Package Documentation
Geometry
HcalCommonData
interface
HcalNumberingFromDDD.h
Go to the documentation of this file.
1
// File: HcalNumberingFromDDD.h
3
// Description: Usage of DDD to get to numbering scheme for hadron calorimeter
5
#ifndef HcalNumberingFromDDD_h
6
#define HcalNumberingFromDDD_h
7
8
#include "
Geometry/HcalCommonData/interface/HcalDDDSimConstants.h
"
9
#include "
DataFormats/HcalDetId/interface/HcalSubdetector.h
"
10
11
#include "CLHEP/Vector/ThreeVector.h"
12
13
#include <vector>
14
#include <string>
15
16
class
HcalNumberingFromDDD
{
17
18
public
:
19
20
HcalNumberingFromDDD
(
HcalDDDSimConstants
* hcons);
21
~HcalNumberingFromDDD
();
22
23
struct
HcalID
{
24
int
subdet
,
zside
,
depth
,
etaR
,
phi
,
phis
,
lay
;
25
HcalID
(
int
det=0,
int
zs=0,
int
d
=0,
int
et
=0,
int
fi=0,
int
phiskip=0,
int
ly=-1) :
26
subdet(det), zside(zs), depth(
d
), etaR(
et
), phi(fi), phis(phiskip), lay(ly) {}
27
};
28
29
HcalID
unitID
(
int
det,
const
CLHEP::Hep3Vector&
pos
,
int
depth
,
int
lay
=-1)
const
;
30
HcalID
unitID
(
double
eta
,
double
phi
,
int
depth=1,
int
lay
=-1)
const
;
31
HcalID
unitID
(
int
det,
double
etaR
,
double
phi,
int
depth,
32
int
lay
=-1)
const
;
33
HcalID
unitID
(
int
det,
int
zside
,
int
depth,
int
etaR,
int
phi,
34
int
lay
=-1)
const
;
35
36
private
:
37
38
HcalDDDSimConstants
*
hcalConstants
;
39
};
40
41
#endif
HcalNumberingFromDDD::~HcalNumberingFromDDD
~HcalNumberingFromDDD()
Definition:
HcalNumberingFromDDD.cc:24
HcalNumberingFromDDD::HcalID::depth
int depth
Definition:
HcalNumberingFromDDD.h:24
HcalDDDSimConstants.h
HcalNumberingFromDDD::HcalID::HcalID
HcalID(int det=0, int zs=0, int d=0, int et=0, int fi=0, int phiskip=0, int ly=-1)
Definition:
HcalNumberingFromDDD.h:25
HcalSubdetector.h
PVValHelper::eta
Definition:
PVValidationHelpers.h:65
HcalDDDSimConstants
Definition:
HcalDDDSimConstants.h:24
HcalNumberingFromDDD::HcalID::phi
int phi
Definition:
HcalNumberingFromDDD.h:24
HcalNumberingFromDDD::HcalID::phis
int phis
Definition:
HcalNumberingFromDDD.h:24
HcalNumberingFromDDD::hcalConstants
HcalDDDSimConstants * hcalConstants
Definition:
HcalNumberingFromDDD.h:38
edmIntegrityCheck.d
d
Definition:
edmIntegrityCheck.py:65
HcalNumberingFromDDD
Definition:
HcalNumberingFromDDD.h:16
HcalNumberingFromDDD::HcalID::zside
int zside
Definition:
HcalNumberingFromDDD.h:24
pos
Definition:
PixelAliasList.h:18
HcalNumberingFromDDD::HcalID::etaR
int etaR
Definition:
HcalNumberingFromDDD.h:24
stringResolutionProvider_cfi.et
et
define resolution functions of each parameter
Definition:
stringResolutionProvider_cfi.py:13
HcalNumberingFromDDD::HcalID::lay
int lay
Definition:
HcalNumberingFromDDD.h:24
HcalNumberingFromDDD::HcalID
Definition:
HcalNumberingFromDDD.h:23
HcalNumberingFromDDD::unitID
HcalID unitID(int det, const CLHEP::Hep3Vector &pos, int depth, int lay=-1) const
Definition:
HcalNumberingFromDDD.cc:30
HcalNumberingFromDDD::HcalNumberingFromDDD
HcalNumberingFromDDD(HcalDDDSimConstants *hcons)
Definition:
HcalNumberingFromDDD.cc:17
HcalNumberingFromDDD::HcalID::subdet
int subdet
Definition:
HcalNumberingFromDDD.h:24
Generated for CMSSW Reference Manual by
1.8.11