CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
L1TEfficiencyMuons_Offline Class Reference

#include <L1TEfficiencyMuons_Offline.h>

Inheritance diagram for L1TEfficiencyMuons_Offline:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 L1TEfficiencyMuons_Offline (const edm::ParameterSet &ps)
 
virtual ~L1TEfficiencyMuons_Offline ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector
< ProductResolverIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Member Functions

virtual void beginLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) override
 
virtual void bookControlHistos (DQMStore::IBooker &)
 
virtual void bookEfficiencyHistos (DQMStore::IBooker &ibooker, int ptCut)
 
virtual void bookHistograms (DQMStore::IBooker &ibooker, const edm::Run &run, const edm::EventSetup &iSetup) override
 
virtual void dqmBeginRun (const edm::Run &run, const edm::EventSetup &iSetup) override
 
virtual void dqmEndLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c)
 
- 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 analyze (const edm::Event &e, const edm::EventSetup &c) override
 
void getMuonGmtPairs (edm::Handle< l1t::MuonBxCollection > &gmtCands)
 
const reco::Vertex getPrimaryVertex (edm::Handle< reco::VertexCollection > &vertex, edm::Handle< reco::BeamSpot > &beamSpot)
 
void getProbeMuons (edm::Handle< edm::TriggerResults > &trigResults, edm::Handle< trigger::TriggerEvent > &trigEvent)
 
void getTightMuons (edm::Handle< reco::MuonCollection > &muons, const reco::Vertex &vertex)
 
bool matchHlt (edm::Handle< trigger::TriggerEvent > &triggerEvent, const reco::Muon *mu)
 

Private Attributes

edm::ESHandle< MagneticFieldm_BField
 
edm::EDGetTokenT< reco::BeamSpotm_BsInputTag
 
std::map< std::string,
MonitorElement * > 
m_ControlHistos
 
std::map< int, std::map
< std::string, MonitorElement * > > 
m_EfficiencyHistos
 
edm::EDGetTokenT
< l1t::MuonBxCollection
m_GmtInputTag
 
std::vector< int > m_GmtPtCuts
 
HLTConfigProvider m_hltConfig
 
BXVector< l1t::Muonm_L1tL1tMuons
 
std::vector
< l1t::MuonBxCollection
m_L1tMuons
 
float m_MaxGmtMuonDR
 
float m_MaxHltMuonDR
 
float m_MaxMuonEta
 
std::vector< MuonGmtPairm_MuonGmtPairs
 
edm::EDGetTokenT
< reco::MuonCollection
m_MuonInputTag
 
std::vector< const reco::Muon * > m_ProbeMuons
 
edm::ESHandle< Propagatorm_propagatorAlong
 
edm::ESHandle< Propagatorm_propagatorOpposite
 
std::vector< reco::MuonCollectionm_RecoMuons
 
std::vector< reco::Muonm_RecoRecoMuons
 
std::vector< const reco::Muon * > m_TightMuons
 
std::vector< int > m_trigIndices
 
edm::EDGetTokenT
< trigger::TriggerEvent
m_trigInputTag
 
std::vector< std::string > m_trigNames
 
std::string m_trigProcess
 
edm::EDGetTokenT
< edm::TriggerResults
m_trigProcess_token
 
bool m_verbose
 
edm::EDGetTokenT
< reco::VertexCollection
m_VtxInputTag
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 113 of file L1TEfficiencyMuons_Offline.h.

Constructor & Destructor Documentation

L1TEfficiencyMuons_Offline::L1TEfficiencyMuons_Offline ( const edm::ParameterSet ps)

Definition at line 107 of file L1TEfficiencyMuons_Offline.cc.

References gather_cfg::cout, and edm::ParameterSet::getUntrackedParameter().

107  {
108  m_verbose = ps.getUntrackedParameter<bool>("verbose");
109  if (m_verbose) cout << "[L1TEfficiencyMuons_Offline:] ____________ Storage initialization ____________ " << endl;
110 
111  // Initializing config params
112  m_GmtPtCuts = ps.getUntrackedParameter< vector<int> >("gmtPtCuts");
113  m_MuonInputTag = consumes<reco::MuonCollection>(ps.getUntrackedParameter<InputTag>("muonInputTag"));
114  m_GmtInputTag = consumes<l1t::MuonBxCollection>(ps.getUntrackedParameter<InputTag>("gmtInputTag"));
115  m_VtxInputTag = consumes<VertexCollection>(ps.getUntrackedParameter<InputTag>("vtxInputTag"));
116  m_BsInputTag = consumes<BeamSpot>(ps.getUntrackedParameter<InputTag>("bsInputTag"));
117  m_trigInputTag = consumes<trigger::TriggerEvent>(ps.getUntrackedParameter<InputTag>("trigInputTag"));
118  m_trigProcess = ps.getUntrackedParameter<string>("trigProcess");
119  m_trigProcess_token = consumes<edm::TriggerResults>(ps.getUntrackedParameter<InputTag>("trigProcess_token"));
120  m_trigNames = ps.getUntrackedParameter<vector<string> >("triggerNames");
121 
122  // CB do we need them from cfi?
123  m_MaxMuonEta = 2.4;
124  m_MaxGmtMuonDR = 0.7;
125  m_MaxHltMuonDR = 0.1;
126  // CB ignored at present
127  //m_MinMuonDR = 1.2;
128 }
std::vector< std::string > m_trigNames
edm::EDGetTokenT< edm::TriggerResults > m_trigProcess_token
edm::EDGetTokenT< l1t::MuonBxCollection > m_GmtInputTag
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< trigger::TriggerEvent > m_trigInputTag
edm::EDGetTokenT< reco::BeamSpot > m_BsInputTag
tuple cout
Definition: gather_cfg.py:145
edm::EDGetTokenT< reco::VertexCollection > m_VtxInputTag
edm::EDGetTokenT< reco::MuonCollection > m_MuonInputTag
L1TEfficiencyMuons_Offline::~L1TEfficiencyMuons_Offline ( )
virtual

