1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef CondFormats_ESObjects_ESADCToGeVConstant_H
#define CondFormats_ESObjects_ESADCToGeVConstant_H
#include "CondFormats/Serialization/interface/Serializable.h"
#include <iostream>
class ESADCToGeVConstant {
public:
ESADCToGeVConstant();
ESADCToGeVConstant(const float& ESvaluelow, const float& ESvaluehigh);
~ESADCToGeVConstant();
void setESValueLow(const float& value) { ESvaluelow_ = value; }
float getESValueLow() const { return ESvaluelow_; }
void setESValueHigh(const float& value) { ESvaluehigh_ = value; }
float getESValueHigh() const { return ESvaluehigh_; }
void print(std::ostream& s) const {
s << "ESADCToGeVConstant: ES low/high " << ESvaluelow_ << " / " << ESvaluehigh_ << " [GeV/ADC count]";
}
private:
float ESvaluelow_;
float ESvaluehigh_;
COND_SERIALIZABLE;
};
#endif
|