CMS 3D CMS Logo

DD4hep_TrackingMaterialAnalyser.h
Go to the documentation of this file.
1 #ifndef DD4hep_TrackingMaterialAnalyser_h
2 #define DD4hep_TrackingMaterialAnalyser_h
3 #include <string>
4 #include <vector>
5 
11 
15 
17 public:
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<DD4hep_MaterialAccountingGroup *> m_groups;
46  std::vector<std::string> m_groupNames;
48 };
49 
50 #endif // DD4hep_TrackingMaterialAnalyser_h
DD4hep_TrackingMaterialAnalyser::m_groupNames
std::vector< std::string > m_groupNames
Definition: DD4hep_TrackingMaterialAnalyser.h:46
DD4hep_TrackingMaterialPlotter
Definition: DD4hep_TrackingMaterialPlotter.h:16
EDAnalyzer.h
DD4hep_TrackingMaterialAnalyser::INNER_LAYER
Definition: DD4hep_TrackingMaterialAnalyser.h:22
edm::EDGetTokenT
Definition: EDGetToken.h:33
DD4hep_TrackingMaterialAnalyser::saveLayerPlots
void saveLayerPlots()
Definition: DD4hep_TrackingMaterialAnalyser.cc:116
DD4hep_TrackingMaterialAnalyser::m_saveParameters
bool m_saveParameters
Definition: DD4hep_TrackingMaterialAnalyser.h:41
DD4hep_TrackingMaterialAnalyser::m_splitMode
SplitMode m_splitMode
Definition: DD4hep_TrackingMaterialAnalyser.h:36
DD4hep_TrackingMaterialAnalyser::m_saveXml
bool m_saveXml
Definition: DD4hep_TrackingMaterialAnalyser.h:42
DD4hep_TrackingMaterialAnalyser::SplitMode
SplitMode
Definition: DD4hep_TrackingMaterialAnalyser.h:22
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
DD4hep_TrackingMaterialAnalyser::UNDEFINED
Definition: DD4hep_TrackingMaterialAnalyser.h:22
DD4hep_TrackingMaterialAnalyser::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: DD4hep_TrackingMaterialAnalyser.cc:143
DD4hep_TrackingMaterialAnalyser::m_isHGCal
bool m_isHGCal
Definition: DD4hep_TrackingMaterialAnalyser.h:43
DD4hep_MaterialAccountingGroup.h
DD4hep_TrackingMaterialPlotter.h
MaterialAccountingDetector
Definition: MaterialAccountingDetector.h:15
DD4hep_TrackingMaterialAnalyser::m_groups
std::vector< DD4hep_MaterialAccountingGroup * > m_groups
Definition: DD4hep_TrackingMaterialAnalyser.h:45
MaterialAccountingTrack.h
DD4hep_TrackingMaterialAnalyser::endJob
void endJob() override
Definition: DD4hep_TrackingMaterialAnalyser.cc:124
DD4hep_TrackingMaterialAnalyser::m_skipBeforeFirstDetector
bool m_skipBeforeFirstDetector
Definition: DD4hep_TrackingMaterialAnalyser.h:38
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
DD4hep_TrackingMaterialAnalyser::NEAREST_LAYER
Definition: DD4hep_TrackingMaterialAnalyser.h:22
DD4hep_TrackingMaterialAnalyser::m_saveSummaryPlot
bool m_saveSummaryPlot
Definition: DD4hep_TrackingMaterialAnalyser.h:39
MaterialAccountingTrack
Definition: MaterialAccountingTrack.h:11
DD4hep_TrackingMaterialAnalyser::m_plotter
DD4hep_TrackingMaterialPlotter * m_plotter
Definition: DD4hep_TrackingMaterialAnalyser.h:47
DD4hep_TrackingMaterialAnalyser::saveXml
void saveXml(const char *name)
Definition: DD4hep_TrackingMaterialAnalyser.cc:100
DD4hep_TrackingMaterialAnalyser::OUTER_LAYER
Definition: DD4hep_TrackingMaterialAnalyser.h:22
edm::EventSetup
Definition: EventSetup.h:57
DD4hep_TrackingMaterialAnalyser::m_saveDetailedPlots
bool m_saveDetailedPlots
Definition: DD4hep_TrackingMaterialAnalyser.h:40
InputTag.h
DD4hep_TrackingMaterialAnalyser::~DD4hep_TrackingMaterialAnalyser
~DD4hep_TrackingMaterialAnalyser() override
Definition: DD4hep_TrackingMaterialAnalyser.cc:66
DD4hep_TrackingMaterialAnalyser::m_skipAfterLastDetector
bool m_skipAfterLastDetector
Definition: DD4hep_TrackingMaterialAnalyser.h:37
DD4hep_TrackingMaterialAnalyser
Definition: DD4hep_TrackingMaterialAnalyser.h:16
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
EventSetup.h
DD4hep_TrackingMaterialAnalyser::m_materialToken
edm::EDGetTokenT< std::vector< MaterialAccountingTrack > > m_materialToken
Definition: DD4hep_TrackingMaterialAnalyser.h:35
hgcalTestNeighbor_cfi.detector
detector
Definition: hgcalTestNeighbor_cfi.py:6
DD4hep_TrackingMaterialAnalyser::m_isHFNose
bool m_isHFNose
Definition: DD4hep_TrackingMaterialAnalyser.h:44
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352
DD4hep_TrackingMaterialAnalyser::split
void split(MaterialAccountingTrack &track)
Definition: DD4hep_TrackingMaterialAnalyser.cc:179
DD4hep_TrackingMaterialAnalyser::saveParameters
void saveParameters(const char *name)
Definition: DD4hep_TrackingMaterialAnalyser.cc:72
ParameterSet.h
edm::Event
Definition: Event.h:73
DD4hep_TrackingMaterialAnalyser::beginJob
void beginJob() override
Definition: DD4hep_TrackingMaterialAnalyser.h:25
DD4hep_TrackingMaterialAnalyser::DD4hep_TrackingMaterialAnalyser
DD4hep_TrackingMaterialAnalyser(const edm::ParameterSet &)
Definition: DD4hep_TrackingMaterialAnalyser.cc:27
DD4hep_TrackingMaterialAnalyser::findLayer
int findLayer(const MaterialAccountingDetector &detector)
Definition: DD4hep_TrackingMaterialAnalyser.cc:337