CondFormats
ESObjects
interface
ESMIPToGeVConstant.h
Go to the documentation of this file.
1
#ifndef CondFormats_ESObjects_ESMIPToGeVConstant_H
2
#define CondFormats_ESObjects_ESMIPToGeVConstant_H
3
#include "
CondFormats/Serialization/interface/Serializable.h
"
4
5
#include <iostream>
6
7
class
ESMIPToGeVConstant
{
8
public
:
9
ESMIPToGeVConstant
();
10
ESMIPToGeVConstant
(
const
float
& ESvaluelow,
const
float
& ESvaluehigh);
11
~ESMIPToGeVConstant
();
12
void
setESValueLow
(
const
float
&
value
) {
ESvaluelow_
=
value
; }
13
float
getESValueLow
()
const
{
return
ESvaluelow_
; }
14
void
setESValueHigh
(
const
float
&
value
) {
ESvaluehigh_
=
value
; }
15
float
getESValueHigh
()
const
{
return
ESvaluehigh_
; }
16
void
print
(std::ostream&
s
)
const
{
17
s
<<
"ESMIPToGeVConstant: ES low/high "
<<
ESvaluelow_
<<
" / "
<<
ESvaluehigh_
<<
" [GeV/MIP count]"
;
18
}
19
20
private
:
21
float
ESvaluelow_
;
22
float
ESvaluehigh_
;
23
24
COND_SERIALIZABLE
;
25
};
26
27
#endif
ESMIPToGeVConstant::ESvaluehigh_
float ESvaluehigh_
Definition:
ESMIPToGeVConstant.h:22
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
ESMIPToGeVConstant::getESValueHigh
float getESValueHigh() const
Definition:
ESMIPToGeVConstant.h:15
ESMIPToGeVConstant::ESMIPToGeVConstant
ESMIPToGeVConstant()
Definition:
ESMIPToGeVConstant.cc:3
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
ESMIPToGeVConstant::ESvaluelow_
float ESvaluelow_
Definition:
ESMIPToGeVConstant.h:21
ESMIPToGeVConstant::setESValueLow
void setESValueLow(const float &value)
Definition:
ESMIPToGeVConstant.h:12
ESMIPToGeVConstant::setESValueHigh
void setESValueHigh(const float &value)
Definition:
ESMIPToGeVConstant.h:14
Serializable.h
value
Definition:
value.py:1
ESMIPToGeVConstant
Definition:
ESMIPToGeVConstant.h:7
ESMIPToGeVConstant::getESValueLow
float getESValueLow() const
Definition:
ESMIPToGeVConstant.h:13
ESMIPToGeVConstant::~ESMIPToGeVConstant
~ESMIPToGeVConstant()
Definition:
ESMIPToGeVConstant.cc:13
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
ESMIPToGeVConstant::print
void print(std::ostream &s) const
Definition:
ESMIPToGeVConstant.h:16
Generated for CMSSW Reference Manual by
1.8.16