#include <TrackingMaterialAnalyser.h>
Public Member Functions | |
TrackingMaterialAnalyser (const edm::ParameterSet &) | |
virtual | ~TrackingMaterialAnalyser () |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Types | |
enum | SplitMode { NEAREST_LAYER, INNER_LAYER, OUTER_LAYER, UNDEFINED } |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | beginJob () |
void | endJob () |
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::InputTag | m_material |
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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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.
TrackingMaterialAnalyser::TrackingMaterialAnalyser | ( | const edm::ParameterSet & | iPSet | ) |
Definition at line 30 of file TrackingMaterialAnalyser.cc.
References edm::hlt::Exception, edm::ParameterSet::getParameter(), INNER_LAYER, edm::errors::LogicError, m_groupNames, m_material, m_plotter, m_saveDetailedPlots, m_saveParameters, m_saveSummaryPlot, m_saveXml, m_skipAfterLastDetector, m_skipBeforeFirstDetector, m_splitMode, NEAREST_LAYER, NULL, OUTER_LAYER, and UNDEFINED.
|
virtual |
Definition at line 58 of file TrackingMaterialAnalyser.cc.
References m_plotter.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 136 of file TrackingMaterialAnalyser.cc.
References gather_cfg::cout, end, edm::EventSetup::get(), i, info, m_groupNames, m_groups, m_material, split(), and lumiQTWidget::t.
|
inlineprivatevirtual |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 116 of file TrackingMaterialAnalyser.cc.
References m_plotter, m_saveDetailedPlots, m_saveParameters, m_saveSummaryPlot, m_saveXml, saveLayerPlots(), saveParameters(), and saveXml().
|
private |
Definition at line 343 of file TrackingMaterialAnalyser.cc.
References dtNoiseDBValidation_cfg::cerr, i, getHLTprescales::index, m_groups, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), MaterialAccountingDetector::position(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by split().
|
private |
Definition at line 107 of file TrackingMaterialAnalyser.cc.
References i, m_groups, and MaterialAccountingGroup::savePlots().
Referenced by endJob().
|
private |
Definition at line 65 of file TrackingMaterialAnalyser.cc.
References MaterialAccountingGroup::averageEnergyLoss(), MaterialAccountingGroup::averageLength(), MaterialAccountingGroup::averageRadiationLengths(), gather_cfg::cout, cmsPerfStripChart::format, i, m_groups, MaterialAccountingGroup::name(), Parameters::parameters, MaterialAccountingGroup::sigmaEnergyLoss(), MaterialAccountingGroup::sigmaLength(), MaterialAccountingGroup::sigmaRadiationLengths(), and MaterialAccountingGroup::tracks().
Referenced by endJob().
|
private |
Definition at line 90 of file TrackingMaterialAnalyser.cc.
References MaterialAccountingGroup::averageEnergyLoss(), MaterialAccountingGroup::averageRadiationLengths(), i, m_groups, and MaterialAccountingGroup::name().
Referenced by endJob().
|
private |
Definition at line 167 of file TrackingMaterialAnalyser.cc.
References begin, dtNoiseDBValidation_cfg::cerr, MuonGeometrySanityCheck_cfi::detectors(), end, findLayer(), i, getHLTprescales::index, INNER_LAYER, MaterialAccountingStep::length(), edm::errors::LogicError, MaterialAccountingTrack::m_detectors, m_groups, m_plotter, m_skipAfterLastDetector, m_skipBeforeFirstDetector, m_splitMode, MaterialAccountingTrack::m_steps, MaterialAccountingTrack::m_total, NEAREST_LAYER, or, OUTER_LAYER, CfgNavigationSchool_cfi::parts, TrackingMaterialPlotter::plotSegmentInLayer(), TrackingMaterialPlotter::plotSegmentUnassigned(), MaterialAccountingStep::split(), launcher::step, and UNDEFINED.
Referenced by analyze().
|
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().