CondFormats
EcalObjects
interface
EcalTPGPhysicsConst.h
Go to the documentation of this file.
1
#ifndef EcalTPGPhysicsConst_h
2
#define EcalTPGPhysicsConst_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include <map>
7
#include <cstdint>
8
9
class
EcalTPGPhysicsConst
{
10
public
:
11
EcalTPGPhysicsConst
();
12
~EcalTPGPhysicsConst
();
13
14
struct
Item
{
15
double
EtSat
;
16
double
ttf_threshold_Low
;
17
double
ttf_threshold_High
;
18
double
FG_lowThreshold
;
19
double
FG_highThreshold
;
20
double
FG_lowRatio
;
21
double
FG_highRatio
;
22
23
COND_SERIALIZABLE
;
24
};
25
26
// first index is for barrel or endcap
27
const
std::map<uint32_t, Item>&
getMap
()
const
{
return
map_
; }
28
void
setValue
(
const
uint32_t&
id
,
const
Item&
value
);
29
30
private
:
31
std::map<uint32_t, Item>
map_
;
32
33
COND_SERIALIZABLE
;
34
};
35
36
typedef
std::map<uint32_t, EcalTPGPhysicsConst::Item>
EcalTPGPhysicsConstMap
;
37
typedef
std::map<uint32_t, EcalTPGPhysicsConst::Item>::const_iterator
EcalTPGPhysicsConstMapIterator
;
38
39
#endif
EcalTPGPhysicsConst::Item::FG_highThreshold
double FG_highThreshold
Definition:
EcalTPGPhysicsConst.h:19
EcalTPGPhysicsConst::Item::ttf_threshold_Low
double ttf_threshold_Low
Definition:
EcalTPGPhysicsConst.h:16
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
EcalTPGPhysicsConst::Item::EtSat
double EtSat
Definition:
EcalTPGPhysicsConst.h:15
EcalTPGPhysicsConst::~EcalTPGPhysicsConst
~EcalTPGPhysicsConst()
Definition:
EcalTPGPhysicsConst.cc:5
EcalTPGPhysicsConst::setValue
void setValue(const uint32_t &id, const Item &value)
Definition:
EcalTPGPhysicsConst.cc:7
EcalTPGPhysicsConst::getMap
const std::map< uint32_t, Item > & getMap() const
Definition:
EcalTPGPhysicsConst.h:27
EcalTPGPhysicsConst::Item
Definition:
EcalTPGPhysicsConst.h:14
EcalTPGPhysicsConst::Item::FG_lowThreshold
double FG_lowThreshold
Definition:
EcalTPGPhysicsConst.h:18
Serializable.h
value
Definition:
value.py:1
EcalTPGPhysicsConst::EcalTPGPhysicsConst
EcalTPGPhysicsConst()
Definition:
EcalTPGPhysicsConst.cc:3
EcalTPGPhysicsConst::map_
std::map< uint32_t, Item > map_
Definition:
EcalTPGPhysicsConst.h:31
EcalTPGPhysicsConst
Definition:
EcalTPGPhysicsConst.h:9
EcalTPGPhysicsConstMap
std::map< uint32_t, EcalTPGPhysicsConst::Item > EcalTPGPhysicsConstMap
Definition:
EcalTPGPhysicsConst.h:36
EcalTPGPhysicsConst::Item::FG_highRatio
double FG_highRatio
Definition:
EcalTPGPhysicsConst.h:21
EcalTPGPhysicsConst::Item::ttf_threshold_High
double ttf_threshold_High
Definition:
EcalTPGPhysicsConst.h:17
EcalTPGPhysicsConstMapIterator
std::map< uint32_t, EcalTPGPhysicsConst::Item >::const_iterator EcalTPGPhysicsConstMapIterator
Definition:
EcalTPGPhysicsConst.h:37
EcalTPGPhysicsConst::Item::FG_lowRatio
double FG_lowRatio
Definition:
EcalTPGPhysicsConst.h:20
Generated for CMSSW Reference Manual by
1.8.16