#include <DTChamberEfficiencyTask.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &setup) |
void | beginJob () |
BeginJob. More... | |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context) |
To reset the MEs. More... | |
void | beginRun (const edm::Run &run, const edm::EventSetup &setup) |
BeginRun. More... | |
DTChamberEfficiencyTask (const edm::ParameterSet &pset) | |
Constructor. More... | |
void | endJob () |
Endjob. More... | |
virtual | ~DTChamberEfficiencyTask () |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
void | bookHistos (DTChamberId chId) |
const DTRecSegment4D & | getBestSegment (const DTRecSegment4DCollection::range &segs) const |
const DTRecSegment4D * | getBestSegment (const DTRecSegment4D *s1, const DTRecSegment4D *s2) const |
LocalPoint | interpolate (const DTRecSegment4D &seg1, const DTRecSegment4D &seg3, const DTChamberId &MB2) const |
bool | isGoodSegment (const DTRecSegment4D &seg) const |
Private Attributes | |
bool | debug |
bool | detailedAnalysis |
edm::ESHandle< DTGeometry > | dtGeom |
std::map< DTChamberId, std::vector< MonitorElement * > > | histosPerCh |
bool | onlineMonitor |
edm::ParameterSet | parameters |
edm::Handle < DTRecSegment4DCollection > | segs |
DQMStore * | theDbe |
double | theMinChi2NormSegment |
double | theMinCloseDist |
unsigned int | theMinHitsSegment |
std::string | theRecHits4DLabel |
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 |
DQM Analysis of 4D DT segments, it produces plots about:
Class based on the code written by S. Lacaprara : RecoLocalMuon / DTSegment / test / DTEffAnalyzer.h
Definition at line 39 of file DTChamberEfficiencyTask.h.
DTChamberEfficiencyTask::DTChamberEfficiencyTask | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 36 of file DTChamberEfficiencyTask.cc.
References debug, edm::ParameterSet::getUntrackedParameter(), cppFunctionSkipper::operator, and Parameters::parameters.
|
virtual |
Destructor.
Definition at line 52 of file DTChamberEfficiencyTask.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 170 of file DTChamberEfficiencyTask.cc.
References DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), mergeVDriftHistosByStation::histos, DTRecSegment4D::localPosition(), mag(), DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, DTChamberId::wheel(), PV3DBase< T, PVType, FrameType >::x(), vdt::x, detailsBasic3DVector::y, and PV3DBase< T, PVType, FrameType >::y().
|
virtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 58 of file DTChamberEfficiencyTask.cc.
References Parameters::parameters.
|
virtual |
To reset the MEs.
Reimplemented from edm::EDAnalyzer.
Definition at line 78 of file DTChamberEfficiencyTask.cc.
References interpolateCardsSimple::histo, i, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), python.multivaluedict::map(), Parameters::parameters, and findQualityFiles::size.
|
virtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 96 of file DTChamberEfficiencyTask.cc.
References bookHistos(), and edm::EventSetup::get().
|
private |
Definition at line 121 of file DTChamberEfficiencyTask.cc.
References mergeVDriftHistosByStation::histos, DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, and DTChamberId::wheel().
|
virtual |
Endjob.
Reimplemented from edm::EDAnalyzer.
Definition at line 113 of file DTChamberEfficiencyTask.cc.
|
private |
Definition at line 319 of file DTChamberEfficiencyTask.cc.
References DTRecSegment4D::chi2().
|
private |
Definition at line 342 of file DTChamberEfficiencyTask.cc.
References DTRecSegment4D::chi2(), DTRecSegment4D::degreesOfFreedom(), DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), DTRecSegment4D::phiSegment(), DTRecSegment2D::recHits(), indexGen::s2, and DTRecSegment4D::zSegment().
|
private |
Definition at line 364 of file DTChamberEfficiencyTask.cc.
References DTRecSegment4D::chamberId(), dir, DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), DTRecSegment4D::localPosition(), toLocal(), csvLumiCalc::unit, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 395 of file DTChamberEfficiencyTask.cc.
References DTRecSegment4D::chamberId(), DTRecSegment4D::chi2(), DTRecSegment4D::degreesOfFreedom(), DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), DTRecSegment4D::phiSegment(), DTRecSegment2D::recHits(), DTChamberId::station(), and DTRecSegment4D::zSegment().
|
private |
Definition at line 80 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 84 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 97 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 91 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 82 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 89 of file DTChamberEfficiencyTask.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 98 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 77 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 94 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 95 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 93 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 87 of file DTChamberEfficiencyTask.h.