24 std::vector<const DDsvalues_type *>
result;
26 for (std::vector<const DDsvalues_type *>::iterator it = result.begin(); it != result.end(); ++it) {
29 if (parameter.
strings().size() == 1) {
30 value = parameter.
strings().front();
33 throw cms::Exception(
"Configuration")<<
" ERROR: multiple " << name <<
" tags encountered";
45 return double(::atof(value.c_str()));
61 out << std::fixed << std::setprecision(3);
62 return out <<
"(" << v.rho() <<
", " << v.z() <<
", " << v.phi() <<
")";
100 for (
unsigned int h = 2;
h < history.size(); ++
h)
101 std::cout <<
'/' << history[
h].logicalPart().name().name() <<
'[' << history[
h].copyno() <<
']';
105 std::cout <<
"\t" << position << std::endl;
void addFilter(const DDFilter &, log_op op=AND)
#define DEFINE_FWK_MODULE(type)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void analyze(const edm::Event &, const edm::EventSetup &)
const DDGeoHistory & geoHistory() const
The list of ancestors up to the root-node of the current node.
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
bool next()
set current node to the next node in the filtered tree
static double dddGetDouble(const std::string &s, DDFilteredView const &view)
const std::vector< std::string > & strings() const
a reference to the std::string-valued values stored in the given instance of DDValue ...
std::vector< DDExpandedNode > DDGeoHistory
Geometrical 'path' of the current node up to the root-node.
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
XYZVectorD XYZVector
spatial vector with cartesian internal representation
static int position[264][3]
ListGroups(const edm::ParameterSet &)
void setCriteria(const DDValue &nameVal, comp_op, log_op l=AND, bool asString=true, bool merged=true)
void specificsV(std::vector< const DDsvalues_type * > &result) const
User specific data attached to the current node.
static bool dddGetStringRaw(const DDFilteredView &view, const std::string &name, std::string &value)
const DDTranslation & translation() const
The absolute translation of the current node.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
static std::string dddGetString(const std::string &s, DDFilteredView const &view)
The DDGenericFilter is a runtime-parametrized Filter looking on DDSpecifcs.