CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
FWTGeoRecoGeometry::Info Struct Reference

#include <FWTGeoRecoGeometry.h>

Public Member Functions

void fillPoints (std::vector< GlobalPoint >::const_iterator begin, std::vector< GlobalPoint >::const_iterator end)
 
 Info (const std::string &iname)
 
 Info (void)
 
void init (void)
 

Public Attributes

std::string name
 
float points [24]
 
float topology [9]
 

Detailed Description

Definition at line 19 of file FWTGeoRecoGeometry.h.

Constructor & Destructor Documentation

FWTGeoRecoGeometry::Info::Info ( const std::string &  iname)
inline

Definition at line 24 of file FWTGeoRecoGeometry.h.

References init().

25  : name( iname )
26  {
27  init();
28  }
FWTGeoRecoGeometry::Info::Info ( void  )
inline

Definition at line 29 of file FWTGeoRecoGeometry.h.

References init().

30  {
31  init();
32  }

Member Function Documentation

void FWTGeoRecoGeometry::Info::fillPoints ( std::vector< GlobalPoint >::const_iterator  begin,
std::vector< GlobalPoint >::const_iterator  end 
)
inline

Definition at line 40 of file FWTGeoRecoGeometry.h.

References end, i, getHLTprescales::index, and points.

41  {
42  unsigned int index( 0 );
43  for( std::vector<GlobalPoint>::const_iterator i = begin; i != end; ++i )
44  {
45  assert( index < 8 );
46  points[index*3] = i->x();
47  points[index*3+1] = i->y();
48  points[index*3+2] = i->z();
49  ++index;
50  }
51  }
int i
Definition: DBlmapReader.cc:9
#define end
Definition: vmac.h:38
#define begin
Definition: vmac.h:31
void FWTGeoRecoGeometry::Info::init ( void  )
inline

Definition at line 34 of file FWTGeoRecoGeometry.h.

References i, points, and topology.

Referenced by Info().

35  {
36  for( unsigned int i = 0; i < 24; ++i ) points[i] = 0;
37  for( unsigned int i = 0; i < 9; ++i ) topology[i] = 0;
38  }
int i
Definition: DBlmapReader.cc:9

Member Data Documentation

std::string FWTGeoRecoGeometry::Info::name
float FWTGeoRecoGeometry::Info::points[24]

Definition at line 22 of file FWTGeoRecoGeometry.h.

Referenced by fillPoints(), and init().

float FWTGeoRecoGeometry::Info::topology[9]

Definition at line 23 of file FWTGeoRecoGeometry.h.

Referenced by init().