CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 [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().

25  : name( iname )
26  {
27  init();
28  }
FWTGeoRecoGeometry::Info::Info ( void  )
inline

Definition at line 29 of file FWTGeoRecoGeometry.h.

References init().

30  {
31  init();
32  }

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 assert(), end, i, cmsHarvester::index, and points.

41  {
42  unsigned int index( 0 );
43  for( std::vector<GlobalPoint>::const_iterator i = begin; i != end; ++i )
44  {
45  assert( index < 8 );
46  points[index*3] = i->x();
47  points[index*3+1] = i->y();
48  points[index*3+2] = i->z();
49  ++index;
50  }
51  }
int i
Definition: DBlmapReader.cc:9
assert(m_qm.get())
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void FWTGeoRecoGeometry::Info::init ( void  )
inline

Definition at line 34 of file FWTGeoRecoGeometry.h.

References i, points, and topology.

Referenced by Info().

35  {
36  for( unsigned int i = 0; i < 24; ++i ) points[i] = 0;
37  for( unsigned int i = 0; i < 9; ++i ) topology[i] = 0;
38  }
int i
Definition: DBlmapReader.cc:9

Member Data Documentation

std::string FWTGeoRecoGeometry::Info::name

Definition at line 21 of file FWTGeoRecoGeometry.h.

Referenced by ElectronMVAID.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), 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.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(), 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[24]

Definition at line 22 of file FWTGeoRecoGeometry.h.

Referenced by fillPoints(), and init().

float FWTGeoRecoGeometry::Info::topology[9]

Definition at line 23 of file FWTGeoRecoGeometry.h.

Referenced by init().