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

◆ Info() [1/2]

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

Definition at line 24 of file FWTGeoRecoGeometry.h.

References init().

24 : name(iname) { init(); }

◆ Info() [2/2]

FWTGeoRecoGeometry::Info::Info ( void  )
inline

Definition at line 25 of file FWTGeoRecoGeometry.h.

References init().

25 { init(); }

Member Function Documentation

◆ fillPoints()

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 cms::cuda::assert(), SplitLinear::begin, mps_fire::end, mps_fire::i, FWTGeoRecoGeometry::maxCorner_, and points.

32  {
33  unsigned int index(0);
34  for (std::vector<GlobalPoint>::const_iterator i = begin; i != end; ++i) {
36  points[index * 3] = i->x();
37  points[index * 3 + 1] = i->y();
38  points[index * 3 + 2] = i->z();
39  ++index;
40  }
41  }
assert(be >=bs)
static const int maxCorner_

◆ init()

void FWTGeoRecoGeometry::Info::init ( void  )
inline

Definition at line 26 of file FWTGeoRecoGeometry.h.

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

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

◆ name

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(), 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(), dataset.CMSDataset::buildListOfFiles(), dataset.LocalDataset::buildListOfFiles(), dataset.CMSDataset::buildListOfFilesDBS(), 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(), counter.Counter::write(), and average.Average::write().

◆ points

float FWTGeoRecoGeometry::Info::points[maxPoints_]

Definition at line 22 of file FWTGeoRecoGeometry.h.

Referenced by fillPoints(), and init().

◆ topology

float FWTGeoRecoGeometry::Info::topology[9]

Definition at line 23 of file FWTGeoRecoGeometry.h.

Referenced by init().