CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TrackingMaterialAnalyser.h
Go to the documentation of this file.
1 #ifndef TrackingMaterialAnalyser_h
2 #define TrackingMaterialAnalyser_h
3 #include <string>
4 #include <vector>
5 
11 
15 
17 public:
19  ~TrackingMaterialAnalyser() override;
20 
21 private:
23 
24  void analyze(const edm::Event &, const edm::EventSetup &) override;
25  void beginJob() override {}
26  void endJob() override;
27 
30 
31  void saveParameters(const char *name);
32  void saveXml(const char *name);
33  void saveLayerPlots();
34 
43  bool m_saveXml;
44  bool m_isHGCal;
45  bool m_isHFNose;
46  std::vector<MaterialAccountingGroup *> m_groups;
47  std::vector<std::string> m_groupNames;
49 };
50 
51 #endif // TrackingMaterialAnalyser_h
void split(MaterialAccountingTrack &track)
void saveParameters(const char *name)
int findLayer(const MaterialAccountingDetector &detector)
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< std::vector< MaterialAccountingTrack > > m_materialToken
std::vector< std::string > m_groupNames
TrackingMaterialPlotter * m_plotter
std::vector< MaterialAccountingGroup * > m_groups
TrackingMaterialAnalyser(const edm::ParameterSet &)
edm::ESGetToken< DDCompactView, IdealGeometryRecord > m_dddToken