CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 {
18 public:
20  virtual ~TrackingMaterialAnalyser();
21 
22 private:
23  enum SplitMode {
28  };
29 
30  void analyze(const edm::Event &, const edm::EventSetup &);
31  void beginJob() {}
32  void endJob();
33 
34  void split( MaterialAccountingTrack & track );
35  int findLayer( const MaterialAccountingDetector & detector );
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)
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 &)
void analyze(const edm::Event &, const edm::EventSetup &)