CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
StudyTriggerHLT Class Reference

#include <Calibration/IsolatedParticles/plugins/StudyTriggerHLT.cc>

Inheritance diagram for StudyTriggerHLT:
edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 StudyTriggerHLT (const edm::ParameterSet &)
 
 ~StudyTriggerHLT () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources >
 EDAnalyzer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
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 & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void analyze (edm::Event const &, edm::EventSetup const &) override
 
void beginJob () override
 
virtual void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
std::string truncate_str (const std::string &)
 

Private Attributes

bool changed_
 
bool firstEvent_
 
edm::Service< TFileServicefs_
 
TH1D * h_dr1
 
TH1D * h_dr2
 
TH1D * h_dr3
 
TH1D * h_eta
 
TH1I * h_HLTAccept
 
std::vector< TH1I * > h_HLTAccepts
 
TH1I * h_HLTCorr
 
TH1I * h_nHLT
 
TH2I * h_nHLTvsRN
 
TH1D * h_phi
 
TH1D * h_pt
 
HLTConfigProvider hltConfig_
 
std::vector< std::string > HLTNames_
 
const edm::InputTag labelGenTrack_
 
const edm::InputTag labelMuon_
 
std::vector< bool > mediumMuon_
 
const std::vector< std::string > newNames_
 
int nRun_
 
const std::string theTrackQuality_
 
const edm::InputTag theTriggerResultsLabel_
 
edm::EDGetTokenT< reco::TrackCollectiontok_genTrack_
 
edm::EDGetTokenT< reco::MuonCollectiontok_Muon_
 
edm::EDGetTokenT< trigger::TriggerEventtok_trigEvt
 
edm::EDGetTokenT< edm::TriggerResultstok_trigRes
 
reco::TrackBase::TrackQuality trackQuality_
 
const edm::InputTag triggerEvent_
 
const std::vector< std::string > trigNames_
 
const int verbosity_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Description: Studies single particle response measurements in data/MC

Implementation: <Notes on="" implementation>="">

Definition at line 55 of file StudyTriggerHLT.cc.

Constructor & Destructor Documentation

◆ StudyTriggerHLT()

StudyTriggerHLT::StudyTriggerHLT ( const edm::ParameterSet iConfig)
explicit

Definition at line 96 of file StudyTriggerHLT.cc.

97  : verbosity_(iConfig.getParameter<int>("verbosity")),
98  triggerEvent_(edm::InputTag("hltTriggerSummaryAOD", "", "HLT")),
99  theTriggerResultsLabel_(edm::InputTag("TriggerResults", "", "HLT")),
100  labelMuon_(iConfig.getParameter<edm::InputTag>("labelMuon")),
101  labelGenTrack_(iConfig.getParameter<edm::InputTag>("labelTrack")),
102  theTrackQuality_(iConfig.getParameter<std::string>("trackQuality")),
103  nRun_(0) {
104  usesResource(TFileService::kSharedResource);
106 
107  // define tokens for access
108  tok_trigEvt = consumes<trigger::TriggerEvent>(triggerEvent_);
109  tok_trigRes = consumes<edm::TriggerResults>(theTriggerResultsLabel_);
110  tok_Muon_ = consumes<reco::MuonCollection>(labelMuon_);
111  tok_genTrack_ = consumes<reco::TrackCollection>(labelGenTrack_);
112 
113  edm::LogVerbatim("StudyHLT") << "Verbosity " << verbosity_ << " Trigger labels " << triggerEvent_ << " and "
114  << theTriggerResultsLabel_ << " Labels used: Track " << labelGenTrack_ << " Muon "
115  << labelMuon_ << " Track Quality " << theTrackQuality_;
116 
117  firstEvent_ = true;
118  changed_ = false;
119 }

