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.

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

References init().

◆ Info() [2/2]

FWTGeoRecoGeometry::Info::Info ( void  )
inline

Definition at line 25 of file FWTGeoRecoGeometry.h.

25 { init(); }

References 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.

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  }

References cms::cuda::assert(), begin, end, mps_fire::i, FWTGeoRecoGeometry::maxCorner_, and points.

◆ init()

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

Definition at line 26 of file FWTGeoRecoGeometry.h.

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  }

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

Referenced by Info().

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

mps_fire.i
i
Definition: mps_fire.py:355
FWTGeoRecoGeometry::Info::topology
float topology[9]
Definition: FWTGeoRecoGeometry.h:23
cms::cuda::assert
assert(be >=bs)
FWTGeoRecoGeometry::Info::init
void init(void)
Definition: FWTGeoRecoGeometry.h:26
end
#define end
Definition: vmac.h:39
FWTGeoRecoGeometry::Info::points
float points[maxPoints_]
Definition: FWTGeoRecoGeometry.h:22
FWTGeoRecoGeometry::maxPoints_
static const int maxPoints_
Definition: FWTGeoRecoGeometry.h:19
FWTGeoRecoGeometry::maxCorner_
static const int maxCorner_
Definition: FWTGeoRecoGeometry.h:18
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
FWTGeoRecoGeometry::Info::name
std::string name
Definition: FWTGeoRecoGeometry.h:21
begin
#define begin
Definition: vmac.h:32