#include <L1TDTTF.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup 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 Member Functions | |
void | bookEta (int wh, int &nbins, float &start, float &stop) |
void | fillMEs (std::vector< L1MuDTTrackCand > const *trackContainer, std::vector< L1MuRegionalCand > &gmtDttfCands) |
void | setQualLabel (MonitorElement *me, int axis) |
void | setWheelLabel (MonitorElement *me) |
L1TDTTF::L1TDTTF | ( | const edm::ParameterSet & | ps | ) |
base services
DT input output tracks GMT GlobalMuon try
Verbose?
Use ROOT Output?
Definition at line 197 of file L1TDTTF.cc.
References dttpgSource_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), gmtSourceToken_, HLT_25ns14e33_v1_cff::InputTag, edm::InputTag::label(), muonCollectionToken_, outputFile_, edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trackInputTag_, trackInputToken_, and verbose_.
|
virtual |
|
protectedvirtual |
counters
tracks handle
dttf counters
selection for offline
global muon selection plot
in case of problems accept all
in case of problems accept all
take only bx=0
in Gmt but not in DTTF
in phys values double phi= dttfCand->phiValue(); int sector = 1 + (phi + 15)/30; /// in phys values
Per event summaries
Implements edm::stream::EDAnalyzerBase.
Definition at line 586 of file L1TDTTF.cc.
References accept(), dttf_gmt_ghost, dttf_nTracksPerEv, dttf_nTracksPerEvent_integ, dttf_nTracksPerEvent_wheel, dttf_spare, dttpgSource_, eta, MonitorElement::Fill(), fillMEs(), L1MuGMTReadoutCollection::getRecords(), gmtSource_, gmtSourceToken_, edm::HandleBase::isValid(), edm::InputTag::label(), muonCollectionLabel_, muonCollectionToken_, patZpeak::muons, nev_, nev_dttf_, nev_dttf_track2_, numTracks, online_, phi, edm::InputTag::process(), edm::Handle< T >::product(), alignCSCRings::s, trackInputToken_, verbose_, and w.
|
protectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 249 of file L1TDTTF.cc.
|
private |
|
overrideprotectedvirtual |
testing purposes
histo name
histo title
DTTF Output (6 wheels)
Per wheel summaries
number of tracks per event per wheel
phi vs etafine - for each wheel
phi vs etacoarse - for each wheel
Per wheel summaries : 2ND_TRACK_ONLY
DTTF Tracks Quality distribution
quality per wheel 2ND TRACK
phi vs eta - for each wheel 2ND TRACK
DTTF Tracks eta distribution (Packed values)
DTTF Tracks Phi distribution (Packed values)
DTTF Tracks p_{T} distribution (Packed values)
DTTF Tracks Charge distribution
Go in detailed subfolders
number of tracks per event folder
BX_SECTORS for each wheel
CHARGE folder
PT folder
PHI folder
QUALITY folder
ETA folder
ETA folder
integrated values: always packed
Only for online: occupancy summary - reset
Implements DQMEDAnalyzer.
Definition at line 254 of file L1TDTTF.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), bookEta(), DQMStore::IBooker::bookInt(), dttf_bx, dttf_bx_2ndTrack, dttf_eta, dttf_eta_fine_fraction, dttf_eta_wheel_2ndTrack, dttf_gmt_ghost, dttf_gmt_match, dttf_gmt_missed, dttf_nTracksPerEv, dttf_nTracksPerEvent_integ, dttf_nTracksPerEvent_wheel, dttf_phi, dttf_phi_eta_coarse_wheel, dttf_phi_eta_fine_wheel, dttf_phi_eta_wheel_2ndTrack, dttf_phi_wheel_2ndTrack, dttf_pt, dttf_pt_wheel_2ndTrack, dttf_q, dttf_q_wheel_2ndTrack, dttf_qual, dttf_quality_summary_wheel_2ndTrack, dttf_quality_wheel_2ndTrack, dttf_spare, MonitorElement::getTH2F(), l1tsubsystemfolder_, lumisecId_, pileupCalc::nbins, nev_, nev_dttf_, nev_dttf_track2_, online_, runId_, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), setQualLabel(), setWheelLabel(), dqm_diff::start, and AlCaHLTBitMon_QueryRunRegistry::string.
|
protectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 245 of file L1TDTTF.cc.
|
private |
Forget N0 with zero eta value for physical values
from 0 to 11
from 1 to 12
wh has possible values {-3,-2,-1,1,2,3}
make wh2 go from 0 to 5
useful conversions
calculate phi in physical coordinates: keep it int, set labels later
new attempt
Fill per sector bx WHEEL_s/dttf_bx_whs
Fill per sector 2nd bx
WHEEL_s/BX_SECTORS/TRACK_2_ONLY/dttf_bx_2ndTrack_whs_sed
COUNTERS global
Fill per sector phi: WHEEL_s/BX_d/dttf_phi_whs_sed
Fill per sector quality WHEEL_s/BX_d/dttf_qual_whs_sed
Fill per sector pt WHEEL_s/BX_d/dttf_pt_whs_sed
Fill per sector charge WHEEL_s/BX_d/dttf_q_whs_sed
Fill per sector eta WHEEL_s/BX_d/dttf_eta_whs_sed
WHEEL_s/dttf_phi_eta_whs
WHEEL_s/dttf_phi_eta_whs
Only for online: INCLUSIVE/dttf_occupancy_summary_r
second track summary
WHEEL_s/dttf_phi_integ
WHEEL_s/dttf_pt_integ
WHEEL_s/dttf_eta_integ
WHEEL_s/dttf_qual_integ
WHEEL_s/dttf_q_integ
WHEEL_s/dttf_quality_whs
WHEEL_s/dttf_phi_eta_whs
gmt phi_packed() goes from 0 to 143
calculate phi in physical coordinates: keep it int, set labels later
Definition at line 792 of file L1TDTTF.cc.
References dttf_bx, dttf_bx_2ndTrack, dttf_eta, dttf_eta_fine_fraction, dttf_eta_wheel_2ndTrack, dttf_gmt_match, dttf_gmt_missed, dttf_phi, dttf_phi_eta_coarse_wheel, dttf_phi_eta_fine_wheel, dttf_phi_eta_wheel_2ndTrack, dttf_phi_wheel_2ndTrack, dttf_pt, dttf_pt_wheel_2ndTrack, dttf_q, dttf_q_wheel_2ndTrack, dttf_qual, dttf_quality_summary_wheel_2ndTrack, dttf_quality_wheel_2ndTrack, dttf_spare, MonitorElement::Fill(), match(), numTracks, online_, and verbose_.
Referenced by analyze().
|
private |
Definition at line 991 of file L1TDTTF.cc.
References MonitorElement::setAxisTitle(), and MonitorElement::setBinLabel().
Referenced by bookHistograms().
|
private |
Definition at line 1006 of file L1TDTTF.cc.
References MonitorElement::setAxisTitle(), and MonitorElement::setBinLabel().
Referenced by bookHistograms().
|
private |
Definition at line 79 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 80 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 83 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 82 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 73 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 93 of file L1TDTTF.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 91 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 92 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 78 of file L1TDTTF.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 88 of file L1TDTTF.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 67 of file L1TDTTF.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 84 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 71 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 70 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 72 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 74 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 85 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 75 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 86 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 76 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 81 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 69 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 68 of file L1TDTTF.h.
Referenced by bookHistograms(), and fillMEs().
|
private |
Definition at line 89 of file L1TDTTF.h.
Referenced by analyze(), bookHistograms(), and fillMEs().
|
private |
|
private |
|
private |
|
private |
Definition at line 61 of file L1TDTTF.h.
Referenced by bookHistograms().
|
private |
Definition at line 95 of file L1TDTTF.h.
Referenced by bookHistograms().
|
private |
|
private |
|
private |
Definition at line 98 of file L1TDTTF.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 99 of file L1TDTTF.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 100 of file L1TDTTF.h.
Referenced by analyze(), and bookHistograms().
|
private |
|
private |
Definition at line 62 of file L1TDTTF.h.
Referenced by analyze(), bookHistograms(), and fillMEs().
|
private |
|
private |
Definition at line 94 of file L1TDTTF.h.
Referenced by bookHistograms().
|
private |
|
private |