References changed_, firstEvent_, TFileService::kSharedResource, labelGenTrack_, labelMuon_, reco::TrackBase::qualityByName(), theTrackQuality_, theTriggerResultsLabel_, tok_genTrack_, tok_Muon_, tok_trigEvt, tok_trigRes, trackQuality_, triggerEvent_, and verbosity_.

◆ ~StudyTriggerHLT()

StudyTriggerHLT::~StudyTriggerHLT ( )
inlineoverride

Definition at line 58 of file StudyTriggerHLT.cc.

58 {}

Member Function Documentation

◆ analyze()

void StudyTriggerHLT::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 130 of file StudyTriggerHLT.cc.

130  {
131  int RunNo = iEvent.id().run();
132  int EvtNo = iEvent.id().event();
133 
134  if (verbosity_ > 0)
135  edm::LogVerbatim("StudyHLT") << "RunNo " << RunNo << " EvtNo " << EvtNo << " Lumi " << iEvent.luminosityBlock()
136  << " Bunch " << iEvent.bunchCrossing();
137 
139  edm::Handle<trigger::TriggerEvent> triggerEventHandle;
140  iEvent.getByToken(tok_trigEvt, triggerEventHandle);
141 
142  if (!triggerEventHandle.isValid()) {
143  edm::LogWarning("StudyHLT") << "Error! Can't get the product " << triggerEvent_.label();
144  } else {
145  triggerEvent = *(triggerEventHandle.product());
146 
149  iEvent.getByToken(tok_trigRes, triggerResults);
150 
151  if (triggerResults.isValid()) {
152  h_nHLT->Fill(triggerResults->size());
153  h_nHLTvsRN->Fill(RunNo, triggerResults->size());
154 
155  const edm::TriggerNames& triggerNames = iEvent.triggerNames(*triggerResults);
156  const std::vector<std::string>& triggerNames_ = triggerNames.triggerNames();
157  for (unsigned int iHLT = 0; iHLT < triggerResults->size(); iHLT++) {
158  int ipos = -1;
159  std::string newtriggerName = truncate_str(triggerNames_[iHLT]);
160  for (unsigned int i = 0; i < HLTNames_.size(); ++i) {
161  if (newtriggerName == HLTNames_[i]) {
162  ipos = i + 1;
163  break;
164  }
165  }
166  if (ipos < 0) {
167  HLTNames_.push_back(newtriggerName);
168  ipos = (int)(HLTNames_.size());
169  if (ipos <= h_HLTAccept->GetNbinsX())
170  h_HLTAccept->GetXaxis()->SetBinLabel(ipos, newtriggerName.c_str());
171  }
172  if ((int)(iHLT + 1) > h_HLTAccepts[nRun_]->GetNbinsX()) {
173  edm::LogVerbatim("StudyHLT") << "Wrong trigger " << RunNo << " Event " << EvtNo << " Hlt " << iHLT;
174  } else {
175  if (firstEvent_)
176  h_HLTAccepts[nRun_]->GetXaxis()->SetBinLabel(iHLT + 1, newtriggerName.c_str());
177  }
178  int hlt = triggerResults->accept(iHLT);
179  if (hlt) {
180  h_HLTAccepts[nRun_]->Fill(iHLT + 1);
181  h_HLTAccept->Fill(ipos);
182  }
183  }
184  }
185  }
186  firstEvent_ = false;
187 
188  double globalMin = 1000;
189  edm::Handle<reco::MuonCollection> muonEventHandle;
190  iEvent.getByToken(tok_Muon_, muonEventHandle);
191  edm::Handle<reco::TrackCollection> trackEventHandle;
192  iEvent.getByToken(tok_genTrack_, trackEventHandle);
193  edm::LogVerbatim("StudyHLT") << "Muon Handle " << muonEventHandle.isValid() << " Track Handle "
194  << trackEventHandle.isValid();
195  for (reco::TrackCollection::const_iterator track1 = trackEventHandle->begin(); track1 != trackEventHandle->end();
196  ++track1) {
197  double localMin = 1000;
198  if (muonEventHandle.isValid()) {
199  for (reco::MuonCollection::const_iterator recMuon = muonEventHandle->begin(); recMuon != muonEventHandle->end();
200  ++recMuon) {
201  if (((recMuon->isPFMuon()) && (recMuon->isGlobalMuon() || recMuon->isTrackerMuon())) &&
202  (recMuon->innerTrack()->validFraction() > 0.49)) {
203  double chiGlobal = ((recMuon->globalTrack().isNonnull()) ? recMuon->globalTrack()->normalizedChi2() : 999);
204  bool goodGlob =
205  (recMuon->isGlobalMuon() && chiGlobal < 3 && recMuon->combinedQuality().chi2LocalPosition < 12 &&
206  recMuon->combinedQuality().trkKink < 20);
207  if (muon::segmentCompatibility(*recMuon) > (goodGlob ? 0.303 : 0.451)) {
208  double dr = reco::deltaR(track1->eta(), track1->phi(), recMuon->eta(), recMuon->phi());
209  if (dr < localMin) {
210  localMin = dr;
211  if (localMin < globalMin)
212  globalMin = localMin;
213  }
214  }
215  }
216  }
217  }
218  h_pt->Fill(track1->pt());
219  h_eta->Fill(track1->eta());
220  h_phi->Fill(track1->phi());
221  h_dr1->Fill(localMin);
222  if (track1->quality(trackQuality_))
223  h_dr3->Fill(localMin);
224  edm::LogVerbatim("StudyHLT") << "Track pT " << track1->pt() << " eta " << track1->eta() << " phi " << track1->phi()
225  << " minimum distance " << localMin;
226  }
227  edm::LogVerbatim("StudyHLT") << "GlobalMinimum = " << globalMin;
228  h_dr2->Fill(globalMin);
229 }

