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