CMS 3D CMS Logo

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

#include <big.h>

Classes

class  bigEntry
 inline class bigEntry More...
 
class  bigHeader
 
class  bigStore
 

Public Types

typedef std::vector< bigEntryentryVector
 
typedef std::vector< bigHeaderheadVector
 
typedef std::vector< bigStorestoreVector
 

Public Member Functions

 big ()
 
void fill (size_t tVectorSize, size_t thVectorSize, size_t sVectorSize, const std::string &atitle)
 

Private Member Functions

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

Private Attributes

float abs_cotb
 absolute value of cot beta More...
 
float cota_current
 current cot alpha More...
 
float cotb_current
 current cot beta More...
 
bool fpix_current
 current pix detector (false for BPix, true for FPix) More...
 
int id_current
 current id More...
 
int index_id
 current index More...
 
storeVector sVector_
 
headVector thVector_
 
entryVector tVector_
 

Friends

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

Detailed Description

Definition at line 8 of file big.h.

Member Typedef Documentation

typedef std::vector<bigEntry> big::entryVector

Definition at line 127 of file big.h.

typedef std::vector<bigHeader> big::headVector

Definition at line 128 of file big.h.

typedef std::vector<bigStore> big::storeVector

Definition at line 129 of file big.h.

Constructor & Destructor Documentation

big::big ( )
inline

Definition at line 10 of file big.h.

References sVector_, thVector_, and tVector_.

10  : id_current(-1), index_id(-1), cota_current(0.), cotb_current(0.), fpix_current(false) {
11  //constructor
12  tVector_.reserve(1000);
13  thVector_.reserve(1000);
14  sVector_.reserve(1000);
15  }
storeVector sVector_
Definition: big.h:134
headVector thVector_
Definition: big.h:133
int index_id
current index
Definition: big.h:136
float cotb_current
current cot beta
Definition: big.h:138
int id_current
current id
Definition: big.h:135
bool fpix_current
current pix detector (false for BPix, true for FPix)
Definition: big.h:140
entryVector tVector_
Definition: big.h:132
float cota_current
current cot alpha
Definition: big.h:137

Member Function Documentation

void big::fill ( size_t  tVectorSize,
size_t  thVectorSize,
size_t  sVectorSize,
const std::string &  atitle 
)

Definition at line 4 of file big.cc.

References b, big::bigEntry::fill(), big::bigHeader::fill(), big::bigStore::fill(), h, mps_fire::i, alignCSCRings::s, sVector_, thVector_, and tVector_.

4  {
5  for (size_t i = 0; i < tVectorSize; ++i) {
7  b.fill(i, 1.0);
8  tVector_.push_back(b);
9  }
10  for (size_t i = 0; i < thVectorSize; ++i) {
12  h.fill(atitle);
13  thVector_.push_back(h);
14  }
15  for (size_t i = 0; i < sVectorSize; ++i) {
17  s.fill(atitle);
18  sVector_.push_back(s);
19  }
20 }
storeVector sVector_
Definition: big.h:134
void fill(const std::string &atitle)
Definition: big.cc:90
headVector thVector_
Definition: big.h:133
inline class bigEntry
Definition: big.h:19
void fill(const std::string &atitle)
Definition: big.cc:107
void fill(int runnum, float seed)
Definition: big.cc:23
double b
Definition: hdecay.h:118
entryVector tVector_
Definition: big.h:132
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
template<class Archive >
void big::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 142 of file big.h.

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

Definition at line 142 of file big.h.

Member Data Documentation

float big::abs_cotb
private

absolute value of cot beta

Definition at line 139 of file big.h.

float big::cota_current
private

current cot alpha

Definition at line 137 of file big.h.

float big::cotb_current
private

current cot beta

Definition at line 138 of file big.h.

bool big::fpix_current
private

current pix detector (false for BPix, true for FPix)

Definition at line 140 of file big.h.

int big::id_current
private

current id

Definition at line 135 of file big.h.

int big::index_id
private

current index

Definition at line 136 of file big.h.

storeVector big::sVector_
private

Definition at line 134 of file big.h.

Referenced by big(), and fill().

headVector big::thVector_
private

Definition at line 133 of file big.h.

Referenced by big(), and fill().

entryVector big::tVector_
private

Definition at line 132 of file big.h.

Referenced by big(), and fill().