#include <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< MaterialAccountingGroup * > | m_groups |
edm::EDGetTokenT< std::vector< MaterialAccountingTrack > > | m_materialToken |
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 | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, 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 ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 16 of file TrackingMaterialAnalyser.h.
|
private |
Enumerator | |
---|---|
NEAREST_LAYER | |
INNER_LAYER | |
OUTER_LAYER | |
UNDEFINED |
Definition at line 23 of file TrackingMaterialAnalyser.h.
|
explicit |
Definition at line 29 of file TrackingMaterialAnalyser.cc.
References Exception, edm::ParameterSet::getParameter(), INNER_LAYER, edm::errors::LogicError, m_groupNames, 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 58 of file TrackingMaterialAnalyser.cc.
References m_plotter.
|
overrideprivate |
Definition at line 136 of file TrackingMaterialAnalyser.cc.
References end, edm::EventSetup::get(), mps_fire::i, m_groupNames, m_groups, m_materialToken, split(), lumiQTWidget::t, and HiIsolationCommonParameters_cff::track.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 31 of file TrackingMaterialAnalyser.h.
References gamEcalExtractorBlocks_cff::detector, endJob(), findLayer(), dataset::name, saveLayerPlots(), saveParameters(), saveXml(), split(), and HiIsolationCommonParameters_cff::track.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 116 of file TrackingMaterialAnalyser.cc.
References m_plotter, m_saveDetailedPlots, m_saveParameters, m_saveSummaryPlot, m_saveXml, saveLayerPlots(), saveParameters(), and saveXml().
Referenced by beginJob().
|
private |
Definition at line 335 of file TrackingMaterialAnalyser.cc.
References MessageLogger_cfi::cerr, DEFINE_FWK_MODULE, alignBH_cfg::fixed, mps_fire::i, m_groups, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), MaterialAccountingDetector::position(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by beginJob(), and split().
|
private |
Definition at line 107 of file TrackingMaterialAnalyser.cc.
References mps_fire::i, m_groups, and MaterialAccountingGroup::savePlots().
Referenced by beginJob(), and endJob().
|
private |
Definition at line 65 of file TrackingMaterialAnalyser.cc.
References MaterialAccountingGroup::averageEnergyLoss(), MaterialAccountingGroup::averageLength(), MaterialAccountingGroup::averageRadiationLengths(), gather_cfg::cout, cmsPerfStripChart::format, mps_fire::i, m_groups, MaterialAccountingGroup::name(), MaterialAccountingGroup::sigmaEnergyLoss(), MaterialAccountingGroup::sigmaLength(), MaterialAccountingGroup::sigmaRadiationLengths(), and MaterialAccountingGroup::tracks().
Referenced by beginJob(), and endJob().
|
private |
Definition at line 90 of file TrackingMaterialAnalyser.cc.
References MaterialAccountingGroup::averageEnergyLoss(), MaterialAccountingGroup::averageRadiationLengths(), mps_fire::i, m_groups, and MaterialAccountingGroup::name().
Referenced by beginJob(), and endJob().
|
private |
Definition at line 174 of file TrackingMaterialAnalyser.cc.
References begin, MessageLogger_cfi::cerr, MuonGeometrySanityCheck_cfi::detectors(), MaterialAccountingTrack::detectors(), end, Exception, findLayer(), dedxEstimators_cff::fraction, edmIntegrityCheck::group, mps_fire::i, INNER_LAYER, MaterialAccountingStep::length(), edm::errors::LogicError, m_groups, m_plotter, m_skipAfterLastDetector, m_skipBeforeFirstDetector, m_splitMode, NEAREST_LAYER, or, OUTER_LAYER, CfgNavigationSchool_cfi::parts, TrackingMaterialPlotter::plotSegmentInLayer(), TrackingMaterialPlotter::plotSegmentUnassigned(), MaterialAccountingStep::split(), MaterialAccountingTrack::steps(), MaterialAccountingTrack::summary(), and UNDEFINED.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 50 of file TrackingMaterialAnalyser.h.
Referenced by analyze(), and TrackingMaterialAnalyser().
|
private |
Definition at line 49 of file TrackingMaterialAnalyser.h.
Referenced by analyze(), findLayer(), saveLayerPlots(), saveParameters(), saveXml(), and split().
|
private |
Definition at line 41 of file TrackingMaterialAnalyser.h.
Referenced by analyze(), and TrackingMaterialAnalyser().
|
private |
Definition at line 51 of file TrackingMaterialAnalyser.h.
Referenced by endJob(), split(), TrackingMaterialAnalyser(), and ~TrackingMaterialAnalyser().
|
private |
Definition at line 46 of file TrackingMaterialAnalyser.h.
Referenced by endJob(), and TrackingMaterialAnalyser().
|
private |
Definition at line 47 of file TrackingMaterialAnalyser.h.
Referenced by endJob(), and TrackingMaterialAnalyser().
|
private |
Definition at line 45 of file TrackingMaterialAnalyser.h.
Referenced by endJob(), and TrackingMaterialAnalyser().
|
private |
Definition at line 48 of file TrackingMaterialAnalyser.h.
Referenced by endJob(), and TrackingMaterialAnalyser().
|
private |
Definition at line 43 of file TrackingMaterialAnalyser.h.
Referenced by split(), and TrackingMaterialAnalyser().
|
private |
Definition at line 44 of file TrackingMaterialAnalyser.h.
Referenced by split(), and TrackingMaterialAnalyser().
|
private |
Definition at line 42 of file TrackingMaterialAnalyser.h.
Referenced by split(), and TrackingMaterialAnalyser().