CMS 3D CMS Logo

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 [maxPoints_]
 
float topology [9]
 

Detailed Description

Definition at line 21 of file FWTGeoRecoGeometry.h.

Constructor & Destructor Documentation

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

Definition at line 26 of file FWTGeoRecoGeometry.h.

References init().

27  : name( iname )
28  {
29  init();
30  }
FWTGeoRecoGeometry::Info::Info ( void  )
inline

Definition at line 31 of file FWTGeoRecoGeometry.h.

References init().

32  {
33  init();
34  }

Member Function Documentation

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

Definition at line 42 of file FWTGeoRecoGeometry.h.

References end, and mps_fire::i.

43  {
44  unsigned int index( 0 );
45  for( std::vector<GlobalPoint>::const_iterator i = begin; i != end; ++i )
46  {
47  assert( index < maxCorner_);
48  points[index*3] = i->x();
49  points[index*3+1] = i->y();
50  points[index*3+2] = i->z();
51  ++index;
52  }
53  }
static const int maxCorner_
#define end
Definition: vmac.h:39
#define begin
Definition: vmac.h:32
void FWTGeoRecoGeometry::Info::init ( void  )
inline

Definition at line 36 of file FWTGeoRecoGeometry.h.

References mps_fire::i, and FWTGeoRecoGeometry::maxPoints_.

Referenced by Info().

37  {
38  for( unsigned int i = 0; i < maxPoints_; ++i ) points[i] = 0;
39  for( unsigned int i = 0; i < 9; ++i ) topology[i] = 0;
40  }
static const int maxPoints_

Member Data Documentation

std::string FWTGeoRecoGeometry::Info::name

Definition at line 23 of file FWTGeoRecoGeometry.h.

Referenced by ElectronMVAID.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), DisplayManager.DisplayManager::__del__(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), dirstructure.Comparison::__make_image(), core.autovars.NTupleVariable::__repr__(), core.autovars.NTupleObjectType::__repr__(), core.autovars.NTupleObject::__repr__(), core.autovars.NTupleCollection::__repr__(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.Service::__setattr__(), config.CFG::__str__(), counter.Counter::__str__(), average.Average::__str__(), core.autovars.NTupleObjectType::addSubObjects(), core.autovars.NTupleObjectType::addVariables(), core.autovars.NTupleObjectType::allVars(), dirstructure.Directory::calcStats(), validation.Sample::digest(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), DisplayManager.DisplayManager::Draw(), TreeCrawler.Package::dump(), core.autovars.NTupleVariable::fillBranch(), core.autovars.NTupleObject::fillBranches(), core.autovars.NTupleCollection::fillBranchesScalar(), core.autovars.NTupleCollection::fillBranchesVector(), core.autovars.NTupleCollection::get_cpp_declaration(), core.autovars.NTupleCollection::get_cpp_wrapper_class(), core.autovars.NTupleCollection::get_py_wrapper_class(), utils.StatisticalTest::get_status(), production_tasks.Task::getname(), dataset.CMSDataset::getPrimaryDatasetEntries(), dataset.PrivateDataset::getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase::initialize(), core.autovars.NTupleVariable::makeBranch(), core.autovars.NTupleObject::makeBranches(), core.autovars.NTupleCollection::makeBranchesScalar(), core.autovars.NTupleCollection::makeBranchesVector(), dirstructure.Directory::print_report(), dataset.BaseDataset::printInfo(), dataset.Dataset::printInfo(), production_tasks.MonitorJobs::run(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), Vispa.Views.PropertyView.Property::valueChanged(), counter.Counter::write(), and average.Average::write().

float FWTGeoRecoGeometry::Info::points[maxPoints_]

Definition at line 24 of file FWTGeoRecoGeometry.h.

float FWTGeoRecoGeometry::Info::topology[9]

Definition at line 25 of file FWTGeoRecoGeometry.h.