References reco::deltaR(), flavorHistoryFilter_cfi::dr, firstEvent_, h_dr1, h_dr2, h_dr3, h_eta, h_HLTAccept, h_HLTAccepts, h_nHLT, h_nHLTvsRN, h_phi, h_pt, ValidationMatrix::hlt, HLTNames_, mps_fire::i, iEvent, createfilelist::int, edm::HandleBase::isValid(), edm::InputTag::label(), nRun_, edm::Handle< T >::product(), muon::segmentCompatibility(), AlCaHLTBitMon_QueryRunRegistry::string, tok_genTrack_, tok_Muon_, tok_trigEvt, tok_trigRes, trackQuality_, PDWG_DiPhoton_SD_cff::triggerEvent, triggerEvent_, L1TEGammaOffline_cfi::triggerNames, triggerResults, truncate_str(), and verbosity_.

◆ beginJob()

void StudyTriggerHLT::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 231 of file StudyTriggerHLT.cc.

231  {
232  // Book histograms
233  h_nHLT = fs_->make<TH1I>("h_nHLT", "size of trigger Names", 1000, 0, 1000);
234  h_HLTAccept = fs_->make<TH1I>("h_HLTAccept", "HLT Accepts for all runs", 500, 0, 500);
235  for (int i = 1; i <= 500; ++i)
236  h_HLTAccept->GetXaxis()->SetBinLabel(i, " ");
237  h_nHLTvsRN = fs_->make<TH2I>("h_nHLTvsRN", "size of trigger Names vs RunNo", 300, 319200, 319500, 100, 400, 500);
238  h_pt = fs_->make<TH1D>("h_pt", "p_{t}", 50, 0, 20);
239  h_pt->Sumw2();
240  h_eta = fs_->make<TH1D>("h_eta", "#eta", 50, -3, 3);
241  h_eta->Sumw2();
242  h_phi = fs_->make<TH1D>("h_phi", "#phi", 50, -10, 10);
243  h_phi->Sumw2();
244  h_dr1 = fs_->make<TH1D>("dR1", "#Delta R (Track)", 1000, 0, 0.1);
245  h_dr1->Sumw2();
246  h_dr2 = fs_->make<TH1D>("dR2", "#Delta R (Global)", 3000, 0, 0.000003);
247  h_dr2->Sumw2();
248  h_dr3 = fs_->make<TH1D>("dR3", "#Delta R (Good Track)", 1000, 0, 0.1);
249  h_dr3->Sumw2();
250 }

