#include <DTLocalTriggerTask.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginJob () |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
To reset the MEs. More... | |
void | beginRun (const edm::Run &, const edm::EventSetup &) |
Beginrun. More... | |
void | bookBarrelHistos (std::string histoTag) |
Book the histograms. More... | |
void | bookHistos (const DTChamberId &dtCh, std::string folder, std::string histoTag) |
Book the histograms. More... | |
void | bookWheelHistos (int wh, std::string histoTag) |
Book the histograms. More... | |
void | endJob (void) |
EndJob. More... | |
void | runDCCAnalysis (std::vector< L1MuDTChambPhDigi > const *phTrigs, std::vector< L1MuDTChambThDigi > const *thTrigs) |
Run analysis on DCC data. More... | |
void | runDDUAnalysis (edm::Handle< DTLocalTriggerCollection > &trigsDDU) |
Run analysis on ROS data. More... | |
void | runDDUvsDCCAnalysis (std::string &trigsrc) |
Run analysis on ROS data. More... | |
void | runSegmentAnalysis (edm::Handle< DTRecSegment4DCollection > &segments4D) |
Run analysis using DT 4D segments. More... | |
void | setQLabels (MonitorElement *me, short int iaxis) |
Set Quality labels. More... | |
std::string & | topFolder (bool isDCC) |
Get the Top folder (different between Physics and TP and DCC/DDU) More... | |
void | triggerSource (const edm::Event &e) |
Get the L1A source. More... | |
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) |
Friends | |
class | DTMonitorModule |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 46 of file DTLocalTriggerTask.h.
DTLocalTriggerTask::DTLocalTriggerTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 35 of file DTLocalTriggerTask.cc.
References baseFolderDCC, baseFolderDDU, dbe, dcc_Token_, detailedAnalysis, doDCCTheta, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isLocalRun, LogTrace, ltcDigiCollectionToken_, cppFunctionSkipper::operator, parameters, ros_Token_, seg_Token_, and tpMode.
|
virtual |
Destructor.
Definition at line 72 of file DTLocalTriggerTask.cc.
References LogTrace, nevents, and trigGeomUtils.
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 256 of file DTLocalTriggerTask.cc.
References dcc_Token_, edm::Event::getByToken(), edm::ParameterSet::getUntrackedParameter(), edm::HandleBase::isValid(), nevents, parameters, ros_Token_, runDCCAnalysis(), runDDUAnalysis(), runDDUvsDCCAnalysis(), runSegmentAnalysis(), seg_Token_, tpMode, triggerSource(), trigsrc, useDCC, useDDU, and useSEG.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 80 of file DTLocalTriggerTask.cc.
References LogTrace, and nevents.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::EDAnalyzer.
Definition at line 228 of file DTLocalTriggerTask.cc.
References digiHistos, edm::ParameterSet::getUntrackedParameter(), timingPdfMaker::histo, edm::LuminosityBlockBase::id(), LogTrace, edm::LuminosityBlockID::luminosityBlock(), python.multivaluedict::map(), and parameters.
|
protectedvirtual |
Beginrun.
Reimplemented from edm::EDAnalyzer.
Definition at line 88 of file DTLocalTriggerTask.cc.
References bookBarrelHistos(), bookHistos(), bookWheelHistos(), detailedAnalysis, doDCCTheta, edm::EventSetup::get(), edm::ParameterSet::getUntrackedParameter(), LogTrace, muonGeom, parameters, tpMode, and trigGeomUtils.
|
protected |
Book the histograms.
Definition at line 309 of file DTLocalTriggerTask.cc.
References DQMStore::book1D(), dbe, dcc_IDDataErrorPlot, MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), and topFolder().
Referenced by beginRun().
|
protected |
Book the histograms.
Definition at line 322 of file DTLocalTriggerTask.cc.
References DQMStore::book1D(), DQMStore::book2D(), dbe, digiHistos, edm::ParameterSet::getUntrackedParameter(), LogTrace, max(), bookConverter::min, pileupCalc::nbins, parameters, DTTrigGeomUtils::phiRange(), DetId::rawId(), reco::return(), DTChamberId::sector(), DQMStore::setCurrentFolder(), setQLabels(), DTChamberId::station(), relativeConstraints::station, DTTrigGeomUtils::thetaRange(), topFolder(), trigGeomUtils, and DTChamberId::wheel().
Referenced by beginRun(), runDCCAnalysis(), runDDUAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
protected |
Book the histograms.
Definition at line 486 of file DTLocalTriggerTask.cc.
References DQMStore::bookProfile2D(), dbe, LogTrace, reco::return(), MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), topFolder(), and wheelHistos.
Referenced by beginRun().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 247 of file DTLocalTriggerTask.cc.
References dbe, edm::ParameterSet::getUntrackedParameter(), nevents, parameters, DQMStore::rmdir(), and topFolder().
|
protected |
Run analysis on DCC data.
Definition at line 510 of file DTLocalTriggerTask.cc.
References angle(), bookHistos(), dcc_IDDataErrorPlot, detailedAnalysis, digiHistos, doDCCTheta, MonitorElement::Fill(), i, iphbest, ithbest, j, gen::k, phcode_best, DetId::rawId(), thcode_best, tpMode, DTTrigGeomUtils::trigDir(), trigGeomUtils, DTTrigGeomUtils::trigPos(), trigsrc, and x.
Referenced by analyze().
|
protected |
Run analysis on ROS data.
Definition at line 659 of file DTLocalTriggerTask.cc.
References bookHistos(), dduphcode_best, dduthcode_best, digiHistos, i, iphbestddu, j, gen::k, DetId::rawId(), tpMode, and trigsrc.
Referenced by analyze().
|
protected |
Run analysis on ROS data.
Definition at line 968 of file DTLocalTriggerTask.cc.
References bookHistos(), DTLocalTrigger::bx(), L1MuDTChambPhDigi::bxNum(), dduphcode_best, digiHistos, spr::find(), iphbest, iphbestddu, phcode_best, DTLocalTrigger::secondTrack(), L1MuDTChambPhDigi::Ts2Tag(), and wheelHistos.
Referenced by analyze().
|
protected |
Run analysis using DT 4D segments.
Definition at line 746 of file DTLocalTriggerTask.cc.
References bookHistos(), DTRecSegment4D::chamberId(), DTTrigGeomUtils::computeSCCoordinates(), dduphcode_best, dduthcode_best, DTRecSegment2D::degreesOfFreedom(), digiHistos, DTChamberId, iphbest, phcode_best, DTRecSegment4D::phiSegment(), DetId::rawId(), relativeConstraints::station, thcode_best, track_ok, DTTrigGeomUtils::trigDir(), trigGeomUtils, DTTrigGeomUtils::trigPos(), trigsrc, DTTrigGeomUtils::trigToSeg(), useDCC, useDDU, and DTChamberId::wheel().
Referenced by analyze().
|
protected |
Set Quality labels.
Definition at line 997 of file DTLocalTriggerTask.cc.
References MonitorElement::getTH1(), timingPdfMaker::histo, i, and tablePrinter::labels.
Referenced by bookHistos().
|
inlineprotected |
Get the Top folder (different between Physics and TP and DCC/DDU)
Definition at line 103 of file DTLocalTriggerTask.h.
References baseFolderDCC, and baseFolderDDU.
Referenced by bookBarrelHistos(), bookHistos(), bookWheelHistos(), and endJob().
|
protected |
Get the L1A source.
Definition at line 1019 of file DTLocalTriggerTask.cc.
References edm::Event::getByToken(), i, isLocalRun, ltcDigiCollectionToken_, and trigsrc.
Referenced by analyze().
|
friend |
Definition at line 48 of file DTLocalTriggerTask.h.
|
private |
Definition at line 116 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 117 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 132 of file DTLocalTriggerTask.h.
Referenced by bookBarrelHistos(), bookHistos(), bookWheelHistos(), DTLocalTriggerTask(), and endJob().
|
private |
Definition at line 139 of file DTLocalTriggerTask.h.
Referenced by bookBarrelHistos(), and runDCCAnalysis().
|
private |
Definition at line 107 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 123 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 125 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 119 of file DTLocalTriggerTask.h.
Referenced by beginRun(), DTLocalTriggerTask(), and runDCCAnalysis().
|
private |
Definition at line 136 of file DTLocalTriggerTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), runDCCAnalysis(), runDDUAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 118 of file DTLocalTriggerTask.h.
Referenced by beginRun(), DTLocalTriggerTask(), and runDCCAnalysis().
|
private |
Definition at line 127 of file DTLocalTriggerTask.h.
Referenced by runDCCAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 128 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), and runDDUvsDCCAnalysis().
|
private |
Definition at line 141 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 129 of file DTLocalTriggerTask.h.
Referenced by runDCCAnalysis().
|
private |
Definition at line 110 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 126 of file DTLocalTriggerTask.h.
|
private |
Definition at line 134 of file DTLocalTriggerTask.h.
Referenced by beginRun().
|
private |
Definition at line 114 of file DTLocalTriggerTask.h.
Referenced by analyze(), beginJob(), endJob(), and ~DTLocalTriggerTask().
|
private |
Definition at line 133 of file DTLocalTriggerTask.h.
Referenced by analyze(), beginLuminosityBlock(), beginRun(), bookHistos(), DTLocalTriggerTask(), endJob(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 122 of file DTLocalTriggerTask.h.
Referenced by runDCCAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 108 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 109 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 124 of file DTLocalTriggerTask.h.
Referenced by runDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 115 of file DTLocalTriggerTask.h.
Referenced by analyze(), beginRun(), DTLocalTriggerTask(), runDCCAnalysis(), and runDDUAnalysis().
|
private |
Definition at line 130 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis().
|
private |
Definition at line 135 of file DTLocalTriggerTask.h.
Referenced by beginRun(), bookHistos(), runDCCAnalysis(), runSegmentAnalysis(), and ~DTLocalTriggerTask().
|
private |
Definition at line 113 of file DTLocalTriggerTask.h.
Referenced by analyze(), runDCCAnalysis(), runDDUAnalysis(), runSegmentAnalysis(), and triggerSource().
|
private |
Definition at line 112 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
private |
Definition at line 112 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
private |
Definition at line 112 of file DTLocalTriggerTask.h.
Referenced by analyze().
|
private |
Definition at line 137 of file DTLocalTriggerTask.h.
Referenced by bookWheelHistos(), and runDDUvsDCCAnalysis().