CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
L1TMuonDQMOffline.cc File Reference
#include "DQMOffline/L1Trigger/interface/L1TMuonDQMOffline.h"
#include "DataFormats/MuonReco/interface/MuonSelectors.h"
#include <array>

Go to the source code of this file.

Functions

 m_BsInputTag (consumes< BeamSpot >(ps.getUntrackedParameter< InputTag >("bsInputTag")))
 
 m_cutsVPSet (ps.getUntrackedParameter< std::vector< edm::ParameterSet >>("cuts"))
 
 m_effLabelStrings ({{kEffPt,"p_{T} (GeV)"},{kEffPhi,"#phi"},{kEffEta,"#eta"},{kEffVtx,"# vertices"}})
 
 m_effStrings ({{kEffPt,"pt"},{kEffPhi,"phi"},{kEffEta,"eta"},{kEffVtx,"vtx"}})
 
 m_effVsEtaBins (ps.getUntrackedParameter< std::vector< double >>("efficiencyVsEtaBins"))
 
 m_effVsPhiBins (ps.getUntrackedParameter< std::vector< double >>("efficiencyVsPhiBins"))
 
 m_effVsPtBins (ps.getUntrackedParameter< std::vector< double >>("efficiencyVsPtBins"))
 
 m_effVsVtxBins (ps.getUntrackedParameter< std::vector< double >>("efficiencyVsVtxBins"))
 
 m_etaRegions ({kEtaRegionAll, kEtaRegionBmtf, kEtaRegionOmtf, kEtaRegionEmtf})
 
 m_etaStrings ({{kEtaRegionAll,"etaMin0_etaMax2p4"},{kEtaRegionBmtf,"etaMin0_etaMax0p83"},{kEtaRegionOmtf,"etaMin0p83_etaMax1p24"},{kEtaRegionEmtf,"etaMin1p24_etaMax2p4"}})
 
 m_GmtInputTag (consumes< l1t::MuonBxCollection >(ps.getUntrackedParameter< InputTag >("gmtInputTag")))
 
 m_HistFolder (ps.getUntrackedParameter< string >("histFolder"))
 
 m_maxGmtMuonDR (0.3)
 
 m_maxHltMuonDR (0.1)
 
 m_minTagProbeDR (0.5)
 
 m_MuonInputTag (consumes< reco::MuonCollection >(ps.getUntrackedParameter< InputTag >("muonInputTag")))
 
 m_qualLevelsRes ({kQualAll})
 
 m_qualStrings ({{kQualAll,"qualAll"},{kQualOpen,"qualOpen"},{kQualDouble,"qualDouble"},{kQualSingle,"qualSingle"}})
 
 m_recoToL1PtCutFactor (ps.getUntrackedParameter< double >("recoToL1PtCutFactor"))
 
 m_resLabelStrings ({{kResPt,"(p_{T}^{L1} - p_{T}^{reco})/p_{T}^{reco}"},{kRes1OverPt,"(p_{T}^{reco} - p_{T}^{L1})/p_{T}^{L1}"},{kResQOverPt,"(q^{L1}*q^{reco}*p_{T}^{reco} - p_{T}^{L1})/p_{T}^{L1}"},{kResPhi,"#phi_{L1} - #phi_{reco}"},{kResEta,"#eta_{L1} - #eta_{reco}"},{kResCh,"charge^{L1} - charge^{reco}"}})
 
 m_resStrings ({{kResPt,"pt"},{kRes1OverPt,"1overpt"},{kResQOverPt,"qoverpt"},{kResPhi,"phi"},{kResEta,"eta"},{kResCh,"charge"}})
 
 m_resTypes ({kResPt, kResQOverPt, kResPhi, kResEta})
 
 m_TagPtCut (ps.getUntrackedParameter< double >("tagPtCut"))
 
 m_trigInputTag (consumes< trigger::TriggerEvent >(ps.getUntrackedParameter< InputTag >("trigInputTag")))
 
 m_trigNames (ps.getUntrackedParameter< vector< string >>("triggerNames"))
 
 m_trigProcess (ps.getUntrackedParameter< string >("trigProcess"))
 
 m_trigProcess_token (consumes< edm::TriggerResults >(ps.getUntrackedParameter< InputTag >("trigProcess_token")))
 
 m_useAtVtxCoord (ps.getUntrackedParameter< bool >("useL1AtVtxCoord"))
 
 m_verbose (ps.getUntrackedParameter< bool >("verbose"))
 
 m_VtxInputTag (consumes< VertexCollection >(ps.getUntrackedParameter< InputTag >("vtxInputTag")))
 
static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< L1TMuonDQMOffline > > 
s_filler__LINE__ ("L1TMuonDQMOffline")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker
< L1TMuonDQMOffline > > 
s_maker__LINE__ ("L1TMuonDQMOffline")
 

Detailed Description

Author
J. Pela, C. Battilana

Stage2 Muons implementation: Anna Stakia

Definition in file L1TMuonDQMOffline.cc.

Function Documentation

m_BsInputTag ( consumes< BeamSpot ps.getUntrackedParameter< InputTag >("bsInputTag"))
m_cutsVPSet ( ps.getUntrackedParameter< std::vector< edm::ParameterSet >>  "cuts")

Referenced by m_maxHltMuonDR().

