File indexing completed on 2024-04-06 12:15:15
0001 #ifndef MTDGeometryBuilder_MTDParametersFromDD_h
0002 #define MTDGeometryBuilder_MTDParametersFromDD_h
0003
0004 #include <vector>
0005 #include "CondFormats/GeometryObjects/interface/PMTDParameters.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007
0008 class DDCompactView;
0009 namespace cms {
0010 class DDCompactView;
0011 }
0012 class PMTDParameters;
0013
0014 class MTDParametersFromDD {
0015 public:
0016 MTDParametersFromDD() {}
0017 virtual ~MTDParametersFromDD() {}
0018
0019 bool build(const DDCompactView*, PMTDParameters&);
0020 bool build(const cms::DDCompactView*, PMTDParameters&);
0021
0022 private:
0023 void putOne(int, std::vector<int>&, PMTDParameters&);
0024 };
0025
0026 #endif