Definition at line 131 of file L1TEfficiencyMuons_Offline.cc.

131 { }

Member Function Documentation

void L1TEfficiencyMuons_Offline::analyze ( const edm::Event e,
const edm::EventSetup c 
)
overrideprivatevirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 180 of file L1TEfficiencyMuons_Offline.cc.

References SiPixelRawToDigiRegional_cfi::beamSpot, gather_cfg::cout, eta, edm::EventSetup::get(), edm::Event::getByToken(), RPCpg::mu, patZpeak::muons, phi(), HLT_FULL_cff::primaryVertex, and EnergyCorrector::pt.

180  {
181 
183  iEvent.getByToken(m_MuonInputTag, muons);
184 
186  iEvent.getByToken(m_BsInputTag, beamSpot);
187 
189  iEvent.getByToken(m_VtxInputTag, vertex);
190 
192  iEvent.getByToken(m_GmtInputTag,gmtCands);
193 
194  Handle<edm::TriggerResults> trigResults;
195  iEvent.getByToken(m_trigProcess_token,trigResults);
196 
198  iEvent.getByToken(m_trigInputTag,trigEvent);
199 
200  eventSetup.get<IdealMagneticFieldRecord>().get(m_BField);
201  eventSetup.get<TrackingComponentsRecord>().get("PropagatorWithMaterial",m_propagatorAlong);
202  eventSetup.get<TrackingComponentsRecord>().get("PropagatorWithMaterialOpposite",m_propagatorOpposite);
203 
204  const Vertex primaryVertex = getPrimaryVertex(vertex,beamSpot);
205 
206  getTightMuons(muons,primaryVertex);
207  getProbeMuons(trigResults,trigEvent); // CB add flag to run on orthogonal datasets (no T&P)
208  getMuonGmtPairs(gmtCands);
209 
210 // MuonCollection::const_iterator muonIt = muons->begin();
211 // MuonCollection::const_iterator muonEnd = muons->end();
212 
213  vector<l1t::Muon> gmtContainer;// = gmtCands->getRecord(0).getGMTCands();
214 
215  for (auto mu = gmtCands->begin(0); mu != gmtCands->end(0); ++mu) {
216  gmtContainer.push_back(*mu);
217  }
218 
219 // vector<l1t::Muon>::const_iterator gmtIt = gmtContainer.begin();
220 // vector<l1t::Muon>::const_iterator gmtEnd = gmtContainer.end();
221 
222  if (m_verbose) cout << "[L1TEfficiencyMuons_Offline:] Computing efficiencies" << endl;
223 
224  vector<MuonGmtPair>::const_iterator muonGmtPairsIt = m_MuonGmtPairs.begin();
225  vector<MuonGmtPair>::const_iterator muonGmtPairsEnd = m_MuonGmtPairs.end();
226 
227  for(; muonGmtPairsIt!=muonGmtPairsEnd; ++muonGmtPairsIt) {
228  float eta = muonGmtPairsIt->eta();
229  float phi = muonGmtPairsIt->phi();
230  float pt = muonGmtPairsIt->pt();
231 
232  float gmtPt = muonGmtPairsIt->gmtPt();
233  int qual = muonGmtPairsIt->gmtQual();
234 
235  vector<int>::const_iterator gmtPtCutsIt = m_GmtPtCuts.begin();
236  vector<int>::const_iterator gmtPtCutsEnd = m_GmtPtCuts.end();
237 
238  for (; gmtPtCutsIt!=gmtPtCutsEnd; ++ gmtPtCutsIt) {
239  int gmtPtCut = (*gmtPtCutsIt);
240  bool gmtAboveCut = (gmtPt > gmtPtCut);
241 
242  stringstream ptCutToTag; ptCutToTag << gmtPtCut;
243  string ptTag = ptCutToTag.str();
244 
245  if (fabs(eta) < m_MaxMuonEta) {
246  m_EfficiencyHistos[gmtPtCut]["EffvsPt" + ptTag + "Den"]->Fill(pt);
247  m_EfficiencyHistos[gmtPtCut]["EffvsPt_OPEN_" + ptTag + "Den"]->Fill(pt);
248  m_EfficiencyHistos[gmtPtCut]["EffvsPt_DOUBLE_" + ptTag + "Den"]->Fill(pt);
249  m_EfficiencyHistos[gmtPtCut]["EffvsPt_SINGLE_" + ptTag + "Den"]->Fill(pt);
250 
251  if (gmtAboveCut) {
252  m_EfficiencyHistos[gmtPtCut]["EffvsPt" + ptTag + "Num"]->Fill(pt);
253 
254  if (qual >= 4) m_EfficiencyHistos[gmtPtCut]["EffvsPt_OPEN_" + ptTag + "Num"]->Fill(pt);
255  if (qual >= 8) m_EfficiencyHistos[gmtPtCut]["EffvsPt_DOUBLE_" + ptTag + "Num"]->Fill(pt);
256  if (qual >= 12) m_EfficiencyHistos[gmtPtCut]["EffvsPt_SINGLE_" + ptTag + "Num"]->Fill(pt);
257  }
258 
259  // efficiency in eta/phi at plateau
260  if (pt > 1.25*gmtPtCut) { // efficiency in eta/phi at plateau
261 
262  m_EfficiencyHistos[gmtPtCut]["EffvsPhi" + ptTag + "Den"]->Fill(phi);
263  m_EfficiencyHistos[gmtPtCut]["EffvsEta" + ptTag + "Den"]->Fill(eta);
264 
265  m_EfficiencyHistos[gmtPtCut]["EffvsPhi_OPEN_" + ptTag + "Den"]->Fill(phi);
266  m_EfficiencyHistos[gmtPtCut]["EffvsEta_OPEN_" + ptTag + "Den"]->Fill(eta);
267 
268  m_EfficiencyHistos[gmtPtCut]["EffvsPhi_DOUBLE_" + ptTag + "Den"]->Fill(phi);
269  m_EfficiencyHistos[gmtPtCut]["EffvsEta_DOUBLE_" + ptTag + "Den"]->Fill(eta);
270 
271  m_EfficiencyHistos[gmtPtCut]["EffvsPhi_SINGLE_" + ptTag + "Den"]->Fill(phi);
272  m_EfficiencyHistos[gmtPtCut]["EffvsEta_SINGLE_" + ptTag + "Den"]->Fill(eta);
273 
274  if (gmtAboveCut) {
275  m_EfficiencyHistos[gmtPtCut]["EffvsPhi" + ptTag + "Num"]->Fill(phi);
276  m_EfficiencyHistos[gmtPtCut]["EffvsEta" + ptTag + "Num"]->Fill(eta);
277 
278  if (qual >= 4) {
279  m_EfficiencyHistos[gmtPtCut]["EffvsPhi_OPEN_" + ptTag + "Num"]->Fill(phi);
280  m_EfficiencyHistos[gmtPtCut]["EffvsEta_OPEN_" + ptTag + "Num"]->Fill(eta);
281  }
282  if (qual >= 8) {
283  m_EfficiencyHistos[gmtPtCut]["EffvsPhi_DOUBLE_" + ptTag + "Num"]->Fill(phi);
284  m_EfficiencyHistos[gmtPtCut]["EffvsEta_DOUBLE_" + ptTag + "Num"]->Fill(eta);
285  }
286  if (qual >= 12) {
287  m_EfficiencyHistos[gmtPtCut]["EffvsPhi_SINGLE_" + ptTag + "Num"]->Fill(phi);
288  m_EfficiencyHistos[gmtPtCut]["EffvsEta_SINGLE_" + ptTag + "Num"]->Fill(eta);
289  }
290  }
291  }
292  }
293  }
294  }
295  if (m_verbose) cout << "[L1TEfficiencyMuons_Offline:] Computation finished" << endl;
296 }
edm::EDGetTokenT< edm::TriggerResults > m_trigProcess_token
edm::EDGetTokenT< l1t::MuonBxCollection > m_GmtInputTag
void getTightMuons(edm::Handle< reco::MuonCollection > &muons, const reco::Vertex &vertex)
void getMuonGmtPairs(edm::Handle< l1t::MuonBxCollection > &gmtCands)
const reco::Vertex getPrimaryVertex(edm::Handle< reco::VertexCollection > &vertex, edm::Handle< reco::BeamSpot > &beamSpot)
edm::EDGetTokenT< trigger::TriggerEvent > m_trigInputTag
std::vector< MuonGmtPair > m_MuonGmtPairs
edm::EDGetTokenT< reco::BeamSpot > m_BsInputTag
edm::ESHandle< Propagator > m_propagatorAlong
edm::ESHandle< Propagator > m_propagatorOpposite
int iEvent
Definition: GenABIO.cc:230
std::map< int, std::map< std::string, MonitorElement * > > m_EfficiencyHistos
const int mu
Definition: Constants.h:22
void getProbeMuons(edm::Handle< edm::TriggerResults > &trigResults, edm::Handle< trigger::TriggerEvent > &trigEvent)
edm::ESHandle< MagneticField > m_BField
tuple muons
Definition: patZpeak.py:38
tuple cout
Definition: gather_cfg.py:145
edm::EDGetTokenT< reco::VertexCollection > m_VtxInputTag
edm::EDGetTokenT< reco::MuonCollection > m_MuonInputTag
void L1TEfficiencyMuons_Offline::beginLuminosityBlock ( edm::LuminosityBlock const &  lumiBlock,
edm::EventSetup const &  c 
)
overrideprotectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 170 of file L1TEfficiencyMuons_Offline.cc.