m_effLabelStrings ( {{kEffPt,"p_{T} (GeV)"},{kEffPhi,"#phi"},{kEffEta,"#eta"},{kEffVtx,"# vertices"}}  )
m_effStrings ( {{kEffPt,"pt"},{kEffPhi,"phi"},{kEffEta,"eta"},{kEffVtx,"vtx"}}  )
m_effVsEtaBins ( ps.getUntrackedParameter< std::vector< double >>  "efficiencyVsEtaBins")
m_effVsPhiBins ( ps.getUntrackedParameter< std::vector< double >>  "efficiencyVsPhiBins")
m_effVsPtBins ( ps.getUntrackedParameter< std::vector< double >>  "efficiencyVsPtBins")
m_effVsVtxBins ( ps.getUntrackedParameter< std::vector< double >>  "efficiencyVsVtxBins")
m_etaRegions ( {kEtaRegionAll, kEtaRegionBmtf, kEtaRegionOmtf, kEtaRegionEmtf}  )
m_etaStrings ( {{kEtaRegionAll,"etaMin0_etaMax2p4"},{kEtaRegionBmtf,"etaMin0_etaMax0p83"},{kEtaRegionOmtf,"etaMin0p83_etaMax1p24"},{kEtaRegionEmtf,"etaMin1p24_etaMax2p4"}}  )
m_GmtInputTag ( consumes< l1t::MuonBxCollection ps.getUntrackedParameter< InputTag >("gmtInputTag"))
m_HistFolder ( ps.getUntrackedParameter< string >  "histFolder")
m_maxGmtMuonDR ( 0.  3)
m_maxHltMuonDR ( 0.  1)

Definition at line 156 of file L1TMuonDQMOffline.cc.

References gather_cfg::cout, m_cutsVPSet(), and m_verbose().

156  {
157  if (m_verbose)
158  cout << "[L1TMuonDQMOffline:] ____________ Storage initialization ____________ " << endl;
159 
160  for (const auto& cutsPSet : m_cutsVPSet) {
161  const auto qCut = cutsPSet.getUntrackedParameter<int>("qualCut");
162  QualLevel qLevel = kQualAll;
163  if (qCut > 11) {
164  qLevel = kQualSingle;
165  } else if (qCut > 7) {
166  qLevel = kQualDouble;
167  } else if (qCut > 3) {
168  qLevel = kQualOpen;
169  }
170  m_cuts.emplace_back(std::make_pair(cutsPSet.getUntrackedParameter<int>("ptCut"), qLevel));
171  }
172 }
m_verbose(ps.getUntrackedParameter< bool >("verbose"))
m_cutsVPSet(ps.getUntrackedParameter< std::vector< edm::ParameterSet >>("cuts"))
tuple cout
Definition: gather_cfg.py:144
m_minTagProbeDR ( 0.  5)
m_MuonInputTag ( consumes< reco::MuonCollection ps.getUntrackedParameter< InputTag >("muonInputTag"))
m_qualLevelsRes ( {kQualAll}  )
m_qualStrings ( {{kQualAll,"qualAll"},{kQualOpen,"qualOpen"},{kQualDouble,"qualDouble"},{kQualSingle,"qualSingle"}}  )
m_recoToL1PtCutFactor ( ps.getUntrackedParameter< double >  "recoToL1PtCutFactor")
m_resLabelStrings ( {{kResPt,"(p_{T}^{L1} - p_{T}^{reco})/p_{T}^{reco}"},{kRes1OverPt,"(p_{T}^{reco} - p_{T}^{L1})/p_{T}^{L1}"},{kResQOverPt,"(q^{L1}*q^{reco}*p_{T}^{reco} - p_{T}^{L1})/p_{T}^{L1}"},{kResPhi,"#phi_{L1} - #phi_{reco}"},{kResEta,"#eta_{L1} - #eta_{reco}"},{kResCh,"charge^{L1} - charge^{reco}"}}  )
m_resStrings ( {{kResPt,"pt"},{kRes1OverPt,"1overpt"},{kResQOverPt,"qoverpt"},{kResPhi,"phi"},{kResEta,"eta"},{kResCh,"charge"}}  )
m_resTypes ( {kResPt, kResQOverPt, kResPhi, kResEta}  )
m_TagPtCut ( ps.getUntrackedParameter< double >  "tagPtCut")
m_trigInputTag ( consumes< trigger::TriggerEvent ps.getUntrackedParameter< InputTag >("trigInputTag"))
m_trigNames ( ps.getUntrackedParameter< vector< string >>  "triggerNames")
m_trigProcess ( ps.getUntrackedParameter< string >  "trigProcess")
m_trigProcess_token ( consumes< edm::TriggerResults ps.getUntrackedParameter< InputTag >("trigProcess_token"))
m_useAtVtxCoord ( ps.getUntrackedParameter< bool >  "useL1AtVtxCoord")
m_verbose ( ps.getUntrackedParameter< bool >  "verbose")
m_VtxInputTag ( consumes< VertexCollection ps.getUntrackedParameter< InputTag >("vtxInputTag"))
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< L1TMuonDQMOffline > > s_filler__LINE__ ( "L1TMuonDQMOffline"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< L1TMuonDQMOffline > > s_maker__LINE__ ( "L1TMuonDQMOffline"  )
static