CMS 3D CMS Logo

big::bigEntry Class Reference

inline class bigEntry More...

#include <CondFormats/Calibration/interface/big.h>

List of all members.

Public Types

typedef TensorIndex< 2, 4, 6 > aqflIDX
typedef TensorIndex< 2, 4, 4 > avgIDX
typedef TensorIndex< 2, 2, 4 > chi2IDX
typedef TensorIndex< 2, 2, 5 > parIDX
typedef TensorIndex< 2, 10 > spareIDX
typedef TensorIndex< 9, 7 > xtempIDX
typedef TensorIndex< 9, 21 > ytempIDX

Public Member Functions

 bigEntry ()
void fill (int runnum, float seed)

Public Attributes

float alpha
std::vector< float > aqfl
std::vector< float > avg
float beta
std::vector< float > chi2
float costrk [3]
float cotalpha
float cotbeta
float dxone
float dxtwo
float dyone
float dytwo
std::vector< float > par
float qavg
float qmin
int runnum
std::vector< float > spare
float sxmax
float sxone
float sxtwo
float symax
float syone
float sytwo
std::vector< float > xtemp
std::vector< float > ytemp


Detailed Description

inline class bigEntry

Definition at line 18 of file big.h.


Member Typedef Documentation

typedef TensorIndex<2,4,6> big::bigEntry::aqflIDX

Definition at line 63 of file big.h.

typedef TensorIndex<2,4,4> big::bigEntry::avgIDX

Definition at line 60 of file big.h.

typedef TensorIndex<2,2,4> big::bigEntry::chi2IDX

Definition at line 66 of file big.h.

typedef TensorIndex<2,2,5> big::bigEntry::parIDX

Definition at line 51 of file big.h.

typedef TensorIndex<2,10> big::bigEntry::spareIDX

Definition at line 69 of file big.h.

typedef TensorIndex<9,7> big::bigEntry::xtempIDX

Definition at line 57 of file big.h.

typedef TensorIndex<9,21> big::bigEntry::ytempIDX

Definition at line 54 of file big.h.


Constructor & Destructor Documentation

big::bigEntry::bigEntry (  )  [inline]

Definition at line 21 of file big.h.

References aqfl, avg, chi2, par, TensorIndex< d1, d2, d3, d4 >::SIZE, spare, xtemp, and ytemp.

00021               {
00022       par.reserve(parIDX::SIZE);
00023       ytemp.reserve(ytempIDX::SIZE);
00024       xtemp.reserve(xtempIDX::SIZE);
00025       avg.reserve(avgIDX::SIZE);
00026       aqfl.reserve(aqflIDX::SIZE);
00027       chi2.reserve(chi2IDX::SIZE);
00028       spare.reserve(spareIDX::SIZE);  
00029     }


Member Function Documentation

void big::bigEntry::fill ( int  runnum,
float  seed 
)

Definition at line 26 of file big.cc.

References alpha, aqfl, avg, beta, chi2, costrk, cotalpha, cotbeta, dxone, dxtwo, dyone, dytwo, i, TensorIndex< d1, d2, d3, d4 >::indexOf(), j, k, TensorIndex< d1, d2, d3, d4 >::LEN1, TensorIndex< d1, d2, d3, d4 >::LEN2, TensorIndex< d1, d2, d3, d4 >::LEN3, par, qavg, qmin, runnum, spare, sxmax, sxone, sxtwo, symax, syone, sytwo, xtemp, and ytemp.

Referenced by big::fill(), and big::bigStore::fill().

