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.

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  }

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

Member Function Documentation

◆ fill()

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

Definition at line 23 of file big.cc.

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 }

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, SurveyInfoScenario_cff::seed, spare, sxmax, sxone, sxtwo, symax, syone, sytwo, xtemp, and ytemp.

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

big::bigEntry::dxone
float dxone
Definition: big.h:45
mps_fire.i
i
Definition: mps_fire.py:355
big::bigEntry::dyone
float dyone
Definition: big.h:42
big::bigEntry::ytemp
std::vector< float > ytemp
Definition: big.h:57
big::bigEntry::aqfl
std::vector< float > aqfl
Definition: big.h:66
big::bigEntry::cotalpha
float cotalpha
Definition: big.h:36
big::bigEntry::qavg
float qavg
Definition: big.h:40
big::bigEntry::symax
float symax
Definition: big.h:41
big::bigEntry::sxone
float sxone
Definition: big.h:46
TensorIndex::LEN2
Definition: TensorIndex.h:20
big::bigEntry::cotbeta
float cotbeta
Definition: big.h:38
big::bigEntry::beta
float beta
Definition: big.h:37
big::bigEntry::sytwo
float sytwo
Definition: big.h:48
big::bigEntry::costrk
float costrk[3]
Definition: big.h:39
dqmdumpme.k
k
Definition: dqmdumpme.py:60
big::bigEntry::sxtwo
float sxtwo
Definition: big.h:50
big::bigEntry::spare
std::vector< float > spare
Definition: big.h:72
big::bigEntry::dxtwo
float dxtwo
Definition: big.h:49
big::bigEntry::runnum
int runnum
Definition: big.h:34
big::bigEntry::qmin
float qmin
Definition: big.h:51
TensorIndex::LEN1
Definition: TensorIndex.h:19
big::bigEntry::xtemp
std::vector< float > xtemp
Definition: big.h:60
big::bigEntry::syone
float syone
Definition: big.h:43
big::bigEntry::avg
std::vector< float > avg
Definition: big.h:63
alignCSCRings.r
r
Definition: alignCSCRings.py:93
TensorIndex::indexOf
static int indexOf(const int i)
Definition: TensorIndex.h:24
big::bigEntry::dytwo
float dytwo
Definition: big.h:47
TensorIndex::SIZE
Definition: TensorIndex.h:18
big::bigEntry::sxmax
float sxmax
Definition: big.h:44
big::bigEntry::par
std::vector< float > par
Definition: big.h:54
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
big::bigEntry::chi2
std::vector< float > chi2
Definition: big.h:69
big::bigEntry::alpha
float alpha
Definition: big.h:35
SurveyInfoScenario_cff.seed
seed
Definition: SurveyInfoScenario_cff.py:295
TensorIndex::LEN3
Definition: TensorIndex.h:21