Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
CalibCalorimetry
CaloMiscalibTools
src
MiscalibReaderXMLHcal.cc
Go to the documentation of this file.
1
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
2
#include "
CalibCalorimetry/CaloMiscalibTools/interface/MiscalibReaderFromXMLHcal.h
"
3
4
DetId
MiscalibReaderFromXMLHcal::parseCellEntry
(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute) {
5
HcalDetId
cell =
MiscalibReaderFromXMLHcal::getCellFromAttributes
(
getIntAttribute
(attribute,
"det_index"
),
6
getIntAttribute
(attribute,
"eta_index"
),
7
getIntAttribute
(attribute,
"phi_index"
),
8
getIntAttribute
(attribute,
"depth_index"
));
9
return
cell;
10
}
11
12
HcalDetId
MiscalibReaderFromXMLHcal::getCellFromAttributes
(
int
idet,
int
ieta
,
int
iphi
,
int
idepth) {
13
try
{
14
HcalDetId
cell((
HcalSubdetector
)idet,
ieta
,
iphi
, idepth);
15
return
cell;
16
}
catch
(...) {
17
std::cout
<<
"Null coordinates = "
<< idet <<
","
<<
ieta
<<
","
<<
iphi
<<
","
<< idepth << std::endl;
18
return
HcalDetId
(0);
19
}
20
}
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
LEDCalibrationChannels.iphi
iphi
Definition:
LEDCalibrationChannels.py:64
DetId
Definition:
DetId.h:17
LEDCalibrationChannels.ieta
ieta
Definition:
LEDCalibrationChannels.py:63
HcalDetId.h
HcalDetId
Definition:
HcalDetId.h:12
MiscalibReaderFromXMLHcal::parseCellEntry
DetId parseCellEntry(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute) override
Definition:
MiscalibReaderXMLHcal.cc:4
MiscalibReaderFromXMLHcal.h
MiscalibReaderFromXML::getIntAttribute
int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)
Definition:
MiscalibReaderXML.cc:41
HcalSubdetector
HcalSubdetector
Definition:
HcalAssistant.h:31
MiscalibReaderFromXMLHcal::getCellFromAttributes
HcalDetId getCellFromAttributes(int idet, int ieta, int iphi, int idepth)
Definition:
MiscalibReaderXMLHcal.cc:12
Generated for CMSSW Reference Manual by
1.8.16