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 "
DataFormats/Math/interface/Vector3D.h
"
12
13
#include <vector>
14
#include <string>
15
16
class
HcalNumberingFromDDD
{
17
public
:
18
HcalNumberingFromDDD
(
const
HcalDDDSimConstants
* hcons);
19
~HcalNumberingFromDDD
();
20
21
struct
HcalID
{
22
int
subdet
,
zside
,
depth
,
etaR
,
phi
,
phis
,
lay
;
23
HcalID
(
int
det = 0,
int
zs = 0,
int
d
= 0,
int
et
= 0,
int
fi = 0,
int
phiskip = 0,
int
ly = -1)
24
:
subdet
(det),
zside
(zs),
depth
(
d
),
etaR
(
et
),
phi
(fi),
phis
(phiskip),
lay
(ly) {}
25
};
26
27
HcalID
unitID
(
int
det,
const
math::XYZVectorD
&
pos
,
int
depth
,
int
lay = -1)
const
;
28
HcalID
unitID
(
double
eta
,
double
phi
,
int
depth
= 1,
int
lay = -1)
const
;
29
HcalID
unitID
(
int
det,
double
etaR,
double
phi
,
int
depth
,
int
lay = -1)
const
;
30
HcalID
unitID
(
int
det,
int
zside
,
int
depth
,
int
etaR,
int
phi
,
int
lay = -1)
const
;
31
32
private
:
33
const
HcalDDDSimConstants
*
hcalConstants
;
34
};
35
36
#endif
HcalNumberingFromDDD::HcalID::phi
int phi
Definition:
HcalNumberingFromDDD.h:22
HcalNumberingFromDDD::HcalID
Definition:
HcalNumberingFromDDD.h:21
ecaldqm::zside
int zside(DetId const &)
Definition:
EcalDQMCommonUtils.cc:189
HcalNumberingFromDDD
Definition:
HcalNumberingFromDDD.h:16
pos
Definition:
PixelAliasList.h:18
HcalNumberingFromDDD::HcalID::lay
int lay
Definition:
HcalNumberingFromDDD.h:22
HcalNumberingFromDDD::~HcalNumberingFromDDD
~HcalNumberingFromDDD()
Definition:
HcalNumberingFromDDD.cc:24
HcalNumberingFromDDD::hcalConstants
const HcalDDDSimConstants * hcalConstants
Definition:
HcalNumberingFromDDD.h:33
HcalNumberingFromDDD::HcalID::depth
int depth
Definition:
HcalNumberingFromDDD.h:22
HcalDDDSimConstants
Definition:
HcalDDDSimConstants.h:24
HcalNumberingFromDDD::HcalID::zside
int zside
Definition:
HcalNumberingFromDDD.h:22
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
HcalNumberingFromDDD::HcalID::etaR
int etaR
Definition:
HcalNumberingFromDDD.h:22
LEDCalibrationChannels.depth
depth
Definition:
LEDCalibrationChannels.py:65
math::XYZVectorD
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition:
Vector3D.h:8
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:23
EgHLTOffHistBins_cfi.et
et
Definition:
EgHLTOffHistBins_cfi.py:8
HcalSubdetector.h
HcalNumberingFromDDD::HcalID::phis
int phis
Definition:
HcalNumberingFromDDD.h:22
DDAxes::phi
HcalNumberingFromDDD::unitID
HcalID unitID(int det, const math::XYZVectorD &pos, int depth, int lay=-1) const
Definition:
HcalNumberingFromDDD.cc:30
HcalNumberingFromDDD::HcalNumberingFromDDD
HcalNumberingFromDDD(const HcalDDDSimConstants *hcons)
Definition:
HcalNumberingFromDDD.cc:18
ztail.d
d
Definition:
ztail.py:151
Vector3D.h
HcalNumberingFromDDD::HcalID::subdet
int subdet
Definition:
HcalNumberingFromDDD.h:22
HcalDDDSimConstants.h
Generated for CMSSW Reference Manual by
1.8.16