CondFormats
EcalObjects
interface
EcalPulseShapes.h
Go to the documentation of this file.
1
#ifndef EcalPulseShapes_h
2
#define EcalPulseShapes_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include "
CondFormats/EcalObjects/interface/EcalCondObjectContainer.h
"
7
8
struct
EcalPulseShape
{
9
public
:
10
static
const
int
TEMPLATESAMPLES
= 12;
11
12
EcalPulseShape
();
13
14
float
pdfval
[
TEMPLATESAMPLES
];
15
16
float
val
(
int
isample)
const
{
return
pdfval
[isample]; }
17
18
COND_SERIALIZABLE
;
19
};
20
21
typedef
EcalCondObjectContainer<EcalPulseShape>
EcalPulseShapesMap
;
22
typedef
EcalPulseShapesMap::const_iterator
EcalPulseShapesMapIterator
;
23
typedef
EcalPulseShapesMap
EcalPulseShapes
;
24
25
#endif
EcalPulseShape::EcalPulseShape
EcalPulseShape()
Definition:
EcalPulseShapes.cc:3
EcalPulseShape
Definition:
EcalPulseShapes.h:8
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
EcalPulseShape::pdfval
float pdfval[TEMPLATESAMPLES]
Definition:
EcalPulseShapes.h:14
EcalCondObjectContainer
Definition:
EcalCondObjectContainer.h:13
EcalCondObjectContainer.h
EcalPulseShape::val
float val(int isample) const
Definition:
EcalPulseShapes.h:16
Serializable.h
EcalPulseShapesMapIterator
EcalPulseShapesMap::const_iterator EcalPulseShapesMapIterator
Definition:
EcalPulseShapes.h:22
EcalPulseShape::TEMPLATESAMPLES
static const int TEMPLATESAMPLES
Definition:
EcalPulseShapes.h:10
EcalPulseShapesMap
EcalCondObjectContainer< EcalPulseShape > EcalPulseShapesMap
Definition:
EcalPulseShapes.h:21
EcalPulseShapes
EcalPulseShapesMap EcalPulseShapes
Definition:
EcalPulseShapes.h:23
EcalCondObjectContainer::const_iterator
std::vector< Item >::const_iterator const_iterator
Definition:
EcalCondObjectContainer.h:19
Generated for CMSSW Reference Manual by
1.8.16