References gather_cfg::cout, edm::LuminosityBlockBase::id(), and edm::LuminosityBlockID::luminosityBlock().

170  {
171  if(m_verbose) cout << "[L1TEfficiencyMuons_Offline:] Called beginLuminosityBlock at LS=" << lumiBlock.id().luminosityBlock() << endl;
172 }
tuple cout
Definition: gather_cfg.py:145
void L1TEfficiencyMuons_Offline::bookControlHistos ( DQMStore::IBooker ibooker)
protectedvirtual

Definition at line 299 of file L1TEfficiencyMuons_Offline.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), gather_cfg::cout, mergeVDriftHistosByStation::name, Pi, and DQMStore::IBooker::setCurrentFolder().

299  {
300  if(m_verbose) cout << "[L1TEfficiencyMuons_Offline:] Booking Control Plot Histos" << endl;
301 
302  ibooker.setCurrentFolder("L1T/Efficiency/Muons/Control");
303 
304  string name = "MuonGmtDeltaR";
305  m_ControlHistos[name] = ibooker.book1D(name.c_str(),name.c_str(),25.,0.,2.5);
306 
307  name = "NTightVsAll";
308  m_ControlHistos[name] = ibooker.book2D(name.c_str(),name.c_str(),5,-0.5,4.5,5,-0.5,4.5);
309 
310  name = "NProbesVsTight";
311  m_ControlHistos[name] = ibooker.book2D(name.c_str(),name.c_str(),5,-0.5,4.5,5,-0.5,4.5);
312 
314  string name1 = "TagMuonEta_Histo";
315  m_EfficiencyHistos[0][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),50,-2.5,2.5);
316  string name2 = "TagMuonPhi_Histo";
317  m_EfficiencyHistos[0][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),24,-TMath::Pi(),TMath::Pi());
318  string name3 = "TagMuonPt_Histo";
319  m_EfficiencyHistos[0][name3] = ibooker.book1D(name3.c_str(),name3.c_str(),50,0.,100.);
320 //*****
321  name1 = "ProbeMuonEta_Histo";
322  m_EfficiencyHistos[0][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),50,-2.5,2.5);
323  name2 = "ProbeMuonPhi_Histo";
324  m_EfficiencyHistos[0][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),24,-TMath::Pi(),TMath::Pi());
325  name3 = "ProbeMuonPt_Histo";
326  m_EfficiencyHistos[0][name3] = ibooker.book1D(name3.c_str(),name3.c_str(),50,0.,100.);
327 }
const double Pi
std::map< int, std::map< std::string, MonitorElement * > > m_EfficiencyHistos
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
std::map< std::string, MonitorElement * > m_ControlHistos
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
tuple cout
Definition: gather_cfg.py:145
void L1TEfficiencyMuons_Offline::bookEfficiencyHistos ( DQMStore::IBooker ibooker,
int  ptCut 
)
protectedvirtual

