CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes | Private Member Functions | Friends
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
 

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

inline class bigEntry

Definition at line 19 of file big.h.

Member Typedef Documentation

◆ aqflIDX

Definition at line 65 of file big.h.

◆ avgIDX

Definition at line 62 of file big.h.

◆ chi2IDX

Definition at line 68 of file big.h.

◆ parIDX

Definition at line 53 of file big.h.

◆ spareIDX

Definition at line 71 of file big.h.

◆ xtempIDX

Definition at line 59 of file big.h.

◆ ytempIDX

Definition at line 56 of file big.h.

Constructor & Destructor Documentation

◆ bigEntry()

big::bigEntry::bigEntry ( )
inline

Definition at line 22 of file big.h.

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

22  {
23  par.reserve(parIDX::SIZE);
24  ytemp.reserve(ytempIDX::SIZE);
25  xtemp.reserve(xtempIDX::SIZE);
26  avg.reserve(avgIDX::SIZE);
27  aqfl.reserve(aqflIDX::SIZE);
28  chi2.reserve(chi2IDX::SIZE);
29  spare.reserve(spareIDX::SIZE);
30  }
std::vector< float > ytemp
Definition: big.h:57
std::vector< float > chi2
Definition: big.h:69
std::vector< float > avg
Definition: big.h:63
std::vector< float > xtemp
Definition: big.h:60
std::vector< float > par
Definition: big.h:54
std::vector< float > spare
Definition: big.h:72
std::vector< float > aqfl
Definition: big.h:66

Member Function Documentation

◆ fill()

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

Definition at line 23 of file big.cc.

References alpha, aqfl, avg, beta, chi2, costrk, cotalpha, cotbeta, dxone, dxtwo, dyone, dytwo, mps_fire::i, TensorIndex< d1, d2, d3, d4 >::indexOf(), dqmiolumiharvest::j, dqmdumpme::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, fileCollector::seed, spare, sxmax, sxone, sxtwo, symax, syone, sytwo, xtemp, and ytemp.

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

◆ serialize()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 74 of file big.h.

◆ cond::serialization::access

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

Definition at line 74 of file big.h.

Member Data Documentation

◆ alpha

float big::bigEntry::alpha

Definition at line 35 of file big.h.

Referenced by fill().

◆ aqfl

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

Definition at line 66 of file big.h.

Referenced by bigEntry(), and fill().

◆ avg

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

Definition at line 63 of file big.h.

Referenced by bigEntry(), and fill().

◆ beta

float big::bigEntry::beta

Definition at line 37 of file big.h.

Referenced by fill().

◆ chi2

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

Definition at line 69 of file big.h.

Referenced by bigEntry(), and fill().

◆ costrk

float big::bigEntry::costrk[3]

Definition at line 39 of file big.h.

Referenced by fill().

◆ cotalpha

float big::bigEntry::cotalpha

Definition at line 36 of file big.h.

Referenced by fill().

◆ cotbeta

float big::bigEntry::cotbeta

Definition at line 38 of file big.h.

Referenced by fill().

◆ dxone

float big::bigEntry::dxone

Definition at line 45 of file big.h.

Referenced by fill().

◆ dxtwo

float big::bigEntry::dxtwo

Definition at line 49 of file big.h.

Referenced by fill().

◆ dyone

float big::bigEntry::dyone

Definition at line 42 of file big.h.

Referenced by fill().

◆ dytwo

float big::bigEntry::dytwo

Definition at line 47 of file big.h.

Referenced by fill().

◆ par

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

Definition at line 54 of file big.h.

Referenced by bigEntry(), and fill().

◆ qavg

float big::bigEntry::qavg

Definition at line 40 of file big.h.

Referenced by fill().

◆ qmin

float big::bigEntry::qmin

Definition at line 51 of file big.h.

Referenced by fill().

◆ runnum

int big::bigEntry::runnum

Definition at line 34 of file big.h.

Referenced by fill().

◆ spare

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

Definition at line 72 of file big.h.

Referenced by bigEntry(), and fill().

◆ sxmax

float big::bigEntry::sxmax

Definition at line 44 of file big.h.

Referenced by fill().

◆ sxone

float big::bigEntry::sxone

Definition at line 46 of file big.h.

Referenced by fill().

◆ sxtwo

float big::bigEntry::sxtwo

Definition at line 50 of file big.h.

Referenced by fill().

◆ symax

float big::bigEntry::symax

Definition at line 41 of file big.h.

Referenced by fill().

◆ syone

float big::bigEntry::syone

Definition at line 43 of file big.h.

Referenced by fill().

◆ sytwo

float big::bigEntry::sytwo

Definition at line 48 of file big.h.

Referenced by fill().

◆ xtemp

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

Definition at line 60 of file big.h.

Referenced by bigEntry(), and fill().

◆ ytemp

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

Definition at line 57 of file big.h.

Referenced by bigEntry(), and fill().