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 20 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().

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

Definition at line 25 of file FWTGeoRecoGeometry.h.

References init().

25 { init(); }

Member Function Documentation

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

Definition at line 32 of file FWTGeoRecoGeometry.h.

References end, and mps_fire::i.

32  {
33  unsigned int index(0);
34  for (std::vector<GlobalPoint>::const_iterator i = begin; i != end; ++i) {
35  assert(index < maxCorner_);
36  points[index * 3] = i->x();
37  points[index * 3 + 1] = i->y();
38  points[index * 3 + 2] = i->z();
39  ++index;
40  }
41  }
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 26 of file FWTGeoRecoGeometry.h.

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

Referenced by Info().

26  {
27  for (unsigned int i = 0; i < maxPoints_; ++i)
28  points[i] = 0;
29  for (unsigned int i = 0; i < 9; ++i)
30  topology[i] = 0;
31  }
static const int maxPoints_

Member Data Documentation

std::string FWTGeoRecoGeometry::Info::name

Definition at line 21 of file FWTGeoRecoGeometry.h.

Referenced by ElectronMVAID.ElectronMVAID::__call__(), FWLite.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__(), FWLite.WorkingPoints::_reformat_cut_definitions(), 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 22 of file FWTGeoRecoGeometry.h.

float FWTGeoRecoGeometry::Info::topology[9]

Definition at line 23 of file FWTGeoRecoGeometry.h.