Definition at line 330 of file L1TEfficiencyMuons_Offline.cc.

References DQMStore::IBooker::book1D(), gather_cfg::cout, Pi, DQMStore::IBooker::setCurrentFolder(), and fw3dlego::xbins.

330  {
331  if(m_verbose) cout << "[L1TEfficiencyMuons_Offline:] Booking Efficiency Plot Histos for pt cut = " << ptCut << endl;
332 
333  stringstream ptCutToTag; ptCutToTag << ptCut;
334  string ptTag = ptCutToTag.str();
335 
336  ibooker.setCurrentFolder("L1T/Efficiency/Muons/");
337  float xbins[33] = {0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 55, 60, 65, 70, 80, 90, 100};
338 
339  string name1 = "EffvsPt" + ptTag + "Den";
340  m_EfficiencyHistos[ptCut][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),32,xbins);
341  string name2 = "EffvsPt" + ptTag + "Num";
342  m_EfficiencyHistos[ptCut][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),32,xbins);
343 
344  name1 = "EffvsPt_OPEN_" + ptTag + "Den";
345  m_EfficiencyHistos[ptCut][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),32,xbins);
346  name2 = "EffvsPt_OPEN_" + ptTag + "Num";
347  m_EfficiencyHistos[ptCut][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),32,xbins);
348 
349  name1 = "EffvsPt_DOUBLE_" + ptTag + "Den";
350  m_EfficiencyHistos[ptCut][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),32, xbins);
351  name2 = "EffvsPt_DOUBLE_" + ptTag + "Num";
352  m_EfficiencyHistos[ptCut][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),32, xbins);
353 
354  name1 = "EffvsPt_SINGLE_" + ptTag + "Den";
355  m_EfficiencyHistos[ptCut][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),32,xbins);
356  name2 = "EffvsPt_SINGLE_" + ptTag + "Num";
357  m_EfficiencyHistos[ptCut][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),32,xbins);
358 
360 
361  name1 = "EffvsPhi" + ptTag + "Den";
362  m_EfficiencyHistos[ptCut][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),24,-TMath::Pi(),TMath::Pi());
363  name2 = "EffvsPhi" + ptTag + "Num";
364  m_EfficiencyHistos[ptCut][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),24,-TMath::Pi(),TMath::Pi());
365 
366  name1 = "EffvsEta" + ptTag + "Den";
367  m_EfficiencyHistos[ptCut][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),50,-2.5,2.5);
368  name2 = "EffvsEta" + ptTag + "Num";
369  m_EfficiencyHistos[ptCut][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),50,-2.5,2.5);
370 
372 
373  name1 = "EffvsPhi_OPEN_" + ptTag + "Den";
374  m_EfficiencyHistos[ptCut][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),24,-TMath::Pi(),TMath::Pi());
375  name2 = "EffvsPhi_OPEN_" + ptTag + "Num";
376  m_EfficiencyHistos[ptCut][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),24,-TMath::Pi(),TMath::Pi());
377 
378  name1 = "EffvsEta_OPEN_" + ptTag + "Den";
379  m_EfficiencyHistos[ptCut][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),50,-2.5,2.5);
380  name2 = "EffvsEta_OPEN_" + ptTag + "Num";
381  m_EfficiencyHistos[ptCut][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),50,-2.5,2.5);
382 
384 
385  name1 = "EffvsPhi_DOUBLE_" + ptTag + "Den";
386  m_EfficiencyHistos[ptCut][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),24,-TMath::Pi(),TMath::Pi());
387  name2 = "EffvsPhi_DOUBLE_" + ptTag + "Num";
388  m_EfficiencyHistos[ptCut][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),24,-TMath::Pi(),TMath::Pi());
389 
390  name1 = "EffvsEta_DOUBLE_" + ptTag + "Den";
391  m_EfficiencyHistos[ptCut][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),50,-2.5,2.5);
392  name2 = "EffvsEta_DOUBLE_" + ptTag + "Num";
393  m_EfficiencyHistos[ptCut][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),50,-2.5,2.5);
394 
396 
397  name1 = "EffvsPhi_SINGLE_" + ptTag + "Den";
398  m_EfficiencyHistos[ptCut][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),24,-TMath::Pi(),TMath::Pi());
399  name2 = "EffvsPhi_SINGLE_" + ptTag + "Num";
400  m_EfficiencyHistos[ptCut][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),24,-TMath::Pi(),TMath::Pi());
401 
402 
403  name1 = "EffvsEta_SINGLE_" + ptTag + "Den";
404  m_EfficiencyHistos[ptCut][name1] = ibooker.book1D(name1.c_str(),name1.c_str(),50,-2.5,2.5);
405  name2 = "EffvsEta_SINGLE_" + ptTag + "Num";
406  m_EfficiencyHistos[ptCut][name2] = ibooker.book1D(name2.c_str(),name2.c_str(),50,-2.5,2.5);
407 }
const double Pi
const double xbins[]
std::map< int, std::map< std::string, MonitorElement * > > m_EfficiencyHistos
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
tuple cout
Definition: gather_cfg.py:145
void L1TEfficiencyMuons_Offline::bookHistograms ( DQMStore::IBooker ibooker,
const edm::Run run,
const edm::EventSetup iSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 140 of file L1TEfficiencyMuons_Offline.cc.

References gather_cfg::cout.

140  {
141  //book histos
142  bookControlHistos(ibooker);
143  vector<int>::const_iterator gmtPtCutsIt = m_GmtPtCuts.begin();
144  vector<int>::const_iterator gmtPtCutsEnd = m_GmtPtCuts.end();
145 
146  for (; gmtPtCutsIt!=gmtPtCutsEnd; ++ gmtPtCutsIt) {
147  bookEfficiencyHistos(ibooker, (*gmtPtCutsIt));
148  }
149 
150  vector<string>::const_iterator trigNamesIt = m_trigNames.begin();
151  vector<string>::const_iterator trigNamesEnd = m_trigNames.end();
152 
153  for (; trigNamesIt!=trigNamesEnd; ++trigNamesIt) {
154  TString tNameTmp = TString(*trigNamesIt); // use TString as it handles regex
155  TRegexp tNamePattern = TRegexp(tNameTmp,true);
156  int tIndex = -1;
157 
158  for (unsigned ipath = 0; ipath < m_hltConfig.size(); ++ipath) {
159  TString tmpName = TString(m_hltConfig.triggerName(ipath));
160  if (tmpName.Contains(tNamePattern)) {
161  tIndex = int(ipath);
162  m_trigIndices.push_back(tIndex);
163  }
164  }
165  if (tIndex < 0 && m_verbose) cout << "[L1TEfficiencyMuons_Offline:] Warning: Could not find trigger " << (*trigNamesIt) << endl;
166  }
167 }
unsigned int size() const
number of trigger paths in trigger table
std::vector< std::string > m_trigNames
virtual void bookEfficiencyHistos(DQMStore::IBooker &ibooker, int ptCut)
const std::string & triggerName(unsigned int triggerIndex) const
virtual void bookControlHistos(DQMStore::IBooker &)
tuple cout
Definition: gather_cfg.py:145
void L1TEfficiencyMuons_Offline::dqmBeginRun ( const edm::Run run,
const edm::EventSetup iSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 133 of file L1TEfficiencyMuons_Offline.cc.

References gather_cfg::cout.

133  {
134  if (m_verbose) cout << "[L1TEfficiencyMuons_Offline:] Called beginRun." << endl;
135  bool changed = true;
136  m_hltConfig.init(run,iSetup,m_trigProcess,changed);
137 }
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d&#39;tor
tuple cout
Definition: gather_cfg.py:145
void L1TEfficiencyMuons_Offline::dqmEndLuminosityBlock ( edm::LuminosityBlock const &  lumiBlock,
edm::EventSetup const &  c 
)
protectedvirtual

Definition at line 175 of file L1TEfficiencyMuons_Offline.cc.

References gather_cfg::cout, edm::LuminosityBlockBase::id(), and edm::LuminosityBlockID::luminosityBlock().

175  {
176  if(m_verbose) cout << "[L1TEfficiencyMuons_Offline:] Called endLuminosityBlock at LS=" << lumiBlock.id().luminosityBlock() << endl;
177 }
tuple cout
Definition: gather_cfg.py:145
void L1TEfficiencyMuons_Offline::getMuonGmtPairs ( edm::Handle< l1t::MuonBxCollection > &  gmtCands)
private

Definition at line 496 of file L1TEfficiencyMuons_Offline.cc.

References gather_cfg::cout, MuonGmtPair::dR(), eta, RPCpg::mu, phi(), and EnergyCorrector::pt.

496  {
497 
498  m_MuonGmtPairs.clear();
499  if (m_verbose) cout << "[L1TEfficiencyMuons_Offline:] Getting muon GMT pairs" << endl;
500 
501  vector<const reco::Muon*>::const_iterator probeMuIt = m_ProbeMuons.begin();
502  vector<const reco::Muon*>::const_iterator probeMuEnd = m_ProbeMuons.end();
503  vector<l1t::Muon> gmtContainer;
504 
505  for (auto mu = gmtCands->begin(0); mu != gmtCands->end(0); ++mu) {
506  gmtContainer.push_back(*mu);
507  }
508 
509  vector<l1t::Muon>::const_iterator gmtIt;
510  vector<l1t::Muon>::const_iterator gmtEnd = gmtContainer.end();
511 
512  for (; probeMuIt!=probeMuEnd; ++probeMuIt) {
513  float eta = (*probeMuIt)->eta();
514  float phi = (*probeMuIt)->phi();
515  float pt = (*probeMuIt)->pt();
516 
517  m_EfficiencyHistos[0]["ProbeMuonEta_Histo"]->Fill(eta);
518  m_EfficiencyHistos[0]["ProbeMuonPhi_Histo"]->Fill(phi);
519  m_EfficiencyHistos[0]["ProbeMuonPt_Histo"]->Fill(pt);
520 
521  MuonGmtPair pairBestCand((*probeMuIt),0);
522 // pairBestCand.propagate(m_BField,m_propagatorAlong,m_propagatorOpposite);
523  gmtIt = gmtContainer.begin();
524 
525  for(; gmtIt!=gmtEnd; ++gmtIt) {
526  MuonGmtPair pairTmpCand((*probeMuIt),&(*gmtIt));
527 // pairTmpCand.propagate(m_BField,m_propagatorAlong,m_propagatorOpposite);
528 
529  if ( (pairTmpCand.dR() < m_MaxGmtMuonDR) && (pairTmpCand.dR() < pairBestCand.dR() ) ) {
530  pairBestCand = pairTmpCand;
531  }
532 
533  }
534  m_MuonGmtPairs.push_back(pairBestCand);
535  m_ControlHistos["MuonGmtDeltaR"]->Fill(pairBestCand.dR());
536  }
537 }
std::vector< MuonGmtPair > m_MuonGmtPairs
std::vector< const reco::Muon * > m_ProbeMuons
std::map< int, std::map< std::string, MonitorElement * > > m_EfficiencyHistos
const int mu
Definition: Constants.h:22
std::map< std::string, MonitorElement * > m_ControlHistos
tuple cout
Definition: gather_cfg.py:145
const reco::Vertex L1TEfficiencyMuons_Offline::getPrimaryVertex ( edm::Handle< reco::VertexCollection > &  vertex,
edm::Handle< reco::BeamSpot > &  beamSpot 
)
private

Definition at line 410 of file L1TEfficiencyMuons_Offline.cc.

References edm::HandleBase::isValid(), and HLT_FULL_cff::primaryVertex.

411  {
412  Vertex::Point posVtx;
413  Vertex::Error errVtx;
414 
415  bool hasPrimaryVertex = false;
416 
417  if (vertex.isValid()) {
418  vector<Vertex>::const_iterator vertexIt = vertex->begin();
419  vector<Vertex>::const_iterator vertexEnd = vertex->end();
420 
421  for (;vertexIt!=vertexEnd;++vertexIt) {
422  if (vertexIt->isValid() && !vertexIt->isFake()) {
423  posVtx = vertexIt->position();
424  errVtx = vertexIt->error();
425  hasPrimaryVertex = true;
426  break;
427  }
428  }
429  }
430 
431  if ( !hasPrimaryVertex ) {
432  posVtx = beamSpot->position();
433  errVtx(0,0) = beamSpot->BeamWidthX();
434  errVtx(1,1) = beamSpot->BeamWidthY();
435  errVtx(2,2) = beamSpot->sigmaZ();
436  }
437  const Vertex primaryVertex(posVtx,errVtx);
438  return primaryVertex;
439 }
math::Error< dimension >::type Error
covariance error matrix (3x3)
Definition: Vertex.h:43
math::XYZPoint Point
point in the space
Definition: Vertex.h:39
bool isValid() const
Definition: HandleBase.h:75
void L1TEfficiencyMuons_Offline::getProbeMuons ( edm::Handle< edm::TriggerResults > &  trigResults,
edm::Handle< trigger::TriggerEvent > &  trigEvent 
)
private

Definition at line 458 of file L1TEfficiencyMuons_Offline.cc.

References gather_cfg::cout, dPhi(), eta, phi(), EnergyCorrector::pt, and mathSSE::sqrt().

459  {
460 
461  if (m_verbose) cout << "[L1TEfficiencyMuons_Offline:] getting probe muons" << endl;
462  m_ProbeMuons.clear();
463 
464  vector<const reco::Muon*>::const_iterator probeCandIt = m_TightMuons.begin();
465 // vector<const reco::Muon*>::const_iterator probeMuIt = m_ProbeMuons.begin();
466  vector<const reco::Muon*>::const_iterator tightMuonsEnd = m_TightMuons.end();
467 
468  for (; probeCandIt!=tightMuonsEnd; ++probeCandIt) {
469  bool tagHasTrig = false;
470  vector<const reco::Muon*>::const_iterator tagCandIt = m_TightMuons.begin();
471  float deltar = 0.;
472 
473  for (; tagCandIt!=tightMuonsEnd; ++tagCandIt) {
474  float eta = (*tagCandIt)->eta();
475  float phi = (*tagCandIt)->phi();
476  float pt = (*tagCandIt)->pt();
477  float dEta = eta - (*probeCandIt)->eta();
478  float dPhi = phi - (*probeCandIt)->phi();
479 
480  deltar = sqrt(dEta*dEta + dPhi*dPhi);
481 
482  if ( (*tagCandIt) == (*probeCandIt) || (deltar<0.7) ) continue; // CB has a little bias for closed-by muons
483  tagHasTrig |= matchHlt(trigEvent,(*tagCandIt));
484  if (tagHasTrig) {
485  m_EfficiencyHistos[0]["TagMuonEta_Histo"]->Fill(eta);
486  m_EfficiencyHistos[0]["TagMuonPhi_Histo"]->Fill(phi);
487  m_EfficiencyHistos[0]["TagMuonPt_Histo"]->Fill(pt);
488  }
489  }
490  if (tagHasTrig) m_ProbeMuons.push_back((*probeCandIt));
491  }
492  m_ControlHistos["NProbesVsTight"]->Fill(m_TightMuons.size(),m_ProbeMuons.size());
493 }
std::vector< const reco::Muon * > m_ProbeMuons
double dPhi(double phi1, double phi2)
Definition: JetUtil.h:30
T sqrt(T t)
Definition: SSEVec.h:18
std::map< int, std::map< std::string, MonitorElement * > > m_EfficiencyHistos
std::map< std::string, MonitorElement * > m_ControlHistos
std::vector< const reco::Muon * > m_TightMuons
tuple cout
Definition: gather_cfg.py:145
bool matchHlt(edm::Handle< trigger::TriggerEvent > &triggerEvent, const reco::Muon *mu)
void L1TEfficiencyMuons_Offline::getTightMuons ( edm::Handle< reco::MuonCollection > &  muons,
const reco::Vertex vertex 
)
private

Definition at line 442 of file L1TEfficiencyMuons_Offline.cc.

References gather_cfg::cout, and muon::isTightMuon().

442  {
443 
444  if (m_verbose) cout << "[L1TEfficiencyMuons_Offline:] Getting tight muons" << endl;
445  m_TightMuons.clear();
446  MuonCollection::const_iterator muonIt = muons->begin();
447  MuonCollection::const_iterator muonEnd = muons->end();
448 
449  for(; muonIt!=muonEnd; ++muonIt) {
450  if (muon::isTightMuon((*muonIt), vertex)) {
451  m_TightMuons.push_back(&(*muonIt));
452  }
453  }
454  m_ControlHistos["NTightVsAll"]->Fill(muons->size(),m_TightMuons.size());
455 }
std::map< std::string, MonitorElement * > m_ControlHistos
std::vector< const reco::Muon * > m_TightMuons
tuple cout
Definition: gather_cfg.py:145
bool isTightMuon(const reco::Muon &, const reco::Vertex &)
bool L1TEfficiencyMuons_Offline::matchHlt ( edm::Handle< trigger::TriggerEvent > &  triggerEvent,
const reco::Muon mu 
)
private

Definition at line 540 of file L1TEfficiencyMuons_Offline.cc.

References reco::deltaR(), HLT_FULL_cff::InputTag, and TriggerAnalyzer::trigObjs.

540  {
541 
542  double matchDeltaR = 9999;
543 
544  TriggerObjectCollection trigObjs = triggerEvent->getObjects();
545 
546  vector<int>::const_iterator trigIndexIt = m_trigIndices.begin();
547  vector<int>::const_iterator trigIndexEnd = m_trigIndices.end();
548 
549  for(; trigIndexIt!=trigIndexEnd; ++trigIndexIt) {
550  const vector<string> moduleLabels(m_hltConfig.moduleLabels(*trigIndexIt));
551  const unsigned moduleIndex = m_hltConfig.size((*trigIndexIt))-2;
552  const unsigned hltFilterIndex = triggerEvent->filterIndex(InputTag(moduleLabels[moduleIndex],"",m_trigProcess));
553 
554  if (hltFilterIndex < triggerEvent->sizeFilters()) {
555  const Keys triggerKeys(triggerEvent->filterKeys(hltFilterIndex));
556  const Vids triggerVids(triggerEvent->filterIds(hltFilterIndex));
557  const unsigned nTriggers = triggerVids.size();
558  for (size_t iTrig = 0; iTrig < nTriggers; ++iTrig) {
559  const TriggerObject trigObject = trigObjs[triggerKeys[iTrig]];
560  double dRtmp = deltaR((*mu),trigObject);
561  if (dRtmp < matchDeltaR) matchDeltaR = dRtmp;
562  }
563  }
564  }
565  return (matchDeltaR < m_MaxHltMuonDR);
566 }
unsigned int size() const
number of trigger paths in trigger table
Single trigger physics object (e.g., an isolated muon)
Definition: TriggerObject.h:22
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
double deltaR(double eta1, double eta2, double phi1, double phi2)
Definition: TreeUtility.cc:17
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
Definition: TriggerObject.h:81
std::vector< size_type > Keys
std::vector< int > Vids

Member Data Documentation

edm::ESHandle<MagneticField> L1TEfficiencyMuons_Offline::m_BField
private

Definition at line 144 of file L1TEfficiencyMuons_Offline.h.

edm::EDGetTokenT<reco::BeamSpot> L1TEfficiencyMuons_Offline::m_BsInputTag
private

Definition at line 167 of file L1TEfficiencyMuons_Offline.h.

std::map<std::string, MonitorElement*> L1TEfficiencyMuons_Offline::m_ControlHistos
private

Definition at line 150 of file L1TEfficiencyMuons_Offline.h.

std::map<int, std::map<std::string, MonitorElement*> > L1TEfficiencyMuons_Offline::m_EfficiencyHistos
private

Definition at line 149 of file L1TEfficiencyMuons_Offline.h.

edm::EDGetTokenT<l1t::MuonBxCollection> L1TEfficiencyMuons_Offline::m_GmtInputTag
private

Definition at line 165 of file L1TEfficiencyMuons_Offline.h.

std::vector<int> L1TEfficiencyMuons_Offline::m_GmtPtCuts
private

Definition at line 163 of file L1TEfficiencyMuons_Offline.h.

HLTConfigProvider L1TEfficiencyMuons_Offline::m_hltConfig
private

Definition at line 142 of file L1TEfficiencyMuons_Offline.h.

BXVector<l1t::Muon> L1TEfficiencyMuons_Offline::m_L1tL1tMuons
private

Definition at line 160 of file L1TEfficiencyMuons_Offline.h.

std::vector<l1t::MuonBxCollection> L1TEfficiencyMuons_Offline::m_L1tMuons
private

Definition at line 158 of file L1TEfficiencyMuons_Offline.h.

float L1TEfficiencyMuons_Offline::m_MaxGmtMuonDR
private

Definition at line 175 of file L1TEfficiencyMuons_Offline.h.

float L1TEfficiencyMuons_Offline::m_MaxHltMuonDR
private

Definition at line 176 of file L1TEfficiencyMuons_Offline.h.

float L1TEfficiencyMuons_Offline::m_MaxMuonEta
private

Definition at line 174 of file L1TEfficiencyMuons_Offline.h.

std::vector<MuonGmtPair> L1TEfficiencyMuons_Offline::m_MuonGmtPairs
private

Definition at line 155 of file L1TEfficiencyMuons_Offline.h.

edm::EDGetTokenT<reco::MuonCollection> L1TEfficiencyMuons_Offline::m_MuonInputTag
private

Definition at line 164 of file L1TEfficiencyMuons_Offline.h.

std::vector<const reco::Muon*> L1TEfficiencyMuons_Offline::m_ProbeMuons
private

Definition at line 154 of file L1TEfficiencyMuons_Offline.h.

edm::ESHandle<Propagator> L1TEfficiencyMuons_Offline::m_propagatorAlong
private

Definition at line 145 of file L1TEfficiencyMuons_Offline.h.

edm::ESHandle<Propagator> L1TEfficiencyMuons_Offline::m_propagatorOpposite
private

Definition at line 146 of file L1TEfficiencyMuons_Offline.h.

std::vector<reco::MuonCollection> L1TEfficiencyMuons_Offline::m_RecoMuons
private

Definition at line 157 of file L1TEfficiencyMuons_Offline.h.

std::vector<reco::Muon> L1TEfficiencyMuons_Offline::m_RecoRecoMuons
private

Definition at line 159 of file L1TEfficiencyMuons_Offline.h.

std::vector<const reco::Muon*> L1TEfficiencyMuons_Offline::m_TightMuons
private

Definition at line 153 of file L1TEfficiencyMuons_Offline.h.

std::vector<int> L1TEfficiencyMuons_Offline::m_trigIndices
private

Definition at line 172 of file L1TEfficiencyMuons_Offline.h.

edm::EDGetTokenT<trigger::TriggerEvent> L1TEfficiencyMuons_Offline::m_trigInputTag
private

Definition at line 168 of file L1TEfficiencyMuons_Offline.h.

std::vector<std::string> L1TEfficiencyMuons_Offline::m_trigNames
private

Definition at line 171 of file L1TEfficiencyMuons_Offline.h.

std::string L1TEfficiencyMuons_Offline::m_trigProcess
private

Definition at line 169 of file L1TEfficiencyMuons_Offline.h.

edm::EDGetTokenT<edm::TriggerResults> L1TEfficiencyMuons_Offline::m_trigProcess_token
private

Definition at line 170 of file L1TEfficiencyMuons_Offline.h.

bool L1TEfficiencyMuons_Offline::m_verbose
private

Definition at line 141 of file L1TEfficiencyMuons_Offline.h.

edm::EDGetTokenT<reco::VertexCollection> L1TEfficiencyMuons_Offline::m_VtxInputTag
private

Definition at line 166 of file L1TEfficiencyMuons_Offline.h.