CMS 3D CMS Logo

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

#include <DetGroup.h>

Inheritance diagram for DetGroup:

Public Types

typedef std::vector
< DetGroupElement
Base
 
typedef
DetGroupElement::DetWithState 
DetWithState
 

Public Member Functions

 DetGroup ()
 
 DetGroup (int ind, int indSize)
 
 DetGroup (const std::vector< DetWithState > &vec)
 
void incrementIndex (int incr)
 
int index () const
 
int indexSize () const
 
void setIndexSize (int newSize)
 

Private Attributes

int index_
 
int indexSize_
 

Detailed Description

Definition at line 51 of file DetGroup.h.

Member Typedef Documentation

typedef std::vector< DetGroupElement> DetGroup::Base

Definition at line 54 of file DetGroup.h.

Definition at line 55 of file DetGroup.h.

Constructor & Destructor Documentation

DetGroup::DetGroup ( )
inline

Definition at line 57 of file DetGroup.h.

57 {}
DetGroup::DetGroup ( int  ind,
int  indSize 
)
inline

Definition at line 76 of file DetGroup.h.

76 : index_(ind), indexSize_(indSize) {}
int indexSize_
Definition: DetGroup.h:100
int index_
Definition: DetGroup.h:99
DetGroup::DetGroup ( const std::vector< DetWithState > &  vec)
inline

Definition at line 78 of file DetGroup.h.

References i.

78  {
79  reserve( vec.size());
80  for (std::vector<DetWithState>::const_iterator i=vec.begin(); i!=vec.end(); i++) {
81  push_back(DetGroupElement(*i));
82  }
83  }
int i
Definition: DBlmapReader.cc:9

Member Function Documentation

void DetGroup::incrementIndex ( int  incr)
inline

Definition at line 91 of file DetGroup.h.

References index_, and indexSize_.

91  {
92  // for (iterator i=begin(); i!=end(); i++) i->incrementIndex(incr);
93  index_ += incr;
94  indexSize_ += incr;
95  }
int indexSize_
Definition: DetGroup.h:100
int index_
Definition: DetGroup.h:99
int DetGroup::index ( ) const
inline

Definition at line 85 of file DetGroup.h.

References index_.

Referenced by BeautifulSoup.PageElement::_invert().

85 {return index_;}
int index_
Definition: DetGroup.h:99
int DetGroup::indexSize ( ) const
inline

Definition at line 87 of file DetGroup.h.

References indexSize_.

87 {return indexSize_;}
int indexSize_
Definition: DetGroup.h:100
void DetGroup::setIndexSize ( int  newSize)
inline

Definition at line 89 of file DetGroup.h.

References indexSize_.

89 {indexSize_ = newSize;}
int indexSize_
Definition: DetGroup.h:100

Member Data Documentation

int DetGroup::index_
private

Definition at line 99 of file DetGroup.h.

Referenced by incrementIndex(), and index().

int DetGroup::indexSize_
private

Definition at line 100 of file DetGroup.h.

Referenced by incrementIndex(), indexSize(), and setIndexSize().