#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 () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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) |
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(), x, PV3DBase< T, PVType, FrameType >::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 timingPdfMaker::histo, i, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), Association::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.
Referenced by pkg.AbstractPkg::generate(), pkg.AbstractPkg::get_kwds(), and pkg.AbstractPkg::write().
|
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.