References fs_, h_dr1, h_dr2, h_dr3, h_eta, h_HLTAccept, h_nHLT, h_nHLTvsRN, h_phi, h_pt, mps_fire::i, and TFileService::make().

◆ beginLuminosityBlock()

virtual void StudyTriggerHLT::beginLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
inlineprivatevirtual

Definition at line 67 of file StudyTriggerHLT.cc.

67 {}

◆ beginRun()

void StudyTriggerHLT::beginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprivate

Definition at line 253 of file StudyTriggerHLT.cc.

253  {
254  char hname[100], htit[400];
255  edm::LogVerbatim("StudyHLT") << "Run[" << nRun_ << "] " << iRun.run() << " hltconfig.init "
256  << hltConfig_.init(iRun, iSetup, "HLT", changed_);
257  sprintf(hname, "h_HLTAccepts_%i", iRun.run());
258  sprintf(htit, "HLT Accepts for Run No %i", iRun.run());
259  TH1I* hnew = fs_->make<TH1I>(hname, htit, 500, 0, 500);
260  for (int i = 1; i <= 500; ++i)
261  hnew->GetXaxis()->SetBinLabel(i, " ");
262  h_HLTAccepts.push_back(hnew);
263  edm::LogVerbatim("StudyHLT") << "beginRun " << iRun.run();
264  firstEvent_ = true;
265  changed_ = false;
266 }

References changed_, firstEvent_, fs_, h_HLTAccepts, hltConfig_, mps_fire::i, HLTConfigProvider::init(), TFileService::make(), nRun_, and edm::RunBase::run().

◆ endLuminosityBlock()

virtual void StudyTriggerHLT::endLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
inlineprivatevirtual

Definition at line 68 of file StudyTriggerHLT.cc.

68 {}

◆ endRun()

void StudyTriggerHLT::endRun ( edm::Run const &  iRun,
edm::EventSetup const &   
)
overrideprivate

Definition at line 269 of file StudyTriggerHLT.cc.

269  {
270  ++nRun_;
271  edm::LogVerbatim("StudyHLT") << "endRun[" << nRun_ << "] " << iRun.run();
272 }

References nRun_, and edm::RunBase::run().

◆ fillDescriptions()

void StudyTriggerHLT::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 121 of file StudyTriggerHLT.cc.

