Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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:22
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
HcalDDDSimConstants
Definition:
HcalDDDSimConstants.h:23
HLT_25ns10e33_v2_cff.depth
tuple depth
Definition:
HLT_25ns10e33_v2_cff.py:10449
ecaldqm::zside
int zside(DetId const &)
Definition:
EcalDQMCommonUtils.cc:210
HcalNumberingFromDDD::HcalID::phi
int phi
Definition:
HcalNumberingFromDDD.h:24
HcalNumberingFromDDD::HcalID::phis
int phis
Definition:
HcalNumberingFromDDD.h:24
DDAxes::phi
ztail.d
tuple d
Definition:
ztail.py:151
HcalNumberingFromDDD::hcalConstants
HcalDDDSimConstants * hcalConstants
Definition:
HcalNumberingFromDDD.h:38
eta
Definition:
HIMultiTrackSelector.h:42
HcalNumberingFromDDD
Definition:
HcalNumberingFromDDD.h:16
HcalNumberingFromDDD::HcalID::zside
int zside
Definition:
HcalNumberingFromDDD.h:24
HcalNumberingFromDDD::HcalID::etaR
int etaR
Definition:
HcalNumberingFromDDD.h:24
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:26
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.5