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 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 
42  bool m_saveXml;
43  bool m_isHGCal;
44  bool m_isHFNose;
45  std::vector<MaterialAccountingGroup *> m_groups;
46  std::vector<std::string> m_groupNames;
48 };
49 
50 #endif // TrackingMaterialAnalyser_h
TrackingMaterialAnalyser::m_groupNames
std::vector< std::string > m_groupNames
Definition: TrackingMaterialAnalyser.h:46
EDAnalyzer.h
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11713
TrackingMaterialAnalyser::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: TrackingMaterialAnalyser.cc:153
edm::EDGetTokenT
Definition: EDGetToken.h:33
MaterialAccountingGroup.h
TrackingMaterialAnalyser::saveLayerPlots
void saveLayerPlots()
Definition: TrackingMaterialAnalyser.cc:126
TrackingMaterialAnalyser::findLayer
int findLayer(const MaterialAccountingDetector &detector)
Definition: TrackingMaterialAnalyser.cc:347
TrackingMaterialAnalyser::saveXml
void saveXml(const char *name)
Definition: TrackingMaterialAnalyser.cc:110
TrackingMaterialAnalyser::OUTER_LAYER
Definition: TrackingMaterialAnalyser.h:22
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
TrackingMaterialAnalyser::beginJob
void beginJob() override
Definition: TrackingMaterialAnalyser.h:25
MaterialAccountingDetector
Definition: MaterialAccountingDetector.h:15
MaterialAccountingTrack.h
TrackingMaterialAnalyser::SplitMode
SplitMode
Definition: TrackingMaterialAnalyser.h:22
TrackingMaterialPlotter.h
TrackingMaterialAnalyser::TrackingMaterialAnalyser
TrackingMaterialAnalyser(const edm::ParameterSet &)
Definition: TrackingMaterialAnalyser.cc:30
TrackingMaterialAnalyser::NEAREST_LAYER
Definition: TrackingMaterialAnalyser.h:22
TrackingMaterialAnalyser::UNDEFINED
Definition: TrackingMaterialAnalyser.h:22
TrackingMaterialAnalyser::m_saveDetailedPlots
bool m_saveDetailedPlots
Definition: TrackingMaterialAnalyser.h:40
TrackingMaterialAnalyser::m_plotter
TrackingMaterialPlotter * m_plotter
Definition: TrackingMaterialAnalyser.h:47
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
TrackingMaterialPlotter
Definition: TrackingMaterialPlotter.h:16
TrackingMaterialAnalyser::m_skipBeforeFirstDetector
bool m_skipBeforeFirstDetector
Definition: TrackingMaterialAnalyser.h:38
MaterialAccountingTrack
Definition: MaterialAccountingTrack.h:10
TrackingMaterialAnalyser::m_saveXml
bool m_saveXml
Definition: TrackingMaterialAnalyser.h:42
TrackingMaterialAnalyser
Definition: TrackingMaterialAnalyser.h:16
edm::EventSetup
Definition: EventSetup.h:57
InputTag.h
TrackingMaterialAnalyser::m_isHGCal
bool m_isHGCal
Definition: TrackingMaterialAnalyser.h:43
TrackingMaterialAnalyser::m_splitMode
SplitMode m_splitMode
Definition: TrackingMaterialAnalyser.h:36
TrackingMaterialAnalyser::INNER_LAYER
Definition: TrackingMaterialAnalyser.h:22
TrackingMaterialAnalyser::m_isHFNose
bool m_isHFNose
Definition: TrackingMaterialAnalyser.h:44
TrackingMaterialAnalyser::m_saveParameters
bool m_saveParameters
Definition: TrackingMaterialAnalyser.h:41
TrackingMaterialAnalyser::endJob
void endJob() override
Definition: TrackingMaterialAnalyser.cc:134
TrackingMaterialAnalyser::m_materialToken
edm::EDGetTokenT< std::vector< MaterialAccountingTrack > > m_materialToken
Definition: TrackingMaterialAnalyser.h:35
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
EventSetup.h
TrackingMaterialAnalyser::saveParameters
void saveParameters(const char *name)
Definition: TrackingMaterialAnalyser.cc:75
TrackingMaterialAnalyser::m_skipAfterLastDetector
bool m_skipAfterLastDetector
Definition: TrackingMaterialAnalyser.h:37
hgcalTestNeighbor_cfi.detector
detector
Definition: hgcalTestNeighbor_cfi.py:6
TrackingMaterialAnalyser::m_groups
std::vector< MaterialAccountingGroup * > m_groups
Definition: TrackingMaterialAnalyser.h:45
ParameterSet.h
edm::Event
Definition: Event.h:73
TrackingMaterialAnalyser::m_saveSummaryPlot
bool m_saveSummaryPlot
Definition: TrackingMaterialAnalyser.h:39
TrackingMaterialAnalyser::~TrackingMaterialAnalyser
~TrackingMaterialAnalyser() override
Definition: TrackingMaterialAnalyser.cc:69
TrackingMaterialAnalyser::split
void split(MaterialAccountingTrack &track)
Definition: TrackingMaterialAnalyser.cc:189