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
CondFormats
HcalObjects
interface
HcalInterpolatedPulseColl.h
Go to the documentation of this file.
1
#ifndef CondFormats_HcalObjects_HcalInterpolatedPulseColl_h_
2
#define CondFormats_HcalObjects_HcalInterpolatedPulseColl_h_
3
4
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
5
#include "
CondFormats/HcalObjects/interface/HcalInterpolatedPulse.h
"
6
#include "
CondFormats/HcalObjects/interface/HBHEChannelGroups.h
"
7
8
class
HcalInterpolatedPulseColl
{
9
public
:
10
HcalInterpolatedPulseColl
(
const
std::vector<HcalInterpolatedPulse>& pulses,
const
HBHEChannelGroups
& groups);
11
12
// Get the pulse from channel HcalDetId
13
const
HcalInterpolatedPulse
&
getChannelPulse
(
const
HcalDetId
&
id
)
const
;
14
15
// Get the pulse by linearized HCAL channel number
16
inline
const
HcalInterpolatedPulse
&
getChannelPulse
(
const
unsigned
i
)
const
{
return
pulses_
[
groups_
.
getGroup
(
i
)]; }
17
18
inline
bool
operator==
(
const
HcalInterpolatedPulseColl
&
r
) {
return
pulses_
==
r
.pulses_ &&
groups_
==
r
.groups_; }
19
20
inline
bool
operator!=
(
const
HcalInterpolatedPulseColl
&
r
) {
return
!(*
this
==
r
); }
21
22
private
:
23
std::vector<HcalInterpolatedPulse>
pulses_
;
24
HBHEChannelGroups
groups_
;
25
26
public
:
27
// Default constructor needed for serialization.
28
// Do not use in application code.
29
inline
HcalInterpolatedPulseColl
() {}
30
31
private
:
32
friend
class
boost::serialization::access
;
33
34
template
<
class
Archive>
35
inline
void
serialize
(Archive& ar,
unsigned
/* version */
) {
36
ar&
pulses_
&
groups_
;
37
}
38
};
39
40
BOOST_CLASS_VERSION(
HcalInterpolatedPulseColl
, 1)
41
42
#endif // CondFormats_HcalObjects_HcalInterpolatedPulseColl_h_
HBHEChannelGroups
Definition:
HBHEChannelGroups.h:12
mps_fire.i
i
Definition:
mps_fire.py:428
HcalInterpolatedPulseColl::operator==
bool operator==(const HcalInterpolatedPulseColl &r)
Definition:
HcalInterpolatedPulseColl.h:18
HcalInterpolatedPulseColl::getChannelPulse
const HcalInterpolatedPulse & getChannelPulse(const HcalDetId &id) const
Definition:
HcalInterpolatedPulseColl.cc:11
HcalInterpolatedPulseColl::groups_
HBHEChannelGroups groups_
Definition:
HcalInterpolatedPulseColl.h:24
HBHEChannelGroups.h
HcalInterpolatedPulseColl::operator!=
bool operator!=(const HcalInterpolatedPulseColl &r)
Definition:
HcalInterpolatedPulseColl.h:20
HcalInterpolatedPulseColl::serialize
void serialize(Archive &ar, unsigned)
Definition:
HcalInterpolatedPulseColl.h:35
HcalDetId.h
HcalInterpolatedPulseColl
Definition:
HcalInterpolatedPulseColl.h:8
HcalDetId
Definition:
HcalDetId.h:12
HBHEChannelGroups::getGroup
unsigned getGroup(const unsigned linearChannel) const
Definition:
HBHEChannelGroups.h:37
HcalInterpolatedPulse.h
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
InterpolatedPulse< 1500U >
HcalInterpolatedPulseColl::HcalInterpolatedPulseColl
HcalInterpolatedPulseColl()
Definition:
HcalInterpolatedPulseColl.h:29
HcalInterpolatedPulseColl::access
friend class boost::serialization::access
Definition:
HcalInterpolatedPulseColl.h:32
HcalInterpolatedPulseColl::pulses_
std::vector< HcalInterpolatedPulse > pulses_
Definition:
HcalInterpolatedPulseColl.h:23
HcalInterpolatedPulseColl::getChannelPulse
const HcalInterpolatedPulse & getChannelPulse(const unsigned i) const
Definition:
HcalInterpolatedPulseColl.h:16
Generated for CMSSW Reference Manual by
1.8.16