CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Friends
EcalPulseShape Struct Reference

#include <EcalPulseShapes.h>

Public Member Functions

 EcalPulseShape ()
 
float val (int isample) const
 

Public Attributes

float pdfval [TEMPLATESAMPLES]
 

Static Public Attributes

static const int TEMPLATESAMPLES = 12
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 8 of file EcalPulseShapes.h.

Constructor & Destructor Documentation

◆ EcalPulseShape()

EcalPulseShape::EcalPulseShape ( )

Definition at line 3 of file EcalPulseShapes.cc.

3  {
4  for (int s = 0; s < TEMPLATESAMPLES; ++s)
5  pdfval[s] = 0.;
6 }

References pdfval, alignCSCRings::s, and TEMPLATESAMPLES.

Member Function Documentation

◆ serialize()

template<class Archive >
void EcalPulseShape::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ val()

float EcalPulseShape::val ( int  isample) const
inline

Definition at line 16 of file EcalPulseShapes.h.

16 { return pdfval[isample]; }

References pdfval.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 18 of file EcalPulseShapes.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 18 of file EcalPulseShapes.h.

Member Data Documentation

◆ pdfval

float EcalPulseShape::pdfval[TEMPLATESAMPLES]

Definition at line 14 of file EcalPulseShapes.h.

Referenced by EcalPulseShape(), and val().

◆ TEMPLATESAMPLES

const int EcalPulseShape::TEMPLATESAMPLES = 12
static
EcalPulseShape::pdfval
float pdfval[TEMPLATESAMPLES]
Definition: EcalPulseShapes.h:14
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalPulseShape::TEMPLATESAMPLES
static const int TEMPLATESAMPLES
Definition: EcalPulseShapes.h:10