#include <ostream>
#include <map>
#include <vector>
#include <algorithm>
#include "DetectorDescription/Core/interface/DDValue.h"
Go to the source code of this file.
Typedefs | |
typedef DDsvalues_type::value_type | DDsvalues_Content_type |
typedef std::vector< std::pair < unsigned int, DDValue > > | DDsvalues_type |
std::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::mapped DDValue. More... | |
Functions | |
bool | DDfetch (const DDsvalues_type *, DDValue &) |
helper for retrieving DDValues from DDsvalues_type *. More... | |
unsigned int | DDfetch (const std::vector< const DDsvalues_type * > &sp, DDValue &toFetch, std::vector< DDValue > &result) |
helper for retrieving DDValues from a std::vector of (DDsvalues_type *). More... | |
DDsvalues_type::const_iterator | find (DDsvalues_type::const_iterator begin, DDsvalues_type::const_iterator end, unsigned int id) |
DDsvalues_type::const_iterator | find (DDsvalues_type const &sv, unsigned int id) |
void | merge (DDsvalues_type &target, DDsvalues_type const &sv, bool sortit=true) |
bool | operator< (const DDsvalues_Content_type &lh, const DDsvalues_Content_type &rh) |
std::ostream & | operator<< (std::ostream &, const DDsvalues_type &) |
std::ostream & | operator<< (std::ostream &, const std::vector< const DDsvalues_type * > &) |
typedef DDsvalues_type::value_type DDsvalues_Content_type |
Definition at line 20 of file DDsvalues.h.
typedef std::vector< std::pair<unsigned int, DDValue> > DDsvalues_type |
std::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::mapped DDValue.
Definition at line 19 of file DDsvalues.h.
bool DDfetch | ( | const DDsvalues_type * | p, |
DDValue & | v | ||
) |
helper for retrieving DDValues from DDsvalues_type *.
Example:
Definition at line 80 of file DDsvalues.cc.
References spr::find(), and mps_fire::result.
Referenced by DDMapper< KeyType, ValueType >::all(), GEMGeometryBuilderFromDDD::buildGeometry(), GEMGeometryParsFromDD::buildGeometry(), RPCGeometryBuilderFromDDD::buildGeometry(), RPCGeometryParsFromDD::buildGeometry(), DTGeometryBuilderFromDDD::buildGeometry(), DTGeometryParsFromDD::buildGeometry(), dddGetStringRaw(), DDfetch(), HFShowerFibreBundle::getDDDArray(), HFShowerPMT::getDDDArray(), MaterialBudgetHcalHistos::getDDDArray(), HFFibre::getDDDArray(), FastTimeDDDConstants::getDDDArray(), HGCalGeomParameters::getDDDArray(), ECalSD::getDDDArray(), HFShower::getDDDArray(), HFShowerParam::getDDDArray(), HCalSD::getDDDArray(), HFShowerLibrary::getDDDArray(), DDG4Builder::getDouble(), MuonDDDNumbering::getInt(), DDG4Builder::getInt(), CaloTrkProcessing::getNames(), CaloTrkProcessing::getNumbers(), ExtractStringFromDDD::getString(), DDG4SensitiveConverter::getString(), ECalSD::getStringArray(), CocoaAnalyzer::myFetchDbl(), CocoaAnalyzer::myFetchString(), DDMapper< KeyType, ValueType >::noSpecifics(), DDMapper< KeyType, ValueType >::toDouble(), and DDMapper< KeyType, ValueType >::toString().
unsigned int DDfetch | ( | const std::vector< const DDsvalues_type * > & | sp, |
DDValue & | toFetch, | ||
std::vector< DDValue > & | result | ||
) |
helper for retrieving DDValues from a std::vector of (DDsvalues_type *).
Definition at line 92 of file DDsvalues.cc.
References KineDebug3::count(), and DDfetch().
|
inline |
Definition at line 30 of file DDsvalues.h.
References end, and findQualityFiles::v.
|
inline |
Definition at line 38 of file DDsvalues.h.
References spr::find().
void merge | ( | DDsvalues_type & | target, |
DDsvalues_type const & | sv, | ||
bool | sortit = true |
||
) |
Definition at line 5 of file DDsvalues.cc.
References spr::find().
|
inline |
Definition at line 26 of file DDsvalues.h.
std::ostream& operator<< | ( | std::ostream & | , |
const DDsvalues_type & | |||
) |
Definition at line 40 of file DDsvalues.cc.
std::ostream& operator<< | ( | std::ostream & | , |
const std::vector< const DDsvalues_type * > & | |||
) |