#include <DTLocalTriggerTask.h>
Public Member Functions | |
DTLocalTriggerTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~DTLocalTriggerTask () |
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 () |
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... | |
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) |
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] |
bool | isLocalRun |
const L1MuDTChambThDigi * | ithbest [6][5][13] |
edm::InputTag | ltcDigiCollectionTag |
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 | |
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 &) |
Definition at line 45 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::getParameter(), edm::ParameterSet::getUntrackedParameter(), isLocalRun, LogTrace, ltcDigiCollectionTag, cppFunctionSkipper::operator, parameters, and tpMode.
|
virtual |
Destructor.
Definition at line 70 of file DTLocalTriggerTask.cc.
References LogTrace, nevents, and trigGeomUtils.
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 254 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 78 of file DTLocalTriggerTask.cc.
References LogTrace, and nevents.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::EDAnalyzer.
Definition at line 226 of file DTLocalTriggerTask.cc.
References digiHistos, edm::ParameterSet::getUntrackedParameter(), timingPdfMaker::histo, edm::LuminosityBlockBase::id(), LogTrace, edm::LuminosityBlockID::luminosityBlock(), Association::map, and parameters.
|
protectedvirtual |
Beginrun.
Reimplemented from edm::EDAnalyzer.
Definition at line 86 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 312 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 325 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 489 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 245 of file DTLocalTriggerTask.cc.
References dbe, edm::ParameterSet::getUntrackedParameter(), nevents, parameters, DQMStore::rmdir(), and topFolder().
|
protected |
Run analysis on DCC data.
Definition at line 513 of file DTLocalTriggerTask.cc.
References angle(), bookHistos(), dcc_IDDataErrorPlot, detailedAnalysis, digiHistos, doDCCTheta, MonitorElement::Fill(), i, 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 662 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 971 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 749 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 1000 of file DTLocalTriggerTask.cc.
References MonitorElement::getTH1(), timingPdfMaker::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 102 of file DTLocalTriggerTask.h.
References baseFolderDCC, and baseFolderDDU.
Referenced by bookBarrelHistos(), bookHistos(), bookWheelHistos(), and endJob().
|
protected |
Get the L1A source.
Definition at line 1022 of file DTLocalTriggerTask.cc.
References edm::Event::getByLabel(), i, isLocalRun, ltcDigiCollectionTag, and trigsrc.
Referenced by analyze().
|
friend |
Definition at line 47 of file DTLocalTriggerTask.h.
|
private |
Definition at line 110 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 111 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 126 of file DTLocalTriggerTask.h.
Referenced by bookBarrelHistos(), bookHistos(), bookWheelHistos(), DTLocalTriggerTask(), and endJob().
|
private |
Definition at line 133 of file DTLocalTriggerTask.h.
Referenced by bookBarrelHistos(), and runDCCAnalysis().
|
private |
Definition at line 117 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 119 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 113 of file DTLocalTriggerTask.h.
Referenced by beginRun(), DTLocalTriggerTask(), and runDCCAnalysis().
|
private |
Definition at line 130 of file DTLocalTriggerTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), runDCCAnalysis(), runDDUAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 112 of file DTLocalTriggerTask.h.
Referenced by beginRun(), DTLocalTriggerTask(), and runDCCAnalysis().
|
private |
Definition at line 121 of file DTLocalTriggerTask.h.
Referenced by runDCCAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 122 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), and runDDUvsDCCAnalysis().
|
private |
Definition at line 135 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 123 of file DTLocalTriggerTask.h.
Referenced by runDCCAnalysis().
|
private |
Definition at line 136 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 120 of file DTLocalTriggerTask.h.
|
private |
Definition at line 128 of file DTLocalTriggerTask.h.
Referenced by beginRun().
|
private |
Definition at line 108 of file DTLocalTriggerTask.h.
Referenced by analyze(), beginJob(), endJob(), and ~DTLocalTriggerTask().
|
private |
Definition at line 127 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 116 of file DTLocalTriggerTask.h.
Referenced by runDCCAnalysis(), runDDUvsDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 118 of file DTLocalTriggerTask.h.
Referenced by runDCCAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 109 of file DTLocalTriggerTask.h.
Referenced by analyze(), beginRun(), DTLocalTriggerTask(), runDCCAnalysis(), and runDDUAnalysis().
|
private |
Definition at line 124 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis().
|
private |
Definition at line 129 of file DTLocalTriggerTask.h.
Referenced by beginRun(), bookHistos(), runDCCAnalysis(), runSegmentAnalysis(), and ~DTLocalTriggerTask().
|
private |
Definition at line 107 of file DTLocalTriggerTask.h.
Referenced by analyze(), runDCCAnalysis(), runDDUAnalysis(), runSegmentAnalysis(), and triggerSource().
|
private |
Definition at line 106 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
private |
Definition at line 106 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
private |
Definition at line 106 of file DTLocalTriggerTask.h.
Referenced by analyze().
|
private |
Definition at line 131 of file DTLocalTriggerTask.h.
Referenced by bookWheelHistos(), and runDDUvsDCCAnalysis().