GeometryInfoDump

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#include <DetectorDescription/Core/interface/DDCompactView.h>
#include <iostream>
#include <string>
#include <utility>
#include <vector>

#include "DetectorDescription/Core/interface/DDsvalues.h"

class DDCompactView;
class DDPartSelection;

class GeometryInfoDump {
public:
  GeometryInfoDump();
  ~GeometryInfoDump();

  void dumpInfo(bool dumpHistory,
                bool dumpSpecs,
                bool dumpPosInfo,
                const DDCompactView& cpv,
                std::string fname = "GeoHistory",
                int nVols = 0);

private:
  void dumpSpec(const std::vector<std::pair<const DDPartSelection*, const DDsvalues_type*> >& attspec,
                std::ostream& dump);
};