CMS 3D CMS Logo

Public Member Functions | Public Attributes

FWTGeoRecoGeometry::Info Struct Reference

#include <FWTGeoRecoGeometry.h>

List of all members.

Public Member Functions

void fillPoints (std::vector< GlobalPoint >::const_iterator begin, std::vector< GlobalPoint >::const_iterator end)
 Info (void)
 Info (const std::string &iname)
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().

      : name( iname )
      {
        init();
      }
FWTGeoRecoGeometry::Info::Info ( void  ) [inline]

Definition at line 29 of file FWTGeoRecoGeometry.h.

References init().

      {
        init();
      }

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.

      {
         unsigned int index( 0 );
         for( std::vector<GlobalPoint>::const_iterator i = begin; i != end; ++i )
         {
            assert( index < 8 );
            points[index*3] = i->x();
            points[index*3+1] = i->y();
            points[index*3+2] = i->z();
            ++index;
         }
      }
void FWTGeoRecoGeometry::Info::init ( void  ) [inline]

Definition at line 34 of file FWTGeoRecoGeometry.h.

References i, points, and topology.

Referenced by Info().

      {
        for( unsigned int i = 0; i < 24; ++i ) points[i] = 0;
        for( unsigned int i = 0; i < 9; ++i ) topology[i] = 0;
      }

Member Data Documentation

Definition at line 21 of file FWTGeoRecoGeometry.h.

Definition at line 22 of file FWTGeoRecoGeometry.h.

Referenced by fillPoints(), and init().

Definition at line 23 of file FWTGeoRecoGeometry.h.

Referenced by init().