CondFormats
ESObjects
interface
ESTimeSampleWeights.h
Go to the documentation of this file.
1
#ifndef CondFormats_ESObjects_ESTimeSampleWeights_H
2
#define CondFormats_ESObjects_ESTimeSampleWeights_H
3
#include "
CondFormats/Serialization/interface/Serializable.h
"
4
5
#include <iostream>
6
7
class
ESTimeSampleWeights
{
8
public
:
9
ESTimeSampleWeights
();
10
ESTimeSampleWeights
(
const
float
& w0,
const
float
& w1,
const
float
&
w2
);
11
~ESTimeSampleWeights
();
12
13
void
setWeightForTS0
(
const
float
&
value
) {
w0_
=
value
; }
14
float
getWeightForTS0
()
const
{
return
w0_
; }
15
void
setWeightForTS1
(
const
float
&
value
) {
w1_
=
value
; }
16
float
getWeightForTS1
()
const
{
return
w1_
; }
17
void
setWeightForTS2
(
const
float
&
value
) {
w2_
=
value
; }
18
float
getWeightForTS2
()
const
{
return
w2_
; }
19
20
void
print
(std::ostream&
s
)
const
{
s
<<
"ESTimeSampleWeights: "
<<
w0_
<<
" "
<<
w1_
<<
" "
<<
w2_
; }
21
22
private
:
23
float
w0_
;
24
float
w1_
;
25
float
w2_
;
26
27
COND_SERIALIZABLE
;
28
};
29
30
#endif
ESTimeSampleWeights::w2_
float w2_
Definition:
ESTimeSampleWeights.h:25
w2
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition:
inclppp.h:1
ESTimeSampleWeights::w0_
float w0_
Definition:
ESTimeSampleWeights.h:23
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
ESTimeSampleWeights::w1_
float w1_
Definition:
ESTimeSampleWeights.h:24
ESTimeSampleWeights::getWeightForTS2
float getWeightForTS2() const
Definition:
ESTimeSampleWeights.h:18
ESTimeSampleWeights::print
void print(std::ostream &s) const
Definition:
ESTimeSampleWeights.h:20
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
ESTimeSampleWeights::setWeightForTS1
void setWeightForTS1(const float &value)
Definition:
ESTimeSampleWeights.h:15
ESTimeSampleWeights
Definition:
ESTimeSampleWeights.h:7
Serializable.h
ESTimeSampleWeights::getWeightForTS1
float getWeightForTS1() const
Definition:
ESTimeSampleWeights.h:16
value
Definition:
value.py:1
ESTimeSampleWeights::setWeightForTS2
void setWeightForTS2(const float &value)
Definition:
ESTimeSampleWeights.h:17
ESTimeSampleWeights::getWeightForTS0
float getWeightForTS0() const
Definition:
ESTimeSampleWeights.h:14
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
ESTimeSampleWeights::ESTimeSampleWeights
ESTimeSampleWeights()
Definition:
ESTimeSampleWeights.cc:3
ESTimeSampleWeights::setWeightForTS0
void setWeightForTS0(const float &value)
Definition:
ESTimeSampleWeights.h:13
ESTimeSampleWeights::~ESTimeSampleWeights
~ESTimeSampleWeights()
Definition:
ESTimeSampleWeights.cc:15
Generated for CMSSW Reference Manual by
1.8.16