Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:05

0001 #ifndef EcalPulseShapes_h
0002 #define EcalPulseShapes_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include "CondFormats/EcalObjects/interface/EcalCondObjectContainer.h"
0007 
0008 struct EcalPulseShape {
0009 public:
0010   static const int TEMPLATESAMPLES = 12;
0011 
0012   EcalPulseShape();
0013 
0014   float pdfval[TEMPLATESAMPLES];
0015 
0016   float val(int isample) const { return pdfval[isample]; }
0017 
0018   COND_SERIALIZABLE;
0019 };
0020 
0021 typedef EcalCondObjectContainer<EcalPulseShape> EcalPulseShapesMap;
0022 typedef EcalPulseShapesMap::const_iterator EcalPulseShapesMapIterator;
0023 typedef EcalPulseShapesMap EcalPulseShapes;
0024 
0025 #endif