#include <algorithm>
#include <map>
#include <ostream>
#include <utility>
#include <vector>
#include "DetectorDescription/Core/interface/DDValue.h"
Go to the source code of this file.
Typedefs | |
using | DDsvalues_Content_type = DDsvalues_type::value_type |
using | DDsvalues_type = std::vector< std::pair< unsigned int, DDValue > > |
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 *> &) |
using DDsvalues_Content_type = DDsvalues_type::value_type |
Definition at line 13 of file DDsvalues.h.
using DDsvalues_type = std::vector<std::pair<unsigned int, DDValue> > |
Definition at line 12 of file DDsvalues.h.
bool DDfetch | ( | const DDsvalues_type * | p, |
DDValue & | v | ||
) |
helper for retrieving DDValues from DDsvalues_type *.
Example:
Definition at line 79 of file DDsvalues.cc.
References spr::find(), AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, and findQualityFiles::v.
Referenced by DDMapper< G4LogicalVolume *, DDLogicalPart >::all(), ME0GeometryParsFromDD::buildEtaPartition(), GEMGeometryParsFromDD::buildEtaPartition(), ME0GeometryBuilder::buildEtaPartition(), GEMGeometryBuilder::buildEtaPartition(), RPCGeometryBuilder::buildGeometry(), RPCGeometryParsFromDD::buildGeometry(), DTGeometryBuilderFromDDD::buildGeometry(), DTGeometryParsFromDD::buildGeometry(), dddGetStringRaw(), DDfetch(), FastTimeParametersFromDD::getDDDArray(), EcalSimParametersFromDD::getDDDArray(), HcalSimParametersFromDD::getDDDArray(), HGCalParametersFromDD::getDDDArray(), MaterialBudgetHcalHistos::getDDDArray(), MaterialBudgetHcalProducer::getDDDArray(), HGCalGeomParameters::getDDDArray(), HGCalParametersFromDD::getDDDValue(), DDG4Builder::getDouble(), MuonGeometryNumbering::getInt(), DDG4Builder::getInt(), CaloSimParametersFromDD::getNames(), MuonOffsetFromDD::getNumber(), CaloSimParametersFromDD::getNumbers(), ExtractStringFromDD< FilteredView >::getString(), ExtractStringFromDDD< FilteredView >::getString(), DDG4SensitiveConverter::getString(), EcalSimParametersFromDD::getStringArray(), DDMapper< G4LogicalVolume *, DDLogicalPart >::noSpecifics(), DDMapper< G4LogicalVolume *, DDLogicalPart >::toDouble(), and DDMapper< G4LogicalVolume *, DDLogicalPart >::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 89 of file DDsvalues.cc.
References submitPVResolutionJobs::count, DDfetch(), and mps_fire::result.
|
inline |
Definition at line 19 of file DDsvalues.h.
References mps_fire::end, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and findQualityFiles::v.
Referenced by find().
|
inline |
Definition at line 30 of file DDsvalues.h.
References find(), triggerObjects_cff::id, and pfDeepBoostedJetPreprocessParams_cfi::sv.
void merge | ( | DDsvalues_type & | target, |
DDsvalues_type const & | sv, | ||
bool | sortit = true |
||
) |
Definition at line 5 of file DDsvalues.cc.
References spr::find(), pfDeepBoostedJetPreprocessParams_cfi::lower_bound, jetUpdater_cfi::sort, pfDeepBoostedJetPreprocessParams_cfi::sv, and filterCSVwithJSON::target.
|
inline |
Definition at line 15 of file DDsvalues.h.
References mathSSE::lh.
std::ostream& operator<< | ( | std::ostream & | , |
const DDsvalues_type & | |||
) |
std::ostream& operator<< | ( | std::ostream & | , |
const std::vector< const DDsvalues_type *> & | |||
) |