CMS 3D CMS Logo

GeometryInfoDump.h
Go to the documentation of this file.
2 #include <iostream>
3 #include <string>
4 #include <utility>
5 #include <vector>
6 
8 
9 class DDCompactView;
10 class DDPartSelection;
11 
13 public:
16 
17  void dumpInfo(bool dumpHistory,
18  bool dumpSpecs,
19  bool dumpPosInfo,
20  const DDCompactView& cpv,
21  std::string fname = "GeoHistory",
22  int nVols = 0);
23 
24 private:
25  void dumpSpec(const std::vector<std::pair<const DDPartSelection*, const DDsvalues_type*> >& attspec,
26  std::ostream& dump);
27 };
void dumpInfo(bool dumpHistory, bool dumpSpecs, bool dumpPosInfo, const DDCompactView &cpv, std::string fname="GeoHistory", int nVols=0)
void dumpSpec(const std::vector< std::pair< const DDPartSelection *, const DDsvalues_type *> > &attspec, std::ostream &dump)
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
string fname
main script