CMS 3D CMS Logo

Public Types | Public Member Functions | Public Attributes

big::bigEntry Class Reference

inline class bigEntry More...

#include <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

Definition at line 63 of file big.h.

Definition at line 60 of file big.h.

Definition at line 66 of file big.h.

Definition at line 51 of file big.h.

Definition at line 69 of file big.h.

Definition at line 57 of file big.h.

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.

              {
      par.reserve(parIDX::SIZE);
      ytemp.reserve(ytempIDX::SIZE);
      xtemp.reserve(xtempIDX::SIZE);
      avg.reserve(avgIDX::SIZE);
      aqfl.reserve(aqflIDX::SIZE);
      chi2.reserve(chi2IDX::SIZE);
      spare.reserve(spareIDX::SIZE);  
    }

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, gen::k, TensorIndex< d1, d2, d3, d4 >::LEN1, TensorIndex< d1, d2, d3, d4 >::LEN2, TensorIndex< d1, d2, d3, d4 >::LEN3, par, qavg, qmin, alignCSCRings::r, runnum, spare, sxmax, sxone, sxtwo, symax, syone, sytwo, xtemp, and ytemp.

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

                                 {
  runnum=r; alpha=seed; cotalpha=seed; beta=seed; cotbeta=seed;
  costrk[0]=seed*0.1;costrk[1]=seed*0.2;costrk[2]=seed*0.3;
  qavg=seed ; symax=seed ; dyone=seed; syone=seed;sxmax=seed;
  dxone=seed;sxone=seed;dytwo=seed;sytwo=seed;dxtwo=seed;sxtwo=seed;
  qmin=seed;
  for (int i=0; i<parIDX::LEN1; ++i){
    for (int j=0; j<parIDX::LEN2; ++j){
      for (int k=0; k<parIDX::LEN3; ++k){
        par[parIDX::indexOf(i,j,k)]=seed;
      }
    }
  }
  for (int i=0; i<ytempIDX::LEN1; ++i){
    for (int j=0; j<ytempIDX::LEN2; ++j){
      ytemp[ytempIDX::indexOf(i,j)]=seed;
    }
  }
  for (int i=0; i<xtempIDX::LEN1; ++i){
    for (int j=0; j<xtempIDX::LEN2; ++j){
      xtemp[xtempIDX::indexOf(i,j)]=seed;
    }
  }
  for (int i=0; i<avgIDX::LEN1; ++i){
    for (int j=0; j<avgIDX::LEN2; ++j){
      for (int k=0; k<avgIDX::LEN3; ++k){
        avg[avgIDX::indexOf(i,j,k)]=seed;
      }
    }
  }
  for (int i=0; i<aqflIDX::LEN1; ++i){
    for (int j=0; j<aqflIDX::LEN2; ++j){
      for (int k=0; k<aqflIDX::LEN3; ++k){
        aqfl[aqflIDX::indexOf(i,j,k)]=seed;
      }
    }
  }
  for (int i=0; i<chi2IDX::LEN1; ++i){
    for (int j=0; j<chi2IDX::LEN2; ++j){
      for (int k=0; k<chi2IDX::LEN3; ++k){
        chi2[chi2IDX::indexOf(i,j,k)]=seed;
      }
    }
  }
  for (int i=0; i<spareIDX::LEN1; ++i){
    for (int j=0; j<spareIDX::LEN2; ++j){
        spare[spareIDX::indexOf(i,j)]=seed;
    }
  }
}

Member Data Documentation

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().

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().

Definition at line 37 of file big.h.

Referenced by fill().

Definition at line 34 of file big.h.

Referenced by fill().

Definition at line 36 of file big.h.

Referenced by fill().

Definition at line 43 of file big.h.

Referenced by fill().

Definition at line 47 of file big.h.

Referenced by fill().

Definition at line 40 of file big.h.

Referenced by fill().

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().

Definition at line 38 of file big.h.

Referenced by fill().

Definition at line 49 of file big.h.

Referenced by fill().

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().

Definition at line 42 of file big.h.

Referenced by fill().

Definition at line 44 of file big.h.

Referenced by fill().

Definition at line 48 of file big.h.

Referenced by fill().

Definition at line 39 of file big.h.

Referenced by fill().

Definition at line 41 of file big.h.

Referenced by fill().

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().