test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 129 of file big.h.

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

Definition at line 130 of file big.h.

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

Definition at line 131 of file big.h.

Constructor & Destructor Documentation

big::big ( )
inline

Definition at line 10 of file big.h.

References sVector_, thVector_, and tVector_.

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

Member Function Documentation

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

Definition at line 5 of file big.cc.

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

6  {
7  for(size_t i=0;i<tVectorSize;++i){
9  b.fill(i,1.0);
10  tVector_.push_back(b);
11  }
12  for(size_t i=0;i<thVectorSize;++i){
14  h.fill(atitle);
15  thVector_.push_back(h);
16  }
17  for(size_t i=0;i<sVectorSize;++i){
19  s.fill(atitle);
20  sVector_.push_back(s);
21  }
22 }
int i
Definition: DBlmapReader.cc:9
storeVector sVector_
Definition: big.h:135
void fill(const std::string &atitle)
Definition: big.cc:79
headVector thVector_
Definition: big.h:134
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
inline class bigEntry
Definition: big.h:20
void fill(const std::string &atitle)
Definition: big.cc:97
void fill(int runnum, float seed)
Definition: big.cc:26
double b
Definition: hdecay.h:120
entryVector tVector_
Definition: big.h:133
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 143 of file big.h.

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

Definition at line 143 of file big.h.

Member Data Documentation

float big::abs_cotb
private

absolute value of cot beta

Definition at line 140 of file big.h.

float big::cota_current
private

current cot alpha

Definition at line 138 of file big.h.

float big::cotb_current
private

current cot beta

Definition at line 139 of file big.h.

bool big::fpix_current
private

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

Definition at line 141 of file big.h.

int big::id_current
private

current id

Definition at line 136 of file big.h.

int big::index_id
private

current index

Definition at line 137 of file big.h.

storeVector big::sVector_
private

Definition at line 135 of file big.h.

Referenced by big(), and fill().

headVector big::thVector_
private

Definition at line 134 of file big.h.

Referenced by big(), and fill().

entryVector big::tVector_
private

Definition at line 133 of file big.h.

Referenced by big(), and fill().