00026                                  {
00027   runnum=r; alpha=seed; cotalpha=seed; beta=seed; cotbeta=seed;
00028   costrk[0]=seed*0.1;costrk[1]=seed*0.2;costrk[2]=seed*0.3;
00029   qavg=seed ; symax=seed ; dyone=seed; syone=seed;sxmax=seed;
00030   dxone=seed;sxone=seed;dytwo=seed;sytwo=seed;dxtwo=seed;sxtwo=seed;
00031   qmin=seed;
00032   for (int i=0; i<parIDX::LEN1; ++i){
00033     for (int j=0; j<parIDX::LEN2; ++j){
00034       for (int k=0; k<parIDX::LEN3; ++k){
00035         par[parIDX::indexOf(i,j,k)]=seed;
00036       }
00037     }
00038   }
00039   for (int i=0; i<ytempIDX::LEN1; ++i){
00040     for (int j=0; j<ytempIDX::LEN2; ++j){
00041       ytemp[ytempIDX::indexOf(i,j)]=seed;
00042     }
00043   }
00044   for (int i=0; i<xtempIDX::LEN1; ++i){
00045     for (int j=0; j<xtempIDX::LEN2; ++j){
00046       xtemp[xtempIDX::indexOf(i,j)]=seed;
00047     }
00048   }
00049   for (int i=0; i<avgIDX::LEN1; ++i){
00050     for (int j=0; j<avgIDX::LEN2; ++j){
00051       for (int k=0; k<avgIDX::LEN3; ++k){
00052         avg[avgIDX::indexOf(i,j,k)]=seed;
00053       }
00054     }
00055   }
00056   for (int i=0; i<aqflIDX::LEN1; ++i){
00057     for (int j=0; j<aqflIDX::LEN2; ++j){
00058       for (int k=0; k<aqflIDX::LEN3; ++k){
00059         aqfl[aqflIDX::indexOf(i,j,k)]=seed;
00060       }
00061     }
00062   }
00063   for (int i=0; i<chi2IDX::LEN1; ++i){
00064     for (int j=0; j<chi2IDX::LEN2; ++j){
00065       for (int k=0; k<chi2IDX::LEN3; ++k){
00066         chi2[chi2IDX::indexOf(i,j,k)]=seed;
00067       }
00068     }
00069   }
00070   for (int i=0; i<spareIDX::LEN1; ++i){
00071     for (int j=0; j<spareIDX::LEN2; ++j){
00072         spare[spareIDX::indexOf(i,j)]=seed;
00073     }
00074   }
00075 }


Member Data Documentation

float big::bigEntry::alpha

Definition at line 33 of file big.h.

Referenced by fill().

std::vector<float> big::bigEntry::aqfl

Definition at line 64 of file big.h.

Referenced by bigEntry(), and fill().

std::vector<float> big::bigEntry::avg

Definition at line 61 of file big.h.

Referenced by bigEntry(), and fill().

float big::bigEntry::beta

Definition at line 35 of file big.h.

Referenced by fill().

std::vector<float> big::bigEntry::chi2

Definition at line 67 of file big.h.

Referenced by bigEntry(), and fill().

float big::bigEntry::costrk[3]

Definition at line 37 of file big.h.

Referenced by fill().

float big::bigEntry::cotalpha

Definition at line 34 of file big.h.

Referenced by fill().

float big::bigEntry::cotbeta

Definition at line 36 of file big.h.

Referenced by fill().

float big::bigEntry::dxone

Definition at line 43 of file big.h.

Referenced by fill().

float big::bigEntry::dxtwo

Definition at line 47 of file big.h.

Referenced by fill().

float big::bigEntry::dyone

Definition at line 40 of file big.h.

Referenced by fill().

float big::bigEntry::dytwo

Definition at line 45 of file big.h.

Referenced by fill().

std::vector<float> big::bigEntry::par

Definition at line 52 of file big.h.

Referenced by bigEntry(), and fill().

float big::bigEntry::qavg

Definition at line 38 of file big.h.

Referenced by fill().

float big::bigEntry::qmin

Definition at line 49 of file big.h.

Referenced by fill().

int big::bigEntry::runnum

Definition at line 32 of file big.h.

Referenced by fill().

std::vector<float> big::bigEntry::spare

Definition at line 70 of file big.h.

Referenced by bigEntry(), and fill().

float big::bigEntry::sxmax

Definition at line 42 of file big.h.

Referenced by fill().

float big::bigEntry::sxone

Definition at line 44 of file big.h.

Referenced by fill().

float big::bigEntry::sxtwo

Definition at line 48 of file big.h.

Referenced by fill().

float big::bigEntry::symax

Definition at line 39 of file big.h.

Referenced by fill().

float big::bigEntry::syone

Definition at line 41 of file big.h.

Referenced by fill().

float big::bigEntry::sytwo

Definition at line 46 of file big.h.

Referenced by fill().

std::vector<float> big::bigEntry::xtemp

Definition at line 58 of file big.h.

Referenced by bigEntry(), and fill().

std::vector<float> big::bigEntry::ytemp

Definition at line 55 of file big.h.

Referenced by bigEntry(), and fill().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:15:01 2009 for CMSSW by  doxygen 1.5.4