#include <DD4hep_TrackingMaterialAnalyser.h>
Private Types | |
enum | SplitMode { NEAREST_LAYER, INNER_LAYER, OUTER_LAYER, UNDEFINED } |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
int | findLayer (const MaterialAccountingDetector &detector) |
void | saveLayerPlots () |
void | saveParameters (const char *name) |
void | saveXml (const char *name) |
void | split (MaterialAccountingTrack &track) |
Private Attributes | |
std::vector< std::string > | m_groupNames |
std::vector< DD4hep_MaterialAccountingGroup * > | m_groups |
bool | m_isHFNose |
bool | m_isHGCal |
edm::EDGetTokenT< std::vector< MaterialAccountingTrack > > | m_materialToken |
DD4hep_TrackingMaterialPlotter * | m_plotter |
bool | m_saveDetailedPlots |
bool | m_saveParameters |
bool | m_saveSummaryPlot |
bool | m_saveXml |
bool | m_skipAfterLastDetector |
bool | m_skipBeforeFirstDetector |
SplitMode | m_splitMode |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 16 of file DD4hep_TrackingMaterialAnalyser.h.
|
private |
Enumerator | |
---|---|
NEAREST_LAYER | |
INNER_LAYER | |
OUTER_LAYER | |
UNDEFINED |
Definition at line 22 of file DD4hep_TrackingMaterialAnalyser.h.
|
explicit |
Definition at line 27 of file DD4hep_TrackingMaterialAnalyser.cc.
References Exception, edm::ParameterSet::getParameter(), INNER_LAYER, edm::errors::LogicError, m_groupNames, m_isHFNose, m_isHGCal, m_materialToken, m_plotter, m_saveDetailedPlots, m_saveParameters, m_saveSummaryPlot, m_saveXml, m_skipAfterLastDetector, m_skipBeforeFirstDetector, m_splitMode, NEAREST_LAYER, OUTER_LAYER, AlCaHLTBitMon_QueryRunRegistry::string, and UNDEFINED.
|
override |
Definition at line 66 of file DD4hep_TrackingMaterialAnalyser.cc.
References m_plotter.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 143 of file DD4hep_TrackingMaterialAnalyser.cc.
References end, get, mps_fire::i, m_groupNames, m_groups, m_materialToken, singleTopDQM_cfi::setup, split(), OrderedSet::t, and HLT_2018_cff::track.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 25 of file DD4hep_TrackingMaterialAnalyser.h.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 124 of file DD4hep_TrackingMaterialAnalyser.cc.
References DD4hep_TrackingMaterialPlotter::draw(), m_plotter, m_saveDetailedPlots, m_saveParameters, m_saveSummaryPlot, m_saveXml, DD4hep_TrackingMaterialPlotter::normalize(), saveLayerPlots(), saveParameters(), and saveXml().
|
private |
Definition at line 337 of file DD4hep_TrackingMaterialAnalyser.cc.
References beam_dqm_sourceclient-live_cfg::cerr, hgcalTestNeighbor_cfi::detector, alignBH_cfg::fixed, mps_fire::i, and m_groups.
Referenced by split().
|
private |
Definition at line 116 of file DD4hep_TrackingMaterialAnalyser.cc.
References mps_fire::i, m_groups, and DD4hep_MaterialAccountingGroup::savePlots().
Referenced by endJob().
|
private |
Definition at line 72 of file DD4hep_TrackingMaterialAnalyser.cc.
References DD4hep_MaterialAccountingGroup::averageEnergyLoss(), DD4hep_MaterialAccountingGroup::averageLength(), DD4hep_MaterialAccountingGroup::averageRadiationLengths(), gather_cfg::cout, dqm-mbProfile::format, mps_fire::i, m_groups, Skims_PA_cff::name, DD4hep_MaterialAccountingGroup::name(), DD4hep_MaterialAccountingGroup::sigmaEnergyLoss(), DD4hep_MaterialAccountingGroup::sigmaLength(), DD4hep_MaterialAccountingGroup::sigmaRadiationLengths(), and DD4hep_MaterialAccountingGroup::tracks().
Referenced by endJob().
|
private |
Definition at line 100 of file DD4hep_TrackingMaterialAnalyser.cc.
References DD4hep_MaterialAccountingGroup::averageEnergyLoss(), DD4hep_MaterialAccountingGroup::averageRadiationLengths(), mps_fire::i, m_groups, Skims_PA_cff::name, and DD4hep_MaterialAccountingGroup::name().
Referenced by endJob().
|
private |
Definition at line 179 of file DD4hep_TrackingMaterialAnalyser.cc.
References cms::cuda::assert(), begin, beam_dqm_sourceclient-live_cfg::cerr, MuonGeometrySanityCheck_cfi::detectors(), end, Exception, findLayer(), HLT_2018_cff::fraction, watchdog::group, mps_fire::i, INNER_LAYER, TH2PolyOfflineMaps::limits, edm::errors::LogicError, m_groups, m_plotter, m_skipAfterLastDetector, m_skipBeforeFirstDetector, m_splitMode, NEAREST_LAYER, or, OUTER_LAYER, contentValuesFiles::parts, DD4hep_TrackingMaterialPlotter::plotSegmentInLayer(), DD4hep_TrackingMaterialPlotter::plotSegmentUnassigned(), HLT_2018_cff::track, and UNDEFINED.
Referenced by analyze().
|
private |
Definition at line 46 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by analyze(), and DD4hep_TrackingMaterialAnalyser().
|
private |
Definition at line 45 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by analyze(), findLayer(), saveLayerPlots(), saveParameters(), saveXml(), and split().
|
private |
Definition at line 44 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by DD4hep_TrackingMaterialAnalyser().
|
private |
Definition at line 43 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by DD4hep_TrackingMaterialAnalyser().
|
private |
Definition at line 35 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by analyze(), and DD4hep_TrackingMaterialAnalyser().
|
private |
Definition at line 47 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by DD4hep_TrackingMaterialAnalyser(), endJob(), split(), and ~DD4hep_TrackingMaterialAnalyser().
|
private |
Definition at line 40 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by DD4hep_TrackingMaterialAnalyser(), and endJob().
|
private |
Definition at line 41 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by DD4hep_TrackingMaterialAnalyser(), and endJob().
|
private |
Definition at line 39 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by DD4hep_TrackingMaterialAnalyser(), and endJob().
|
private |
Definition at line 42 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by DD4hep_TrackingMaterialAnalyser(), and endJob().
|
private |
Definition at line 37 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by DD4hep_TrackingMaterialAnalyser(), and split().
|
private |
Definition at line 38 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by DD4hep_TrackingMaterialAnalyser(), and split().
|
private |
Definition at line 36 of file DD4hep_TrackingMaterialAnalyser.h.
Referenced by DD4hep_TrackingMaterialAnalyser(), and split().