CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes
big::bigEntry Class Reference

inline class bigEntry More...

#include <big.h>

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.

21  {
22  par.reserve(parIDX::SIZE);
23  ytemp.reserve(ytempIDX::SIZE);
24  xtemp.reserve(xtempIDX::SIZE);
25  avg.reserve(avgIDX::SIZE);
26  aqfl.reserve(aqflIDX::SIZE);
27  chi2.reserve(chi2IDX::SIZE);
28  spare.reserve(spareIDX::SIZE);
29  }
std::vector< float > ytemp
Definition: big.h:55
std::vector< float > chi2
Definition: big.h:67
std::vector< float > avg
Definition: big.h:61
std::vector< float > xtemp
Definition: big.h:58
std::vector< float > par
Definition: big.h:52
std::vector< float > spare
Definition: big.h:70
std::vector< float > aqfl
Definition: big.h:64

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

26  {
27  runnum=r; alpha=seed; cotalpha=seed; beta=seed; cotbeta=seed;
28  costrk[0]=seed*0.1;costrk[1]=seed*0.2;costrk[2]=seed*0.3;
29  qavg=seed ; symax=seed ; dyone=seed; syone=seed;sxmax=seed;
30  dxone=seed;sxone=seed;dytwo=seed;sytwo=seed;dxtwo=seed;sxtwo=seed;
31  qmin=seed;
32  for (int i=0; i<parIDX::LEN1; ++i){
33  for (int j=0; j<parIDX::LEN2; ++j){
34  for (int k=0; k<parIDX::LEN3; ++k){
35  par[parIDX::indexOf(i,j,k)]=seed;
36  }
37  }
38  }
39  for (int i=0; i<ytempIDX::LEN1; ++i){
40  for (int j=0; j<ytempIDX::LEN2; ++j){
41  ytemp[ytempIDX::indexOf(i,j)]=seed;
42  }
43  }
44  for (int i=0; i<xtempIDX::LEN1; ++i){
45  for (int j=0; j<xtempIDX::LEN2; ++j){
46  xtemp[xtempIDX::indexOf(i,j)]=seed;
47  }
48  }
49  for (int i=0; i<avgIDX::LEN1; ++i){
50  for (int j=0; j<avgIDX::LEN2; ++j){
51  for (int k=0; k<avgIDX::LEN3; ++k){
52  avg[avgIDX::indexOf(i,j,k)]=seed;
53  }
54  }
55  }
56  for (int i=0; i<aqflIDX::LEN1; ++i){
57  for (int j=0; j<aqflIDX::LEN2; ++j){
58  for (int k=0; k<aqflIDX::LEN3; ++k){
59  aqfl[aqflIDX::indexOf(i,j,k)]=seed;
60  }
61  }
62  }
63  for (int i=0; i<chi2IDX::LEN1; ++i){
64  for (int j=0; j<chi2IDX::LEN2; ++j){
65  for (int k=0; k<chi2IDX::LEN3; ++k){
66  chi2[chi2IDX::indexOf(i,j,k)]=seed;
67  }
68  }
69  }
70  for (int i=0; i<spareIDX::LEN1; ++i){
71  for (int j=0; j<spareIDX::LEN2; ++j){
72  spare[spareIDX::indexOf(i,j)]=seed;
73  }
74  }
75 }
std::vector< float > ytemp
Definition: big.h:55
int i
Definition: DBlmapReader.cc:9
float dytwo
Definition: big.h:45
float symax
Definition: big.h:39
float qmin
Definition: big.h:49
float costrk[3]
Definition: big.h:37
std::vector< float > chi2
Definition: big.h:67
float cotalpha
Definition: big.h:34
float sxone
Definition: big.h:44
std::vector< float > avg
Definition: big.h:61
std::vector< float > xtemp
Definition: big.h:58
float cotbeta
Definition: big.h:36
float sytwo
Definition: big.h:46
std::vector< float > par
Definition: big.h:52
int j
Definition: DBlmapReader.cc:9
float alpha
Definition: big.h:33
std::vector< float > spare
Definition: big.h:70
float dxtwo
Definition: big.h:47
int k[5][pyjets_maxn]
float beta
Definition: big.h:35
float qavg
Definition: big.h:38
std::vector< float > aqfl
Definition: big.h:64
float dyone
Definition: big.h:40
float sxmax
Definition: big.h:42
float sxtwo
Definition: big.h:48
static int indexOf(const int i)
Definition: TensorIndex.h:24
float syone
Definition: big.h:41
int runnum
Definition: big.h:32
float dxone
Definition: big.h:43

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