121  {
123  desc.add<int>("verbosity", 0);
124  desc.add<edm::InputTag>("labelMuon", edm::InputTag("muons", "", "RECO"));
125  desc.add<edm::InputTag>("labelTrack", edm::InputTag("generalTracks", "", "RECO"));
126  desc.add<std::string>("trackQuality", "highPurity");
127  descriptions.add("studyTriggerHLT", desc);
128 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ truncate_str()

std::string StudyTriggerHLT::truncate_str ( const std::string &  str)
private

Definition at line 274 of file StudyTriggerHLT.cc.

274  {
275  std::string truncated_str(str);
276  int length = str.length();
277  for (int i = 0; i < length - 2; i++) {
278  if (str[i] == '_' && str[i + 1] == 'v' && isdigit(str.at(i + 2))) {
279  int z = i + 1;
280  truncated_str = str.substr(0, z);
281  }
282  }
283  return (truncated_str);
284 }

References mps_fire::i, str, AlCaHLTBitMon_QueryRunRegistry::string, and z.

Referenced by analyze().

Member Data Documentation

◆ changed_

bool StudyTriggerHLT::changed_
private

Definition at line 81 of file StudyTriggerHLT.cc.

Referenced by beginRun(), and StudyTriggerHLT().

◆ firstEvent_

bool StudyTriggerHLT::firstEvent_
private

Definition at line 81 of file StudyTriggerHLT.cc.

Referenced by analyze(), beginRun(), and StudyTriggerHLT().

◆ fs_

edm::Service<TFileService> StudyTriggerHLT::fs_
private

Definition at line 74 of file StudyTriggerHLT.cc.

Referenced by beginJob(), and beginRun().

◆ h_dr1

TH1D * StudyTriggerHLT::h_dr1
private

Definition at line 92 of file StudyTriggerHLT.cc.

Referenced by analyze(), and beginJob().

◆ h_dr2

TH1D * StudyTriggerHLT::h_dr2
private

Definition at line 92 of file StudyTriggerHLT.cc.

Referenced by analyze(), and beginJob().

◆ h_dr3

TH1D * StudyTriggerHLT::h_dr3
private

Definition at line 92 of file StudyTriggerHLT.cc.

Referenced by analyze(), and beginJob().

◆ h_eta

TH1D * StudyTriggerHLT::h_eta
private

Definition at line 92 of file StudyTriggerHLT.cc.

Referenced by analyze(), and beginJob().

◆ h_HLTAccept

TH1I * StudyTriggerHLT::h_HLTAccept
private

Definition at line 89 of file StudyTriggerHLT.cc.

Referenced by analyze(), and beginJob().

◆ h_HLTAccepts

std::vector<TH1I*> StudyTriggerHLT::h_HLTAccepts
private

Definition at line 91 of file StudyTriggerHLT.cc.

Referenced by analyze(), and beginRun().

◆ h_HLTCorr

TH1I * StudyTriggerHLT::h_HLTCorr
private

Definition at line 89 of file StudyTriggerHLT.cc.

◆ h_nHLT

TH1I* StudyTriggerHLT::h_nHLT
private

Definition at line 89 of file StudyTriggerHLT.cc.

Referenced by analyze(), and beginJob().

◆ h_nHLTvsRN

TH2I* StudyTriggerHLT::h_nHLTvsRN
private

Definition at line 90 of file StudyTriggerHLT.cc.

Referenced by analyze(), and beginJob().

◆ h_phi

TH1D * StudyTriggerHLT::h_phi
private

Definition at line 92 of file StudyTriggerHLT.cc.

Referenced by analyze(), and beginJob().

◆ h_pt

TH1D* StudyTriggerHLT::h_pt
private

Definition at line 92 of file StudyTriggerHLT.cc.

Referenced by analyze(), and beginJob().

◆ hltConfig_

HLTConfigProvider StudyTriggerHLT::hltConfig_
private

Definition at line 73 of file StudyTriggerHLT.cc.

Referenced by beginRun().

◆ HLTNames_

std::vector<std::string> StudyTriggerHLT::HLTNames_
private

Definition at line 80 of file StudyTriggerHLT.cc.

Referenced by analyze().

◆ labelGenTrack_

const edm::InputTag StudyTriggerHLT::labelGenTrack_
private

Definition at line 78 of file StudyTriggerHLT.cc.

Referenced by StudyTriggerHLT().

◆ labelMuon_

const edm::InputTag StudyTriggerHLT::labelMuon_
private

Definition at line 78 of file StudyTriggerHLT.cc.

Referenced by StudyTriggerHLT().

◆ mediumMuon_

std::vector<bool> StudyTriggerHLT::mediumMuon_
private

Definition at line 88 of file StudyTriggerHLT.cc.

◆ newNames_

const std::vector<std::string> StudyTriggerHLT::newNames_
private

Definition at line 76 of file StudyTriggerHLT.cc.

◆ nRun_

int StudyTriggerHLT::nRun_
private

Definition at line 93 of file StudyTriggerHLT.cc.

Referenced by analyze(), beginRun(), and endRun().

◆ theTrackQuality_

const std::string StudyTriggerHLT::theTrackQuality_
private

Definition at line 79 of file StudyTriggerHLT.cc.

Referenced by StudyTriggerHLT().

◆ theTriggerResultsLabel_

const edm::InputTag StudyTriggerHLT::theTriggerResultsLabel_
private

Definition at line 77 of file StudyTriggerHLT.cc.

Referenced by StudyTriggerHLT().

◆ tok_genTrack_

edm::EDGetTokenT<reco::TrackCollection> StudyTriggerHLT::tok_genTrack_
private

Definition at line 87 of file StudyTriggerHLT.cc.

Referenced by analyze(), and StudyTriggerHLT().

◆ tok_Muon_

edm::EDGetTokenT<reco::MuonCollection> StudyTriggerHLT::tok_Muon_
private

Definition at line 86 of file StudyTriggerHLT.cc.

Referenced by analyze(), and StudyTriggerHLT().

◆ tok_trigEvt

edm::EDGetTokenT<trigger::TriggerEvent> StudyTriggerHLT::tok_trigEvt
private

Definition at line 84 of file StudyTriggerHLT.cc.

Referenced by analyze(), and StudyTriggerHLT().

◆ tok_trigRes

edm::EDGetTokenT<edm::TriggerResults> StudyTriggerHLT::tok_trigRes
private

Definition at line 85 of file StudyTriggerHLT.cc.

Referenced by analyze(), and StudyTriggerHLT().

◆ trackQuality_

reco::TrackBase::TrackQuality StudyTriggerHLT::trackQuality_
private

Definition at line 82 of file StudyTriggerHLT.cc.

Referenced by analyze(), and StudyTriggerHLT().

◆ triggerEvent_

const edm::InputTag StudyTriggerHLT::triggerEvent_
private

Definition at line 77 of file StudyTriggerHLT.cc.

Referenced by analyze(), and StudyTriggerHLT().

◆ trigNames_

const std::vector<std::string> StudyTriggerHLT::trigNames_
private

Definition at line 76 of file StudyTriggerHLT.cc.

◆ verbosity_

const int StudyTriggerHLT::verbosity_
private

Definition at line 75 of file StudyTriggerHLT.cc.

Referenced by analyze(), and StudyTriggerHLT().

StudyTriggerHLT::tok_Muon_
edm::EDGetTokenT< reco::MuonCollection > tok_Muon_
Definition: StudyTriggerHLT.cc:86
mps_fire.i
i
Definition: mps_fire.py:428
edm::Handle::product
T const * product() const
Definition: Handle.h:70
muon::segmentCompatibility
float segmentCompatibility(const reco::Muon &muon, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
Definition: MuonSelectors.cc:61
StudyTriggerHLT::verbosity_
const int verbosity_
Definition: StudyTriggerHLT.cc:75
StudyTriggerHLT::h_HLTAccepts
std::vector< TH1I * > h_HLTAccepts
Definition: StudyTriggerHLT.cc:91
StudyTriggerHLT::triggerEvent_
const edm::InputTag triggerEvent_
Definition: StudyTriggerHLT.cc:77
StudyTriggerHLT::hltConfig_
HLTConfigProvider hltConfig_
Definition: StudyTriggerHLT.cc:73
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89281
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
triggerResults
static const std::string triggerResults
Definition: EdmProvDump.cc:45
StudyTriggerHLT::tok_genTrack_
edm::EDGetTokenT< reco::TrackCollection > tok_genTrack_
Definition: StudyTriggerHLT.cc:87
StudyTriggerHLT::h_dr1
TH1D * h_dr1
Definition: StudyTriggerHLT.cc:92
StudyTriggerHLT::theTrackQuality_
const std::string theTrackQuality_
Definition: StudyTriggerHLT.cc:79
edm::Handle< trigger::TriggerEvent >
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
StudyTriggerHLT::h_phi
TH1D * h_phi
Definition: StudyTriggerHLT.cc:92
StudyTriggerHLT::labelGenTrack_
const edm::InputTag labelGenTrack_
Definition: StudyTriggerHLT.cc:78
StudyTriggerHLT::trackQuality_
reco::TrackBase::TrackQuality trackQuality_
Definition: StudyTriggerHLT.cc:82
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
StudyTriggerHLT::tok_trigEvt
edm::EDGetTokenT< trigger::TriggerEvent > tok_trigEvt
Definition: StudyTriggerHLT.cc:84
L1TEGammaOffline_cfi.triggerNames
triggerNames
Definition: L1TEGammaOffline_cfi.py:40
StudyTriggerHLT::fs_
edm::Service< TFileService > fs_
Definition: StudyTriggerHLT.cc:74
DDAxes::z
StudyTriggerHLT::HLTNames_
std::vector< std::string > HLTNames_
Definition: StudyTriggerHLT.cc:80
str
#define str(s)
Definition: TestProcessor.cc:52
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
StudyTriggerHLT::h_HLTAccept
TH1I * h_HLTAccept
Definition: StudyTriggerHLT.cc:89
StudyTriggerHLT::h_dr3
TH1D * h_dr3
Definition: StudyTriggerHLT.cc:92
StudyTriggerHLT::h_nHLTvsRN
TH2I * h_nHLTvsRN
Definition: StudyTriggerHLT.cc:90
createfilelist.int
int
Definition: createfilelist.py:10
iEvent
int iEvent
Definition: GenABIO.cc:224
StudyTriggerHLT::h_dr2
TH1D * h_dr2
Definition: StudyTriggerHLT.cc:92
StudyTriggerHLT::tok_trigRes
edm::EDGetTokenT< edm::TriggerResults > tok_trigRes
Definition: StudyTriggerHLT.cc:85
StudyTriggerHLT::h_nHLT
TH1I * h_nHLT
Definition: StudyTriggerHLT.cc:89
trigger::TriggerEvent
The single EDProduct to be saved for each event (AOD case)
Definition: TriggerEvent.h:25
StudyTriggerHLT::nRun_
int nRun_
Definition: StudyTriggerHLT.cc:93
PDWG_DiPhoton_SD_cff.triggerEvent
triggerEvent
Definition: PDWG_DiPhoton_SD_cff.py:39
reco::TrackBase::qualityByName
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:126
StudyTriggerHLT::labelMuon_
const edm::InputTag labelMuon_
Definition: StudyTriggerHLT.cc:78
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
HLTConfigProvider::init
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
Definition: HLTConfigProvider.cc:36
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
flavorHistoryFilter_cfi.dr
dr
Definition: flavorHistoryFilter_cfi.py:37
TFileService::kSharedResource
static const std::string kSharedResource
Definition: TFileService.h:76
edm::TriggerNames
Definition: TriggerNames.h:55
StudyTriggerHLT::changed_
bool changed_
Definition: StudyTriggerHLT.cc:81
reco::deltaR
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:30
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
StudyTriggerHLT::firstEvent_
bool firstEvent_
Definition: StudyTriggerHLT.cc:81
StudyTriggerHLT::h_pt
TH1D * h_pt
Definition: StudyTriggerHLT.cc:92
StudyTriggerHLT::truncate_str
std::string truncate_str(const std::string &)
Definition: StudyTriggerHLT.cc:274
StudyTriggerHLT::h_eta
TH1D * h_eta
Definition: StudyTriggerHLT.cc:92
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::InputTag
Definition: InputTag.h:15
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
StudyTriggerHLT::theTriggerResultsLabel_
const edm::InputTag theTriggerResultsLabel_
Definition: StudyTriggerHLT.cc:77
ValidationMatrix.hlt
hlt
Definition: ValidationMatrix.py:459