CMS 3D CMS Logo

EcalLaserAPDPNRatios.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalLaserAPDPNRatios_H
2 #define CondFormats_EcalObjects_EcalLaserAPDPNRatios_H
3 
9 
12 #include <vector>
13 
15 public:
17  EcalLaserAPDPNpair() : p1(0), p2(0), p3(0) {}
18  float p1;
19  float p2;
20  float p3;
21 
23  };
25  EcalLaserTimeStamp() : t1(), t2(), t3() {}
29 
31  };
32 
34  typedef std::vector<EcalLaserTimeStamp> EcalLaserTimeStampMap;
35 
36  EcalLaserAPDPNRatios() : time_map(92){}; // FIXME
38 
39  void setValue(uint32_t rawId, const EcalLaserAPDPNpair& value) { laser_map[rawId] = value; };
40  const EcalLaserAPDPNRatiosMap& getLaserMap() const { return laser_map; }
41 
43  const EcalLaserTimeStampMap& getTimeMap() const { return time_map; }
44 
45 private:
48 
50 };
51 
52 #endif
EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p1
float p1
Definition: EcalLaserAPDPNRatios.h:18
EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap
EcalCondObjectContainer< EcalLaserAPDPNpair > EcalLaserAPDPNRatiosMap
Definition: EcalLaserAPDPNRatios.h:33
EcalLaserAPDPNRatios::EcalLaserTimeStamp::t3
edm::Timestamp t3
Definition: EcalLaserAPDPNRatios.h:28
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
EcalCondObjectContainer< EcalLaserAPDPNpair >
EcalCondObjectContainer.h
EcalLaserAPDPNRatios::getLaserMap
const EcalLaserAPDPNRatiosMap & getLaserMap() const
Definition: EcalLaserAPDPNRatios.h:40
EcalLaserAPDPNRatios::laser_map
EcalLaserAPDPNRatiosMap laser_map
Definition: EcalLaserAPDPNRatios.h:46
EcalLaserAPDPNRatios::time_map
EcalLaserTimeStampMap time_map
Definition: EcalLaserAPDPNRatios.h:47
EcalLaserAPDPNRatios::~EcalLaserAPDPNRatios
~EcalLaserAPDPNRatios()
Definition: EcalLaserAPDPNRatios.h:37
EcalLaserAPDPNRatios::EcalLaserAPDPNpair
Definition: EcalLaserAPDPNRatios.h:16
Timestamp.h
EcalLaserAPDPNRatios::getTimeMap
const EcalLaserTimeStampMap & getTimeMap() const
Definition: EcalLaserAPDPNRatios.h:43
EcalLaserAPDPNRatios::EcalLaserTimeStamp::t1
edm::Timestamp t1
Definition: EcalLaserAPDPNRatios.h:26
EcalLaserAPDPNRatios::EcalLaserTimeStamp::EcalLaserTimeStamp
EcalLaserTimeStamp()
Definition: EcalLaserAPDPNRatios.h:25
Serializable.h
value
Definition: value.py:1
EcalLaserAPDPNRatios::setValue
void setValue(uint32_t rawId, const EcalLaserAPDPNpair &value)
Definition: EcalLaserAPDPNRatios.h:39
EcalLaserAPDPNRatios::EcalLaserTimeStampMap
std::vector< EcalLaserTimeStamp > EcalLaserTimeStampMap
Definition: EcalLaserAPDPNRatios.h:34
EcalLaserAPDPNRatios::EcalLaserAPDPNRatios
EcalLaserAPDPNRatios()
Definition: EcalLaserAPDPNRatios.h:36
EcalLaserAPDPNRatios::EcalLaserAPDPNpair::EcalLaserAPDPNpair
EcalLaserAPDPNpair()
Definition: EcalLaserAPDPNRatios.h:17
relativeConstraints.value
value
Definition: relativeConstraints.py:53
EcalLaserAPDPNRatios
Definition: EcalLaserAPDPNRatios.h:14
EcalLaserAPDPNRatios::setTime
void setTime(int hashedIndex, const EcalLaserTimeStamp &value)
Definition: EcalLaserAPDPNRatios.h:42
ecalpyutils::hashedIndex
int hashedIndex(int ieta, int iphi)
Definition: EcalPyUtils.cc:38
EcalLaserAPDPNRatios::EcalLaserTimeStamp
Definition: EcalLaserAPDPNRatios.h:24
EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p2
float p2
Definition: EcalLaserAPDPNRatios.h:19
EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p3
float p3
Definition: EcalLaserAPDPNRatios.h:20
EcalLaserAPDPNRatios::EcalLaserTimeStamp::t2
edm::Timestamp t2
Definition: EcalLaserAPDPNRatios.h:27
edm::Timestamp
Definition: Timestamp.h:30