CMS 3D CMS Logo

Classes | Public Types | Public Member Functions | Private Attributes

big Class Reference

#include <big.h>

List of all members.

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 Attributes

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

Detailed Description

Definition at line 6 of file big.h.


Member Typedef Documentation

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

Definition at line 121 of file big.h.

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

Definition at line 122 of file big.h.

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

Definition at line 123 of file big.h.


Constructor & Destructor Documentation

big::big ( ) [inline]

Definition at line 8 of file big.h.

References sVector_, thVector_, and tVector_.

       :id_current(-1),index_id(-1),cota_current(0.),cotb_current(0.),fpix_current(false){
    //constructor
    tVector_.reserve(1000);
    thVector_.reserve(1000);
    sVector_.reserve(1000);
  }

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::bigStore::fill(), big::bigEntry::fill(), big::bigHeader::fill(), h, i, asciidump::s, sVector_, thVector_, and tVector_.

                                   {
  for(size_t i=0;i<tVectorSize;++i){
    big::bigEntry b;
    b.fill(i,1.0);
    tVector_.push_back(b);
  }
  for(size_t i=0;i<thVectorSize;++i){
    big::bigHeader h;
    h.fill(atitle);
    thVector_.push_back(h);
  }
  for(size_t i=0;i<sVectorSize;++i){
    big::bigStore s;
    s.fill(atitle);
    sVector_.push_back(s);
  }
}

Member Data Documentation

float big::abs_cotb [private]

absolute value of cot beta

Definition at line 132 of file big.h.

float big::cota_current [private]

current cot alpha

Definition at line 130 of file big.h.

float big::cotb_current [private]

current cot beta

Definition at line 131 of file big.h.

bool big::fpix_current [private]

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

Definition at line 133 of file big.h.

int big::id_current [private]

current id

Definition at line 128 of file big.h.

int big::index_id [private]

current index

Definition at line 129 of file big.h.

Definition at line 127 of file big.h.

Referenced by big(), and fill().

Definition at line 126 of file big.h.

Referenced by big(), and fill().

Definition at line 125 of file big.h.

Referenced by big(), and fill().