1 #ifndef CORE_DDVECTOR_GETTER_H
2 # define CORE_DDVECTOR_GETTER_H
8 namespace DDVectorGetter
16 DDVector::iterator<DDVector> vit;
19 for(; vit != ved; ++vit )
21 if( vit->isDefined().second )
23 DDName vname( vit->name());
24 if( vname.name() == str )
32 inline std::vector<double>
35 DDVector::iterator<DDVector> vit;
38 throw cms::Exception(
"DDException" ) <<
"DDVectorGetter: vectors are empty, cannot get array " << str;
40 for (; vit != ved; ++vit )
42 if( vit->isDefined().second )
44 DDName vname( vit->name());
45 if( vname.name() == str )
47 const std::vector<double> & fvec = vit->values();
53 throw cms::Exception(
"DDException" ) <<
"DDVectorGetter: cannot get array " << str;
57 #endif // CORE_DDVECTOR_GETTER_H
DDName is used to identify DDD entities uniquely.
bool check(const std::string &)
static DDI::Store< DDName, std::vector< double > * >::iterator end()