CMS 3D CMS Logo

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 {
18 public:
20  ~TrackingMaterialAnalyser() override;
21 
22 private:
23  enum SplitMode {
28  };
29 
30  void analyze(const edm::Event &, const edm::EventSetup &) override;
31  void beginJob() override {}
32  void endJob() override;
33 
36 
37  void saveParameters(const char* name);
38  void saveXml(const char* name);
39  void saveLayerPlots();
40 
48  bool m_saveXml;
49  std::vector<MaterialAccountingGroup *> m_groups;
50  std::vector<std::string> m_groupNames;
52 };
53 
54 #endif // TrackingMaterialAnalyser_h
void split(MaterialAccountingTrack &track)
void saveXml(const char *name)
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 &)