![]() |
![]() |
#include <DTLocalTriggerTask.h>
Public Member Functions | |
DTLocalTriggerTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~DTLocalTriggerTask () |
Destructor. More... | |
![]() | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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 > *phTrigs, std::vector< L1MuDTChambThDigi > *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... | |
![]() | |
CurrentProcessingContext const * | currentContext () const |
Private Attributes | |
std::string | baseFolderDCC |
std::string | baseFolderDDU |
DQMStore * | dbe |
MonitorElement * | dcc_IDDataErrorPlot |
int | dduphcode_best [6][5][13] |
int | dduthcode_best [6][5][13] |
bool | detailedAnalysis |
std::map< uint32_t, std::map < std::string, MonitorElement * > > | digiHistos |
bool | doDCCTheta |
const L1MuDTChambPhDigi * | iphbest [6][5][13] |
const DTLocalTrigger * | iphbestddu [6][5][13] |
const L1MuDTChambThDigi * | ithbest [6][5][13] |
int | mapDTTF [6][13][2] |
edm::ESHandle< DTGeometry > | muonGeom |
int | nevents |
edm::ParameterSet | parameters |
int | phcode_best [6][5][13] |
int | thcode_best [6][5][13] |
bool | tpMode |
bool | track_ok [6][5][15] |
DTTrigGeomUtils * | trigGeomUtils |
std::string | trigsrc |
bool | useDCC |
bool | useDDU |
bool | useSEG |
std::map< int, std::map < std::string, MonitorElement * > > | wheelHistos |
Friends | |
class | DTMonitorModule |
Additional Inherited Members | |
![]() | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 44 of file DTLocalTriggerTask.h.
DTLocalTriggerTask::DTLocalTriggerTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 40 of file DTLocalTriggerTask.cc.
References baseFolderDCC, baseFolderDDU, dbe, detailedAnalysis, doDCCTheta, edm::ParameterSet::getUntrackedParameter(), LogTrace, cppFunctionSkipper::operator, parameters, and tpMode.
|
virtual |
Destructor.
Definition at line 64 of file DTLocalTriggerTask.cc.
References LogTrace, nevents, and trigGeomUtils.
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 248 of file DTLocalTriggerTask.cc.
References edm::Event::getByLabel(), edm::ParameterSet::getUntrackedParameter(), edm::HandleBase::isValid(), nevents, parameters, runDCCAnalysis(), runDDUAnalysis(), runDDUvsDCCAnalysis(), runSegmentAnalysis(), tpMode, triggerSource(), trigsrc, useDCC, useDDU, and useSEG.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 72 of file DTLocalTriggerTask.cc.
References LogTrace, and nevents.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::EDAnalyzer.
Definition at line 220 of file DTLocalTriggerTask.cc.
References digiHistos, edm::ParameterSet::getUntrackedParameter(), interpolateCardsSimple::histo, edm::LuminosityBlockBase::id(), LogTrace, edm::LuminosityBlockID::luminosityBlock(), Association::map, and parameters.
|
protectedvirtual |
Beginrun.
Reimplemented from edm::EDAnalyzer.
Definition at line 80 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 306 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 319 of file DTLocalTriggerTask.cc.
References DQMStore::book1D(), DQMStore::book2D(), dbe, digiHistos, edm::ParameterSet::getUntrackedParameter(), LogTrace, max(), min, pileupCalc::nbins, parameters, DTTrigGeomUtils::phiRange(), DetId::rawId(), hitfit::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 483 of file DTLocalTriggerTask.cc.
References DQMStore::bookProfile2D(), dbe, LogTrace, hitfit::return, MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), topFolder(), and wheelHistos.
Referenced by beginRun().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 239 of file DTLocalTriggerTask.cc.
References dbe, edm::ParameterSet::getUntrackedParameter(), nevents, parameters, DQMStore::rmdir(), and topFolder().
|
protected |
Run analysis on DCC data.
Definition at line 507 of file DTLocalTriggerTask.cc.
References angle(), bookHistos(), dcc_IDDataErrorPlot, detailedAnalysis, digiHistos, doDCCTheta, MonitorElement::Fill(), i, errorMatrix2Lands_multiChannel::id, iphbest, ithbest, j, gen::k, phcode_best, pos, 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 656 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 965 of file DTLocalTriggerTask.cc.
References bookHistos(), DTLocalTrigger::bx(), L1MuDTChambPhDigi::bxNum(), dduphcode_best, digiHistos, spr::find(), errorMatrix2Lands_multiChannel::id, iphbest, iphbestddu, phcode_best, DTLocalTrigger::secondTrack(), L1MuDTChambPhDigi::Ts2Tag(), and wheelHistos.
Referenced by analyze().
|
protected |
Run analysis using DT 4D segments.
Definition at line 743 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 994 of file DTLocalTriggerTask.cc.
References MonitorElement::getTH1(), interpolateCardsSimple::histo, i, and reco_calib_source_client_cfg::labels.
Referenced by bookHistos().
|
inlineprotected |
Get the Top folder (different between Physics and TP and DCC/DDU)
Definition at line 101 of file DTLocalTriggerTask.h.
References baseFolderDCC, and baseFolderDDU.
Referenced by bookBarrelHistos(), bookHistos(), bookWheelHistos(), and endJob().
|
protected |
Get the L1A source.
Definition at line 1016 of file DTLocalTriggerTask.cc.
References edm::Event::getByType(), edm::ParameterSet::getUntrackedParameter(), i, parameters, and trigsrc.
Referenced by analyze().
|
friend |
Definition at line 46 of file DTLocalTriggerTask.h.
|
private |
Definition at line 109 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 110 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 125 of file DTLocalTriggerTask.h.
Referenced by bookBarrelHistos(), bookHistos(), bookWheelHistos(), DTLocalTriggerTask(), and endJob().
|
private |
Definition at line 132 of file DTLocalTriggerTask.h.
Referenced by bookBarrelHistos(), and runDCCAnalysis().
|
private |
Definition at line 116 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 118 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 112 of file DTLocalTriggerTask.h.
Referenced by beginRun(), DTLocalTriggerTask(), and runDCCAnalysis().
|
private |
Definition at line 129 of file DTLocalTriggerTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), runDCCAnalysis(), runDDUAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 111 of file DTLocalTriggerTask.h.
Referenced by beginRun(), DTLocalTriggerTask(), and runDCCAnalysis().
|
private |
Definition at line 120 of file DTLocalTriggerTask.h.
Referenced by runDCCAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 121 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), and runDDUvsDCCAnalysis().
|
private |
Definition at line 122 of file DTLocalTriggerTask.h.
Referenced by runDCCAnalysis().
|
private |
Definition at line 119 of file DTLocalTriggerTask.h.
|
private |
Definition at line 127 of file DTLocalTriggerTask.h.
Referenced by beginRun().
|
private |
Definition at line 107 of file DTLocalTriggerTask.h.
Referenced by analyze(), beginJob(), endJob(), and ~DTLocalTriggerTask().
|
private |
Definition at line 126 of file DTLocalTriggerTask.h.
Referenced by analyze(), beginLuminosityBlock(), beginRun(), bookHistos(), DTLocalTriggerTask(), endJob(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties(), and triggerSource().
|
private |
Definition at line 115 of file DTLocalTriggerTask.h.
Referenced by runDCCAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 117 of file DTLocalTriggerTask.h.
Referenced by runDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 108 of file DTLocalTriggerTask.h.
Referenced by analyze(), beginRun(), DTLocalTriggerTask(), runDCCAnalysis(), and runDDUAnalysis().
|
private |
Definition at line 123 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis().
|
private |
Definition at line 128 of file DTLocalTriggerTask.h.
Referenced by beginRun(), bookHistos(), runDCCAnalysis(), runSegmentAnalysis(), and ~DTLocalTriggerTask().
|
private |
Definition at line 106 of file DTLocalTriggerTask.h.
Referenced by analyze(), runDCCAnalysis(), runDDUAnalysis(), runSegmentAnalysis(), and triggerSource().
|
private |
Definition at line 105 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
private |
Definition at line 105 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
private |
Definition at line 105 of file DTLocalTriggerTask.h.
Referenced by analyze().
|
private |
Definition at line 130 of file DTLocalTriggerTask.h.
Referenced by bookWheelHistos(), and runDDUvsDCCAnalysis().