#include <TrackingTools/DetLayers/interface/DetGroup.h>
Public Types | |
typedef std::vector < DetGroupElement > | Base |
typedef DetGroupElement::DetWithState | DetWithState |
Public Member Functions | |
DetGroup (const std::vector< DetWithState > &vec) | |
DetGroup (int ind, int indSize) | |
DetGroup () | |
void | incrementIndex (int incr) |
int | index () const |
int | indexSize () const |
void | setIndexSize (int newSize) |
Private Attributes | |
int | index_ |
int | indexSize_ |
Definition at line 33 of file DetGroup.h.
typedef std::vector< DetGroupElement> DetGroup::Base |
Definition at line 36 of file DetGroup.h.
Definition at line 37 of file DetGroup.h.
DetGroup::DetGroup | ( | ) | [inline] |
DetGroup::DetGroup | ( | const std::vector< DetWithState > & | vec | ) | [inline] |
Definition at line 42 of file DetGroup.h.
References i.
00042 { 00043 reserve( vec.size()); 00044 for (std::vector<DetWithState>::const_iterator i=vec.begin(); i!=vec.end(); i++) { 00045 push_back(DetGroupElement(*i)); 00046 } 00047 }
Definition at line 55 of file DetGroup.h.
References index_, and indexSize_.
00055 { 00056 // for (iterator i=begin(); i!=end(); i++) i->incrementIndex(incr); 00057 index_ += incr; 00058 indexSize_ += incr; 00059 }
int DetGroup::index | ( | ) | const [inline] |
int DetGroup::indexSize | ( | ) | const [inline] |
int DetGroup::index_ [private] |
int DetGroup::indexSize_ [private] |
Definition at line 64 of file DetGroup.h.
Referenced by incrementIndex(), indexSize(), and setIndexSize().