CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Friends
EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients Struct Reference

Structure defining the container for correction coefficients. More...

#include <EcalGlobalShowerContainmentCorrectionsVsEta.h>

Public Member Functions

 Coefficients ()
 
 Coefficients (const Coefficients &coeff)
 
Coefficientsoperator= (const Coefficients &coeff)
 

Public Attributes

double data [kSize]
 

Static Public Attributes

static const int kCoefficients = 3
 The degree of the polynomial used as correction function plus one. More...
 
static const int kNTypes = 2
 Number of types of correction: 3x3, 5x5. More...
 
static const unsigned int kSize = kCoefficients * kNTypes
 

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

Structure defining the container for correction coefficients.

data[0-2] : 3x3 data[3-5] : 5x5

Definition at line 46 of file EcalGlobalShowerContainmentCorrectionsVsEta.h.

Constructor & Destructor Documentation

EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::Coefficients ( )
inline
EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::Coefficients ( const Coefficients coeff)
inline

Member Function Documentation

Coefficients& EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::operator= ( const Coefficients coeff)
inline

Definition at line 55 of file EcalGlobalShowerContainmentCorrectionsVsEta.h.

References popcon2dropbox::copy(), data, and kSize.

55  {
56  if (this == &coeff) return *this;
57  std::copy(coeff.data,coeff.data+Coefficients::kSize,data);
58  return *this;
59  }
def copy(args, dbName)
template<class Archive >
void EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

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

Member Data Documentation

double EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::data[kSize]
const int EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::kCoefficients = 3
static

The degree of the polynomial used as correction function plus one.

Definition at line 62 of file EcalGlobalShowerContainmentCorrectionsVsEta.h.

Referenced by EcalGlobalShowerContainmentCorrectionsVsEta::correction().

const int EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::kNTypes = 2
static

Number of types of correction: 3x3, 5x5.

Definition at line 65 of file EcalGlobalShowerContainmentCorrectionsVsEta.h.

const unsigned int EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::kSize = kCoefficients * kNTypes
static

Definition at line 66 of file EcalGlobalShowerContainmentCorrectionsVsEta.h.

Referenced by Coefficients(), and operator=().