#include <L1MuDTChambThContainer.h>
Public Types | |
typedef std::vector < L1MuDTChambThDigi > | The_Container |
typedef The_Container::const_iterator | The_iterator |
Public Member Functions | |
bool | bxEmpty (int step) const |
int | bxSize (int step1, int step2) const |
L1MuDTChambThDigi * | chThetaSegm (int wheel, int stat, int sect, int bx) const |
The_Container * | getContainer () const |
L1MuDTChambThContainer () | |
void | setContainer (The_Container inputSegments) |
~L1MuDTChambThContainer () | |
Private Attributes | |
The_Container | theSegments |
Definition at line 34 of file L1MuDTChambThContainer.h.
typedef std::vector<L1MuDTChambThDigi> L1MuDTChambThContainer::The_Container |
Definition at line 38 of file L1MuDTChambThContainer.h.
typedef The_Container::const_iterator L1MuDTChambThContainer::The_iterator |
Definition at line 39 of file L1MuDTChambThContainer.h.
L1MuDTChambThContainer::L1MuDTChambThContainer | ( | ) |
Definition at line 36 of file L1MuDTChambThContainer.cc.
{}
L1MuDTChambThContainer::~L1MuDTChambThContainer | ( | ) |
Definition at line 41 of file L1MuDTChambThContainer.cc.
{}
bool L1MuDTChambThContainer::bxEmpty | ( | int | step | ) | const |
Definition at line 60 of file L1MuDTChambThContainer.cc.
References relativeConstraints::empty, and i.
{ bool empty = true; for ( The_iterator i = theSegments.begin(); i != theSegments.end(); i++ ) { if (step == i->bxNum()) empty = false; } return(empty); }
int L1MuDTChambThContainer::bxSize | ( | int | step1, |
int | step2 | ||
) | const |
Definition at line 73 of file L1MuDTChambThContainer.cc.
References i, and findQualityFiles::size.
{ int size = 0; for ( The_iterator i = theSegments.begin(); i != theSegments.end(); i++ ) { if (step1 <= i->bxNum() && step2 >= i->bxNum()) size++; } return(size); }
L1MuDTChambThDigi * L1MuDTChambThContainer::chThetaSegm | ( | int | wheel, |
int | stat, | ||
int | sect, | ||
int | bx | ||
) | const |
Definition at line 86 of file L1MuDTChambThContainer.cc.
References i.
{ L1MuDTChambThDigi* rT=0; for ( The_iterator i = theSegments.begin(); i != theSegments.end(); i++ ) { if (step == i->bxNum() && wheel == i->whNum() && sect == i->scNum() && stat == i->stNum() ) rT = const_cast<L1MuDTChambThDigi*>(&(*i)); } return(rT); }
L1MuDTChambThContainer::The_Container * L1MuDTChambThContainer::getContainer | ( | ) | const |
Definition at line 51 of file L1MuDTChambThContainer.cc.
{ The_Container* rT=0; rT = const_cast<The_Container*>(&theSegments); return(rT); }
void L1MuDTChambThContainer::setContainer | ( | The_Container | inputSegments | ) |
Definition at line 46 of file L1MuDTChambThContainer.cc.
{ theSegments = inputSegments; }
Definition at line 59 of file L1MuDTChambThContainer.h.