CMS 3D CMS Logo

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

#include <HLTInfo.h>

Public Member Functions

void analyze (const edm::Handle< edm::TriggerResults > &hltresults, const edm::Handle< l1extra::L1EmParticleCollection > &l1extemi, const edm::Handle< l1extra::L1EmParticleCollection > &l1extemn, const edm::Handle< l1extra::L1MuonParticleCollection > &l1extmu, const edm::Handle< l1extra::L1JetParticleCollection > &l1extjetc, const edm::Handle< l1extra::L1JetParticleCollection > &l1extjetf, const edm::Handle< l1extra::L1JetParticleCollection > &l1exttaujet, const edm::Handle< l1extra::L1EtMissParticleCollection > &l1extmet, const edm::Handle< l1extra::L1EtMissParticleCollection > &l1extmht, const edm::Handle< L1GlobalTriggerReadoutRecord > &l1GTRR, const edm::Handle< L1GctHFBitCountsCollection > &gctBitCounts, const edm::Handle< L1GctHFRingEtSumsCollection > &gctRingSums, edm::EventSetup const &eventSetup, edm::Event const &iEvent, TTree *tree)
 
void beginRun (const edm::Run &, const edm::EventSetup &)
 
 HLTInfo ()
 
void setup (const edm::ParameterSet &pSet, TTree *tree)
 

Private Attributes

bool _Debug
 
bool _OR_BXes
 
TString * algoBitToName
 
float ethad
 
float ettot
 
HLTConfigProvider hltConfig_
 
int HltEvtCnt
 
float * hltpeta
 
float * hltppt
 
int L1EvtCnt
 
float * l1extieme
 
float * l1extiemet
 
float * l1extiemeta
 
float * l1extiemphi
 
float * l1extjtce
 
float * l1extjtcet
 
float * l1extjtceta
 
float * l1extjtcphi
 
float * l1extjtfe
 
float * l1extjtfet
 
float * l1extjtfeta
 
float * l1extjtfphi
 
int * l1extmuchg
 
float * l1extmue
 
float * l1extmueta
 
int * l1extmufor
 
int * l1extmuiso
 
int * l1extmumip
 
float * l1extmuphi
 
float * l1extmupt
 
int * l1extmuqul
 
int * l1extmurpc
 
float * l1extneme
 
float * l1extnemet
 
float * l1extnemeta
 
float * l1extnemphi
 
float * l1exttaue
 
float * l1exttauet
 
float * l1exttaueta
 
float * l1exttauphi
 
int * l1flag
 
int * l1flag5Bx
 
int l1hfRing1EtSumNegativeEta
 
int l1hfRing1EtSumPositiveEta
 
int l1hfRing2EtSumNegativeEta
 
int l1hfRing2EtSumPositiveEta
 
int l1hfTowerCountNegativeEtaRing1
 
int l1hfTowerCountNegativeEtaRing2
 
int l1hfTowerCountPositiveEtaRing1
 
int l1hfTowerCountPositiveEtaRing2
 
int * l1Prescl
 
int * l1techflag
 
int * l1techflag5Bx
 
int * l1techPrescl
 
L1GtUtils m_l1GtUtils
 
float met
 
float metphi
 
float mht
 
float mhtphi
 
int nhltpart
 
int nl1extiem
 
int nl1extjetc
 
int nl1extjetf
 
int nl1extjt
 
int nl1extmu
 
int nl1extnem
 
int nl1exttau
 
std::string processName_
 
TString * techBitToName
 
int * trigflag
 
int * trigPrescl
 
int UnpackBxInEvent
 

Detailed Description

$Date: November 2006 $Revision:

Author
P. Bargassa - Rice U.

Definition at line 69 of file HLTInfo.h.

Constructor & Destructor Documentation

HLTInfo::HLTInfo ( )

Definition at line 24 of file HLTInfo.cc.

References _Debug, _OR_BXes, and UnpackBxInEvent.

24  {
25 
26  //set parameter defaults
27  _Debug=false;
28  _OR_BXes=false;
30 }
bool _Debug
Definition: HLTInfo.h:127
int UnpackBxInEvent
Definition: HLTInfo.h:124
bool _OR_BXes
Definition: HLTInfo.h:123

Member Function Documentation

void HLTInfo::analyze ( const edm::Handle< edm::TriggerResults > &  hltresults,
const edm::Handle< l1extra::L1EmParticleCollection > &  l1extemi,
const edm::Handle< l1extra::L1EmParticleCollection > &  l1extemn,
const edm::Handle< l1extra::L1MuonParticleCollection > &  l1extmu,
const edm::Handle< l1extra::L1JetParticleCollection > &  l1extjetc,
const edm::Handle< l1extra::L1JetParticleCollection > &  l1extjetf,
const edm::Handle< l1extra::L1JetParticleCollection > &  l1exttaujet,
const edm::Handle< l1extra::L1EtMissParticleCollection > &  l1extmet,
const edm::Handle< l1extra::L1EtMissParticleCollection > &  l1extmht,
const edm::Handle< L1GlobalTriggerReadoutRecord > &  l1GTRR,
const edm::Handle< L1GctHFBitCountsCollection > &  gctBitCounts,
const edm::Handle< L1GctHFRingEtSumsCollection > &  gctRingSums,
edm::EventSetup const &  eventSetup,
edm::Event const &  iEvent,
TTree *  tree 
)

Analyze the Data

Definition at line 177 of file HLTInfo.cc.

References _Debug, _OR_BXes, accept(), ExpressReco_HICollisions_FallBack::algo, algoBitToName, L1GtUtils::AlgorithmTrigger, gather_cfg::cout, ethad, ettot, edm::ParameterSet::exists(), edm::EventSetup::get(), edm::ParameterSet::getParameter(), edm::getParameterSet(), edm::Event::getProvenance(), L1GtTriggerMenu::gtAlgorithmMap(), L1GtTriggerMenu::gtTechnicalTriggerMap(), hltConfig_, HltEvtCnt, i, edm::HandleBase::id(), edm::HandleBase::isValid(), L1EvtCnt, l1extieme, l1extiemet, l1extiemeta, l1extiemphi, l1extjtce, l1extjtcet, l1extjtceta, l1extjtcphi, l1extjtfe, l1extjtfet, l1extjtfeta, l1extjtfphi, l1extmuchg, l1extmue, l1extmueta, l1extmufor, l1extmuiso, l1extmumip, l1extmuphi, l1extmupt, l1extmuqul, l1extmurpc, l1extneme, l1extnemet, l1extnemeta, l1extnemphi, l1exttaue, l1exttauet, l1exttaueta, l1exttauphi, l1flag, l1flag5Bx, l1hfRing1EtSumNegativeEta, l1hfRing1EtSumPositiveEta, l1hfRing2EtSumNegativeEta, l1hfRing2EtSumPositiveEta, l1hfTowerCountNegativeEtaRing1, l1hfTowerCountNegativeEtaRing2, l1hfTowerCountPositiveEtaRing1, l1hfTowerCountPositiveEtaRing2, l1Prescl, l1techflag, l1techflag5Bx, l1techPrescl, m_l1GtUtils, met, metphi, mht, mhtphi, nl1extiem, nl1extjetc, nl1extjetf, nl1extmu, nl1extnem, nl1exttau, L1GtUtils::prescaleFactor(), L1GtUtils::prescaleFactorSetIndex(), HLTConfigProvider::prescaleValue(), edm::ESHandle< class >::product(), edm::Provenance::psetID(), L1MuGMTCand::quality(), query::result, L1GtUtils::retrieveL1EventSetup(), python.multivaluedict::sort(), techBitToName, trigflag, edm::TriggerNames::triggerName(), edm::Event::triggerNames(), trigPrescl, and UnpackBxInEvent.

Referenced by HLTBitAnalyzer::analyze(), and HLTAnalyzer::analyze().

191  {
192 
193 // std::cout << " Beginning HLTInfo " << std::endl;
194 
195 
197  if (hltresults.isValid()) {
198  int ntrigs = hltresults->size();
199  if (ntrigs==0){std::cout << "%HLTInfo -- No trigger name given in TriggerResults of the input " << std::endl;}
200 
201  edm::TriggerNames const& triggerNames = iEvent.triggerNames(*hltresults);
202 
203  // 1st event : Book as many branches as trigger paths provided in the input...
204  if (HltEvtCnt==0){
205  for (int itrig = 0; itrig != ntrigs; ++itrig) {
206  TString trigName = triggerNames.triggerName(itrig);
207  HltTree->Branch(trigName,trigflag+itrig,trigName+"/I");
208  HltTree->Branch(trigName+"_Prescl",trigPrescl+itrig,trigName+"_Prescl/I");
209  }
210  HltEvtCnt++;
211  }
212  // ...Fill the corresponding accepts in branch-variables
213 
214  //std::cout << "Number of prescale sets: " << hltConfig_.prescaleSize() << std::endl;
215  //std::cout << "Number of HLT paths: " << hltConfig_.size() << std::endl;
216  //int presclSet = hltConfig_.prescaleSet(iEvent, eventSetup);
217  //std::cout<<"\tPrescale set number: "<< presclSet <<std::endl;
218 
219  for (int itrig = 0; itrig != ntrigs; ++itrig){
220 
221  std::string trigName=triggerNames.triggerName(itrig);
222  bool accept = hltresults->accept(itrig);
223 
224  trigPrescl[itrig] = hltConfig_.prescaleValue(iEvent, eventSetup, trigName);
225 
226 
227  if (accept){trigflag[itrig] = 1;}
228  else {trigflag[itrig] = 0;}
229 
230  if (_Debug){
231  if (_Debug) std::cout << "%HLTInfo -- Number of HLT Triggers: " << ntrigs << std::endl;
232  std::cout << "%HLTInfo -- HLTTrigger(" << itrig << "): " << trigName << " = " << accept << std::endl;
233  }
234  }
235  }
236  else { if (_Debug) std::cout << "%HLTInfo -- No Trigger Result" << std::endl;}
237 
239 
240  const int maxL1EmIsol = 4;
241  for (int i=0; i!=maxL1EmIsol; ++i){
242  l1extiemet[i] = -999.;
243  l1extieme[i] = -999.;
244  l1extiemeta[i] = -999.;
245  l1extiemphi[i] = -999.;
246  }
247  if (L1ExtEmIsol.isValid()) {
248  nl1extiem = maxL1EmIsol;
250  myl1iems = * L1ExtEmIsol;
251  std::sort(myl1iems.begin(),myl1iems.end(),EtGreater());
252  int il1exem = 0;
253  for (l1extra::L1EmParticleCollection::const_iterator emItr = myl1iems.begin(); emItr != myl1iems.end(); ++emItr) {
254  l1extiemet[il1exem] = emItr->et();
255  l1extieme[il1exem] = emItr->energy();
256  l1extiemeta[il1exem] = emItr->eta();
257  l1extiemphi[il1exem] = emItr->phi();
258  il1exem++;
259  }
260  }
261  else {
262  nl1extiem = 0;
263  if (_Debug) std::cout << "%HLTInfo -- No Isolated L1 EM object" << std::endl;
264  }
265 
266  const int maxL1EmNIsol = 4;
267  for (int i=0; i!=maxL1EmNIsol; ++i){
268  l1extnemet[i] = -999.;
269  l1extneme[i] = -999.;
270  l1extnemeta[i] = -999.;
271  l1extnemphi[i] = -999.;
272  }
273  if (L1ExtEmNIsol.isValid()) {
274  nl1extnem = maxL1EmNIsol;
276  myl1nems = * L1ExtEmNIsol;
277  std::sort(myl1nems.begin(),myl1nems.end(),EtGreater());
278  int il1exem = 0;
279  for (l1extra::L1EmParticleCollection::const_iterator emItr = myl1nems.begin(); emItr != myl1nems.end(); ++emItr) {
280  l1extnemet[il1exem] = emItr->et();
281  l1extneme[il1exem] = emItr->energy();
282  l1extnemeta[il1exem] = emItr->eta();
283  l1extnemphi[il1exem] = emItr->phi();
284  il1exem++;
285  }
286  }
287  else {
288  nl1extnem = 0;
289  if (_Debug) std::cout << "%HLTInfo -- No Non-Isolated L1 EM object" << std::endl;
290  }
291 
292  const int maxL1Mu = 4;
293  for (int i=0; i!=maxL1Mu; ++i){
294  l1extmupt[i] = -999.;
295  l1extmue[i] = -999.;
296  l1extmueta[i] = -999.;
297  l1extmuphi[i] = -999.;
298  l1extmuiso[i] = -999;
299  l1extmumip[i] = -999;
300  l1extmufor[i] = -999;
301  l1extmurpc[i] = -999;
302  l1extmuqul[i] = -999;
303  l1extmuchg[i] = -999;
304  }
305  if (L1ExtMu.isValid()) {
306  nl1extmu = maxL1Mu;
308  myl1mus = * L1ExtMu;
309  std::sort(myl1mus.begin(),myl1mus.end(),PtGreater());
310  int il1exmu = 0;
311  for (l1extra::L1MuonParticleCollection::const_iterator muItr = myl1mus.begin(); muItr != myl1mus.end(); ++muItr) {
312  l1extmupt[il1exmu] = muItr->pt();
313  l1extmue[il1exmu] = muItr->energy();
314  l1extmueta[il1exmu] = muItr->eta();
315  l1extmuphi[il1exmu] = muItr->phi();
316  l1extmuiso[il1exmu] = muItr->isIsolated(); // = 1 for Isolated ?
317  l1extmumip[il1exmu] = muItr->isMip(); // = 1 for Mip ?
318  l1extmufor[il1exmu] = muItr->isForward();
319  l1extmurpc[il1exmu] = muItr->isRPC();
320  l1extmuchg[il1exmu] = muItr->charge();
321  L1MuGMTExtendedCand gmtCand = muItr->gmtMuonCand();
322  l1extmuqul[il1exmu] = gmtCand.quality(); // Muon quality as defined in the GT
323  il1exmu++;
324  }
325  }
326  else {
327  nl1extmu = 0;
328  if (_Debug) std::cout << "%HLTInfo -- No L1 MU object" << std::endl;
329  }
330 
331  const int maxL1CenJet = 4;
332  for (int i=0; i!=maxL1CenJet; ++i){
333  l1extjtcet[i] = -999.;
334  l1extjtce[i] = -999.;
335  l1extjtceta[i] = -999.;
336  l1extjtcphi[i] = -999.;
337  }
338  if (L1ExtJetC.isValid()) {
339  nl1extjetc = maxL1CenJet;
341  myl1jetsc = * L1ExtJetC;
342  std::sort(myl1jetsc.begin(),myl1jetsc.end(),EtGreater());
343  int il1exjt = 0;
344  for (l1extra::L1JetParticleCollection::const_iterator jtItr = myl1jetsc.begin(); jtItr != myl1jetsc.end(); ++jtItr) {
345  l1extjtcet[il1exjt] = jtItr->et();
346  l1extjtce[il1exjt] = jtItr->energy();
347  l1extjtceta[il1exjt] = jtItr->eta();
348  l1extjtcphi[il1exjt] = jtItr->phi();
349  il1exjt++;
350  }
351  }
352  else {
353  nl1extjetc = 0;
354  if (_Debug) std::cout << "%HLTInfo -- No L1 Central JET object" << std::endl;
355  }
356 
357  const int maxL1ForJet = 4;
358  for (int i=0; i!=maxL1ForJet; ++i){
359  l1extjtfet[i] = -999.;
360  l1extjtfe[i] = -999.;
361  l1extjtfeta[i] = -999.;
362  l1extjtfphi[i] = -999.;
363  }
364  if (L1ExtJetF.isValid()) {
365  nl1extjetf = maxL1ForJet;
367  myl1jetsf = * L1ExtJetF;
368  std::sort(myl1jetsf.begin(),myl1jetsf.end(),EtGreater());
369  int il1exjt = 0;
370  for (l1extra::L1JetParticleCollection::const_iterator jtItr = myl1jetsf.begin(); jtItr != myl1jetsf.end(); ++jtItr) {
371  l1extjtfet[il1exjt] = jtItr->et();
372  l1extjtfe[il1exjt] = jtItr->energy();
373  l1extjtfeta[il1exjt] = jtItr->eta();
374  l1extjtfphi[il1exjt] = jtItr->phi();
375  il1exjt++;
376  }
377  }
378  else {
379  nl1extjetf = 0;
380  if (_Debug) std::cout << "%HLTInfo -- No L1 Forward JET object" << std::endl;
381  }
382 
383  const int maxL1TauJet = 4;
384  for (int i=0; i!=maxL1TauJet; ++i){
385  l1exttauet[i] = -999.;
386  l1exttaue[i] = -999.;
387  l1exttaueta[i] = -999.;
388  l1exttauphi[i] = -999.;
389  }
390  if (L1ExtTau.isValid()) {
391  nl1exttau = maxL1TauJet;
393  myl1taus = * L1ExtTau;
394  std::sort(myl1taus.begin(),myl1taus.end(),EtGreater());
395  int il1extau = 0;
396  for (l1extra::L1JetParticleCollection::const_iterator tauItr = myl1taus.begin(); tauItr != myl1taus.end(); ++tauItr) {
397  l1exttauet[il1extau] = tauItr->et();
398  l1exttaue[il1extau] = tauItr->energy();
399  l1exttaueta[il1extau] = tauItr->eta();
400  l1exttauphi[il1extau] = tauItr->phi();
401  il1extau++;
402  }
403  }
404  else {
405  nl1exttau = 0;
406  if (_Debug) std::cout << "%HLTInfo -- No L1 TAU object" << std::endl;
407  }
408 
409  if (L1ExtMet.isValid()) {
410  met = L1ExtMet->begin()->etMiss();
411  metphi = L1ExtMet->begin()->phi();
412  ettot = L1ExtMet->begin()->etTotal();
413  }
414  else {
415  if (_Debug) std::cout << "%HLTInfo -- No L1 MET object" << std::endl;
416  }
417 
418  if (L1ExtMht.isValid()) {
419  mht = L1ExtMht->begin()->etMiss();
420  mhtphi = L1ExtMht->begin()->phi();
421  ethad = L1ExtMht->begin()->etTotal();
422  }
423  else {
424  if (_Debug) std::cout << "%HLTInfo -- No L1 MHT object" << std::endl;
425  }
426 
427  //==============L1 information=======================================
428 
429  // L1 Triggers from Menu
430 
431  m_l1GtUtils.retrieveL1EventSetup(eventSetup);
433  eventSetup.get<L1GtTriggerMenuRcd>().get(menuRcd) ;
434  const L1GtTriggerMenu* menu = menuRcd.product();
435 
436  int iErrorCode = -1;
438  const int pfSetIndexAlgorithmTrigger = m_l1GtUtils.prescaleFactorSetIndex(
439  iEvent, trigCategory, iErrorCode);
440  if (iErrorCode == 0) {
441  if (_Debug) std::cout << "%Prescale set index: " << pfSetIndexAlgorithmTrigger << std::endl;
442  }else{
443  std::cout << "%Could not extract Prescale set index from event record. Error code: " << iErrorCode << std::endl;
444  }
445 
446  // 1st event : Book as many branches as trigger paths provided in the input...
447  if (L1GTRR.isValid()) {
448 
449  DecisionWord gtDecisionWord = L1GTRR->decisionWord();
450  const unsigned int numberTriggerBits(gtDecisionWord.size());
451  const TechnicalTriggerWord& technicalTriggerWordBeforeMask = L1GTRR->technicalTriggerWord();
452  const unsigned int numberTechnicalTriggerBits(technicalTriggerWordBeforeMask.size());
453 
454  // 1st event : Book as many branches as trigger paths provided in the input...
455  if (L1EvtCnt==0){
456 
457 
458  //ccla determine if more than 1 bx was unpacked in event; add OR all bx's if so
459  const edm::Provenance& prov = iEvent.getProvenance(L1GTRR.id());
460  //const string& procName = prov.processName();
461  edm::ParameterSetID setId = prov.psetID();
462  //std::cout << "procName:" << procName << std::endl;
463  //std::cout << "provinfo:" << prov << std::endl;
464  //std::cout << "setid:" << setId << std::endl;
466  //std::cout << "pset:" << pSet << std::endl;
467  if (pSet.exists("UnpackBxInEvent")){
468  UnpackBxInEvent = pSet.getParameter<int>("UnpackBxInEvent");
469  }
470  if (_Debug) std::cout << "Number of beam crossings unpacked by GT: " << UnpackBxInEvent << std::endl;
471  if (UnpackBxInEvent == 5) _OR_BXes = true;
472 
473  // get L1 menu from event setup
474  for (CItAlgo algo = menu->gtAlgorithmMap().begin(); algo!=menu->gtAlgorithmMap().end(); ++algo) {
475  if (_Debug) std::cout << "Name: " << (algo->second).algoName() << " Alias: " << (algo->second).algoAlias() << std::endl;
476  int itrig = (algo->second).algoBitNumber();
477  algoBitToName[itrig] = TString( (algo->second).algoName() );
478  HltTree->Branch(algoBitToName[itrig],l1flag+itrig,algoBitToName[itrig]+"/I");
479  HltTree->Branch(algoBitToName[itrig]+"_Prescl",l1Prescl+itrig,algoBitToName[itrig]+"_Prescl/I");
480  if (_OR_BXes)
481  HltTree->Branch(algoBitToName[itrig]+"_5bx",l1flag5Bx+itrig,algoBitToName[itrig]+"_5bx/I");
482  }
483 
484  // Book branches for tech bits
485  for (CItAlgo techTrig = menu->gtTechnicalTriggerMap().begin(); techTrig != menu->gtTechnicalTriggerMap().end(); ++techTrig) {
486  int itrig = (techTrig->second).algoBitNumber();
487  techBitToName[itrig] = TString( (techTrig->second).algoName() );
488  if (_Debug) std::cout << "tech bit " << itrig << ": " << techBitToName[itrig] << " " << std::endl;
489  HltTree->Branch(techBitToName[itrig],l1techflag+itrig,techBitToName[itrig]+"/I");
490  HltTree->Branch(techBitToName[itrig]+"_Prescl",l1techPrescl+itrig,techBitToName[itrig]+"_Prescl/I");
491  if (_OR_BXes)
492  HltTree->Branch(techBitToName[itrig]+"_5bx",l1techflag5Bx+itrig,techBitToName[itrig]+"_5bx/I");
493  }
494  }
495 
496  std::string triggerAlgTechTrig = "PhysicsAlgorithms";
497  for (unsigned int iBit = 0; iBit < numberTriggerBits; ++iBit) {
498  // ...Fill the corresponding accepts in branch-variables
499  l1flag[iBit] = gtDecisionWord[iBit];
500 
501  std::string l1triggername= std::string (algoBitToName[iBit]);
503  l1triggername,
504  iErrorCode);
505 
506  if (_Debug) std::cout << "L1 TD: "<<iBit<<" "<<algoBitToName[iBit]<<" "
507  << gtDecisionWord[iBit]<<" "
508  << l1Prescl[iBit] << std::endl;
509 
510  }
511 
512  triggerAlgTechTrig = "TechnicalTriggers";
513  for (unsigned int iBit = 0; iBit < numberTechnicalTriggerBits; ++iBit) {
514  l1techflag[iBit] = (int) technicalTriggerWordBeforeMask.at(iBit);
515 
516  std::string l1triggername= std::string (techBitToName[iBit]);
518  l1triggername,
519  iErrorCode);
520 
521  if (_Debug) std::cout << "L1 TD: "<<iBit<<" "<<techBitToName[iBit]<<" "
522  << l1techflag[iBit]<<" "
523  << l1Prescl[iBit] << std::endl;
524 
525  }
526 
527  if (_OR_BXes){
528  // look at all 5 bx window in case gt timing is off
529  // get Field Decision Logic
530  std::vector<DecisionWord> m_gtDecisionWord5Bx;
531  std::vector<TechnicalTriggerWord> m_gtTechDecisionWord5Bx;
532  std::vector<int> m_ibxn;
533 
534  const std::vector<L1GtFdlWord> &m_gtFdlWord(L1GTRR->gtFdlVector());
535  for (std::vector<L1GtFdlWord>::const_iterator itBx = m_gtFdlWord.begin();
536  itBx != m_gtFdlWord.end(); ++itBx) {
537  if (_Debug && L1EvtCnt==0) std::cout << "bx: " << (*itBx).bxInEvent() << " ";
538  m_gtDecisionWord5Bx.push_back((*itBx).gtDecisionWord());
539  m_gtTechDecisionWord5Bx.push_back((*itBx).gtTechnicalTriggerWord());
540  }
541  // --- Fill algo bits ---
542  for (unsigned int iBit = 0; iBit < numberTriggerBits; ++iBit) {
543  // ...Fill the corresponding accepts in branch-variables
544  if (_Debug) std::cout << std::endl << " L1 TD: "<<iBit<<" "<<algoBitToName[iBit]<<" ";
545  int result=0;
546  int bitword=0;
547  for (unsigned int jbx=0; jbx<m_gtDecisionWord5Bx.size(); ++jbx) {
548  if (_Debug) std::cout << m_gtDecisionWord5Bx[jbx][iBit]<< " ";
549  result += m_gtDecisionWord5Bx[jbx][iBit];
550  if (m_gtDecisionWord5Bx[jbx][iBit]>0) bitword |= 1 << jbx;
551  }
552  if (_Debug && result>1) {std::cout << "5BxOr=" << result << " Bitword= "<< bitword <<std::endl;
553  std::cout << "Unpacking: " ;
554  for (int i = 0; i<UnpackBxInEvent ; ++i){
555  bool bitOn=bitword & (1 << i);
556  std::cout << bitOn << " ";
557  }
558  std::cout << "\n";
559  }
560  l1flag5Bx[iBit] = bitword;
561  }
562  // --- Fill tech bits ---
563  for (unsigned int iBit = 0; iBit < m_gtTechDecisionWord5Bx[2].size(); ++iBit) {
564  // ...Fill the corresponding accepts in branch-variables
565  if (_Debug) std::cout << std::endl << " L1 TD: "<<iBit<<" "<<techBitToName[iBit]<<" ";
566  int result=0;
567  int bitword=0;
568  for (unsigned int jbx=0; jbx<m_gtTechDecisionWord5Bx.size(); ++jbx) {
569  if (_Debug) std::cout << m_gtTechDecisionWord5Bx[jbx][iBit]<< " ";
570  result += m_gtTechDecisionWord5Bx[jbx][iBit];
571  if (m_gtTechDecisionWord5Bx[jbx][iBit]>0) bitword |= 1 << jbx;
572  }
573  if (_Debug && result>1) {std::cout << "5BxOr=" << result << " Bitword= "<< bitword << std::endl;
574  std::cout << "Unpacking: " ;
575  for (int i = 0; i<UnpackBxInEvent ; ++i){
576  bool bitOn=bitword & (1 << i);
577  std::cout << bitOn << " ";
578  }
579  std::cout << "\n";
580  }
581  l1techflag5Bx[iBit] = bitword;
582  }
583  } // end of OR_BX
584 
585  L1EvtCnt++;
586  }
587  else {
588  if (_Debug) std::cout << "%HLTInfo -- No L1 GT ReadoutRecord " << std::endl;
589  }
590 
591  //
592  // LSB for feature bits = 0.125 GeV.
593  // The default LSB for the ring sums is 0.5 GeV.
594 
595  if (gctBitCounts.isValid()) {
596  L1GctHFBitCountsCollection::const_iterator bitCountItr;
597  for (bitCountItr=gctBitCounts->begin(); bitCountItr!=gctBitCounts->end(); ++bitCountItr) {
598  if (bitCountItr->bx()==0){ // select in-time beam crossing
599  l1hfTowerCountPositiveEtaRing1=bitCountItr->bitCount(0);
600  l1hfTowerCountNegativeEtaRing1=bitCountItr->bitCount(1);
601  l1hfTowerCountPositiveEtaRing2=bitCountItr->bitCount(2);
602  l1hfTowerCountNegativeEtaRing2=bitCountItr->bitCount(3);
603  }
604  }
605  } else {
606  if (_Debug) std::cout << "%HLTInfo -- No L1 Gct HF BitCounts" << std::endl;
607  }
608 
609  if (gctRingSums.isValid()) {
610  L1GctHFRingEtSumsCollection::const_iterator ringSumsItr;
611  for (ringSumsItr=gctRingSums->begin(); ringSumsItr!=gctRingSums->end(); ++ringSumsItr) {
612  if (ringSumsItr->bx()==0){ // select in-time beam crossing
613  l1hfRing1EtSumPositiveEta=ringSumsItr->etSum(0);
614  l1hfRing1EtSumNegativeEta=ringSumsItr->etSum(1);
615  l1hfRing2EtSumPositiveEta=ringSumsItr->etSum(2);
616  l1hfRing2EtSumNegativeEta=ringSumsItr->etSum(3);
617  }
618  }
619  } else {
620  if (_Debug) std::cout << "%HLTInfo -- No L1 Gct HF RingSums" << std::endl;
621  }
622 
623  if (_Debug) std::cout << "%HLTInfo -- Done with routine" << std::endl;
624 }
bool _Debug
Definition: HLTInfo.h:127
int L1EvtCnt
Definition: HLTInfo.h:107
T getParameter(std::string const &) const
int i
Definition: DBlmapReader.cc:9
int l1hfTowerCountNegativeEtaRing2
Definition: HLTInfo.h:113
int * l1extmuchg
Definition: HLTInfo.h:101
int nl1extmu
Definition: HLTInfo.h:107
L1GtUtils m_l1GtUtils
Definition: HLTInfo.h:120
int * l1Prescl
Definition: HLTInfo.h:109
float * l1extiemeta
Definition: HLTInfo.h:98
int * l1techPrescl
Definition: HLTInfo.h:109
float * l1extmupt
Definition: HLTInfo.h:100
TriggerCategory
Definition: L1GtUtils.h:59
ParameterSet const & getParameterSet(ParameterSetID const &id)
std::vector< L1JetParticle > L1JetParticleCollection
int l1hfRing1EtSumNegativeEta
Definition: HLTInfo.h:110
float metphi
Definition: HLTInfo.h:105
bool exists(std::string const &parameterName) const
checks if a parameter exists
float * l1exttauet
Definition: HLTInfo.h:104
float * l1extnemphi
Definition: HLTInfo.h:99
int nl1extiem
Definition: HLTInfo.h:107
float * l1extieme
Definition: HLTInfo.h:98
int * l1extmufor
Definition: HLTInfo.h:108
float ethad
Definition: HLTInfo.h:106
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:21
int l1hfRing2EtSumNegativeEta
Definition: HLTInfo.h:110
float * l1extjtfet
Definition: HLTInfo.h:103
AlgorithmMap::const_iterator CItAlgo
iterators through map containing the algorithms
ParameterSetID psetID() const
Definition: Provenance.cc:56
float * l1extjtcphi
Definition: HLTInfo.h:102
float * l1exttaue
Definition: HLTInfo.h:104
int l1hfTowerCountPositiveEtaRing2
Definition: HLTInfo.h:113
int l1hfTowerCountPositiveEtaRing1
Definition: HLTInfo.h:112
float * l1extmueta
Definition: HLTInfo.h:100
unsigned int prescaleValue(unsigned int set, const std::string &trigger) const
HLT prescale value in specific prescale set for a specific trigger path.
int iEvent
Definition: GenABIO.cc:243
int * l1techflag5Bx
Definition: HLTInfo.h:108
int UnpackBxInEvent
Definition: HLTInfo.h:124
TString * algoBitToName
Definition: HLTInfo.h:115
int * l1extmuqul
Definition: HLTInfo.h:108
std::vector< bool > DecisionWord
typedefs
float mht
Definition: HLTInfo.h:106
float * l1extjtceta
Definition: HLTInfo.h:102
int l1hfTowerCountNegativeEtaRing1
Definition: HLTInfo.h:112
tuple result
Definition: query.py:137
float * l1exttaueta
Definition: HLTInfo.h:104
int HltEvtCnt
Definition: HLTInfo.h:107
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
float met
Definition: HLTInfo.h:105
void retrieveL1EventSetup(const edm::EventSetup &)
retrieve all the relevant L1 trigger event setup records and cache them to improve the speed ...
Definition: L1GtUtils.cc:107
bool isValid() const
Definition: HandleBase.h:76
float * l1extnemet
Definition: HLTInfo.h:99
int nl1exttau
Definition: HLTInfo.h:107
float * l1extjtce
Definition: HLTInfo.h:102
int l1hfRing2EtSumPositiveEta
Definition: HLTInfo.h:111
int * l1flag
Definition: HLTInfo.h:108
TString * techBitToName
Definition: HLTInfo.h:116
int * l1extmumip
Definition: HLTInfo.h:108
float * l1extneme
Definition: HLTInfo.h:99
float * l1extnemeta
Definition: HLTInfo.h:99
bool _OR_BXes
Definition: HLTInfo.h:123
int * trigPrescl
Definition: HLTInfo.h:109
int nl1extjetf
Definition: HLTInfo.h:107
unsigned int quality() const
get quality
Definition: L1MuGMTCand.h:95
float * l1extmue
Definition: HLTInfo.h:100
int * l1techflag
Definition: HLTInfo.h:108
float * l1extmuphi
Definition: HLTInfo.h:100
std::string const & triggerName(unsigned int index) const
Definition: TriggerNames.cc:27
int nl1extnem
Definition: HLTInfo.h:107
T const * product() const
Definition: ESHandle.h:62
HLTConfigProvider hltConfig_
Definition: HLTInfo.h:119
int * l1extmurpc
Definition: HLTInfo.h:108
float * l1extjtfphi
Definition: HLTInfo.h:103
float ettot
Definition: HLTInfo.h:105
float * l1extiemet
Definition: HLTInfo.h:98
const int prescaleFactorSetIndex(const edm::Event &iEvent, const edm::InputTag &l1GtRecordInputTag, const edm::InputTag &l1GtReadoutRecordInputTag, const TriggerCategory &trigCategory, int &errorCode) const
Definition: L1GtUtils.cc:1496
float * l1extjtfe
Definition: HLTInfo.h:103
const AlgorithmMap & gtAlgorithmMap() const
get / set the algorithm map (by name)
float * l1extjtfeta
Definition: HLTInfo.h:103
float mhtphi
Definition: HLTInfo.h:106
int * trigflag
Definition: HLTInfo.h:108
int * l1flag5Bx
Definition: HLTInfo.h:108
tuple cout
Definition: gather_cfg.py:41
const AlgorithmMap & gtTechnicalTriggerMap() const
get / set the technical trigger map
float * l1extjtcet
Definition: HLTInfo.h:102
std::vector< L1EmParticle > L1EmParticleCollection
int l1hfRing1EtSumPositiveEta
Definition: HLTInfo.h:111
const int prescaleFactor(const edm::Event &iEvent, const edm::InputTag &l1GtRecordInputTag, const edm::InputTag &l1GtReadoutRecordInputTag, const std::string &nameAlgoTechTrig, int &errorCode) const
return prescale factor for a given algorithm or technical trigger
Definition: L1GtUtils.cc:1221
int * l1extmuiso
Definition: HLTInfo.h:108
std::vector< L1MuonParticle > L1MuonParticleCollection
int nl1extjetc
Definition: HLTInfo.h:107
float * l1extiemphi
Definition: HLTInfo.h:98
float * l1exttauphi
Definition: HLTInfo.h:104
void HLTInfo::beginRun ( const edm::Run run,
const edm::EventSetup c 
)

Definition at line 32 of file HLTInfo.cc.

References gather_cfg::cout, hltConfig_, HLTConfigProvider::init(), and processName_.

Referenced by HLTAnalyzer::beginRun().

32  {
33 
34 
35  bool changed(true);
36  if (hltConfig_.init(run,c,processName_,changed)) {
37  // if init returns TRUE, initialisation has succeeded!
38  if (changed) {
39  // The HLT config has actually changed wrt the previous Run, hence rebook your
40  // histograms or do anything else dependent on the revised HLT config
41  std::cout << "Initalizing HLTConfigProvider" << std::endl;
42  }
43  } else {
44  // if init returns FALSE, initialisation has NOT succeeded, which indicates a problem
45  // with the file and/or code and needs to be investigated!
46  std::cout << " HLT config extraction failure with process name " << processName_ << std::endl;
47  // In this case, all access methods will return empty values!
48  }
49 
50 }
std::string processName_
Definition: HLTInfo.h:121
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
HLTConfigProvider hltConfig_
Definition: HLTInfo.h:119
tuple cout
Definition: gather_cfg.py:41
void HLTInfo::setup ( const edm::ParameterSet pSet,
TTree *  tree 
)

Definition at line 53 of file HLTInfo.cc.

References _Debug, algoBitToName, ethad, ettot, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), HltEvtCnt, hltpeta, hltppt, L1EvtCnt, l1extieme, l1extiemet, l1extiemeta, l1extiemphi, l1extjtce, l1extjtcet, l1extjtceta, l1extjtcphi, l1extjtfe, l1extjtfet, l1extjtfeta, l1extjtfphi, l1extmuchg, l1extmue, l1extmueta, l1extmufor, l1extmuiso, l1extmumip, l1extmuphi, l1extmupt, l1extmuqul, l1extmurpc, l1extneme, l1extnemet, l1extnemeta, l1extnemphi, l1exttaue, l1exttauet, l1exttaueta, l1exttauphi, l1flag, l1flag5Bx, l1hfRing1EtSumNegativeEta, l1hfRing1EtSumPositiveEta, l1hfRing2EtSumNegativeEta, l1hfRing2EtSumPositiveEta, l1hfTowerCountNegativeEtaRing1, l1hfTowerCountNegativeEtaRing2, l1hfTowerCountPositiveEtaRing1, l1hfTowerCountPositiveEtaRing2, l1Prescl, l1techflag, l1techflag5Bx, l1techPrescl, met, metphi, mht, mhtphi, nl1extiem, nl1extjetc, nl1extjetf, nl1extmu, nl1extnem, nl1exttau, processName_, techBitToName, trigflag, and trigPrescl.

Referenced by HLTAnalyzer::HLTAnalyzer(), and HLTBitAnalyzer::HLTBitAnalyzer().

53  {
54 
55 
56  processName_ = pSet.getParameter<std::string>("HLTProcessName") ;
57 
58  edm::ParameterSet myHltParams = pSet.getParameter<edm::ParameterSet>("RunParameters") ;
59  std::vector<std::string> parameterNames = myHltParams.getParameterNames() ;
60 
61  for ( std::vector<std::string>::iterator iParam = parameterNames.begin();
62  iParam != parameterNames.end(); iParam++ ){
63  if ( (*iParam) == "Debug" ) _Debug = myHltParams.getParameter<bool>( *iParam );
64  }
65 
66  HltEvtCnt = 0;
67  const int kMaxTrigFlag = 10000;
68  trigflag = new int[kMaxTrigFlag];
69  trigPrescl = new int[kMaxTrigFlag];
70  L1EvtCnt = 0;
71  const int kMaxL1Flag = 10000;
72  l1flag = new int[kMaxL1Flag];
73  l1flag5Bx = new int[kMaxTrigFlag];
74  l1Prescl = new int[kMaxL1Flag];
75  l1techflag = new int[kMaxL1Flag];
76  l1techflag5Bx = new int[kMaxTrigFlag];
77  l1techPrescl = new int[kMaxTrigFlag];
78  const int kMaxHLTPart = 10000;
79  hltppt = new float[kMaxHLTPart];
80  hltpeta = new float[kMaxHLTPart];
81  const int kMaxL1ExtEmI = 10000;
82  l1extiemet = new float[kMaxL1ExtEmI];
83  l1extieme = new float[kMaxL1ExtEmI];
84  l1extiemeta = new float[kMaxL1ExtEmI];
85  l1extiemphi = new float[kMaxL1ExtEmI];
86  const int kMaxL1ExtEmN = 10000;
87  l1extnemet = new float[kMaxL1ExtEmN];
88  l1extneme = new float[kMaxL1ExtEmN];
89  l1extnemeta = new float[kMaxL1ExtEmN];
90  l1extnemphi = new float[kMaxL1ExtEmN];
91  const int kMaxL1ExtMu = 10000;
92  l1extmupt = new float[kMaxL1ExtMu];
93  l1extmue = new float[kMaxL1ExtMu];
94  l1extmueta = new float[kMaxL1ExtMu];
95  l1extmuphi = new float[kMaxL1ExtMu];
96  l1extmuiso = new int[kMaxL1ExtMu];
97  l1extmumip = new int[kMaxL1ExtMu];
98  l1extmufor = new int[kMaxL1ExtMu];
99  l1extmurpc = new int[kMaxL1ExtMu];
100  l1extmuqul = new int[kMaxL1ExtMu];
101  l1extmuchg = new int[kMaxL1ExtMu];
102  const int kMaxL1ExtJtC = 10000;
103  l1extjtcet = new float[kMaxL1ExtJtC];
104  l1extjtce = new float[kMaxL1ExtJtC];
105  l1extjtceta = new float[kMaxL1ExtJtC];
106  l1extjtcphi = new float[kMaxL1ExtJtC];
107  const int kMaxL1ExtJtF = 10000;
108  l1extjtfet = new float[kMaxL1ExtJtF];
109  l1extjtfe = new float[kMaxL1ExtJtF];
110  l1extjtfeta = new float[kMaxL1ExtJtF];
111  l1extjtfphi = new float[kMaxL1ExtJtF];
112  const int kMaxL1ExtTau = 10000;
113  l1exttauet = new float[kMaxL1ExtTau];
114  l1exttaue = new float[kMaxL1ExtTau];
115  l1exttaueta = new float[kMaxL1ExtTau];
116  l1exttauphi = new float[kMaxL1ExtTau];
117 
118  algoBitToName = new TString[128];
119  techBitToName = new TString[128];
120 
121  HltTree->Branch("NL1IsolEm",&nl1extiem,"NL1IsolEm/I");
122  HltTree->Branch("L1IsolEmEt",l1extiemet,"L1IsolEmEt[NL1IsolEm]/F");
123  HltTree->Branch("L1IsolEmE",l1extieme,"L1IsolEmE[NL1IsolEm]/F");
124  HltTree->Branch("L1IsolEmEta",l1extiemeta,"L1IsolEmEta[NL1IsolEm]/F");
125  HltTree->Branch("L1IsolEmPhi",l1extiemphi,"L1IsolEmPhi[NL1IsolEm]/F");
126  HltTree->Branch("NL1NIsolEm",&nl1extnem,"NL1NIsolEm/I");
127  HltTree->Branch("L1NIsolEmEt",l1extnemet,"L1NIsolEmEt[NL1NIsolEm]/F");
128  HltTree->Branch("L1NIsolEmE",l1extneme,"L1NIsolEmE[NL1NIsolEm]/F");
129  HltTree->Branch("L1NIsolEmEta",l1extnemeta,"L1NIsolEmEta[NL1NIsolEm]/F");
130  HltTree->Branch("L1NIsolEmPhi",l1extnemphi,"L1NIsolEmPhi[NL1NIsolEm]/F");
131  HltTree->Branch("NL1Mu",&nl1extmu,"NL1Mu/I");
132  HltTree->Branch("L1MuPt",l1extmupt,"L1MuPt[NL1Mu]/F");
133  HltTree->Branch("L1MuE",l1extmue,"L1MuE[NL1Mu]/F");
134  HltTree->Branch("L1MuEta",l1extmueta,"L1MuEta[NL1Mu]/F");
135  HltTree->Branch("L1MuPhi",l1extmuphi,"L1MuPhi[NL1Mu]/F");
136  HltTree->Branch("L1MuIsol",l1extmuiso,"L1MuIsol[NL1Mu]/I");
137  HltTree->Branch("L1MuMip",l1extmumip,"L1MuMip[NL1Mu]/I");
138  HltTree->Branch("L1MuFor",l1extmufor,"L1MuFor[NL1Mu]/I");
139  HltTree->Branch("L1MuRPC",l1extmurpc,"L1MuRPC[NL1Mu]/I");
140  HltTree->Branch("L1MuQal",l1extmuqul,"L1MuQal[NL1Mu]/I");
141  HltTree->Branch("L1MuChg",l1extmuchg,"L1MuChg[NL1Mu]/I");
142  HltTree->Branch("NL1CenJet",&nl1extjetc,"NL1CenJet/I");
143  HltTree->Branch("L1CenJetEt",l1extjtcet,"L1CenJetEt[NL1CenJet]/F");
144  HltTree->Branch("L1CenJetE",l1extjtce,"L1CenJetE[NL1CenJet]/F");
145  HltTree->Branch("L1CenJetEta",l1extjtceta,"L1CenJetEta[NL1CenJet]/F");
146  HltTree->Branch("L1CenJetPhi",l1extjtcphi,"L1CenJetPhi[NL1CenJet]/F");
147  HltTree->Branch("NL1ForJet",&nl1extjetf,"NL1ForJet/I");
148  HltTree->Branch("L1ForJetEt",l1extjtfet,"L1ForJetEt[NL1ForJet]/F");
149  HltTree->Branch("L1ForJetE",l1extjtfe,"L1ForJetE[NL1ForJet]/F");
150  HltTree->Branch("L1ForJetEta",l1extjtfeta,"L1ForJetEta[NL1ForJet]/F");
151  HltTree->Branch("L1ForJetPhi",l1extjtfphi,"L1ForJetPhi[NL1ForJet]/F");
152  HltTree->Branch("NL1Tau",&nl1exttau,"NL1Tau/I");
153  HltTree->Branch("L1TauEt",l1exttauet,"L1TauEt[NL1Tau]/F");
154  HltTree->Branch("L1TauE",l1exttaue,"L1TauE[NL1Tau]/F");
155  HltTree->Branch("L1TauEta",l1exttaueta,"L1TauEta[NL1Tau]/F");
156  HltTree->Branch("L1TauPhi",l1exttauphi,"L1TauPhi[NL1Tau]/F");
157  HltTree->Branch("L1Met",&met,"L1Met/F");
158  HltTree->Branch("L1MetPhi",&metphi,"L1MetPhi/F");
159  HltTree->Branch("L1EtTot",&ettot,"L1EtTot/F");
160  HltTree->Branch("L1Mht",&mht,"L1Mht/F");
161  HltTree->Branch("L1MhtPhi",&mhtphi,"L1MhtPhi/F");
162  HltTree->Branch("L1EtHad",&ethad,"L1EtHad/F");
163 
164  // L1GctJetCounts
165  HltTree->Branch("L1HfRing1EtSumPositiveEta",&l1hfRing1EtSumPositiveEta,"L1HfRing1EtSumPositiveEta/I");
166  HltTree->Branch("L1HfRing2EtSumPositiveEta",&l1hfRing2EtSumPositiveEta,"L1HfRing2EtSumPositiveEta/I");
167  HltTree->Branch("L1HfRing1EtSumNegativeEta",&l1hfRing1EtSumNegativeEta,"L1HfRing1EtSumNegativeEta/I");
168  HltTree->Branch("L1HfRing2EtSumNegativeEta",&l1hfRing2EtSumNegativeEta,"L1HfRing2EtSumNegativeEta/I");
169  HltTree->Branch("L1HfTowerCountPositiveEtaRing1",&l1hfTowerCountPositiveEtaRing1,"L1HfTowerCountPositiveEtaRing1/I");
170  HltTree->Branch("L1HfTowerCountNegativeEtaRing1",&l1hfTowerCountNegativeEtaRing1,"L1HfTowerCountNegativeEtaRing1/I");
171  HltTree->Branch("L1HfTowerCountPositiveEtaRing2",&l1hfTowerCountPositiveEtaRing2,"L1HfTowerCountPositiveEtaRing2/I");
172  HltTree->Branch("L1HfTowerCountNegativeEtaRing2",&l1hfTowerCountNegativeEtaRing2,"L1HfTowerCountNegativeEtaRing2/I");
173 
174 }
bool _Debug
Definition: HLTInfo.h:127
int L1EvtCnt
Definition: HLTInfo.h:107
T getParameter(std::string const &) const
int l1hfTowerCountNegativeEtaRing2
Definition: HLTInfo.h:113
int * l1extmuchg
Definition: HLTInfo.h:101
int nl1extmu
Definition: HLTInfo.h:107
int * l1Prescl
Definition: HLTInfo.h:109
float * l1extiemeta
Definition: HLTInfo.h:98
int * l1techPrescl
Definition: HLTInfo.h:109
float * l1extmupt
Definition: HLTInfo.h:100
int l1hfRing1EtSumNegativeEta
Definition: HLTInfo.h:110
float metphi
Definition: HLTInfo.h:105
float * l1exttauet
Definition: HLTInfo.h:104
float * hltpeta
Definition: HLTInfo.h:97
float * l1extnemphi
Definition: HLTInfo.h:99
int nl1extiem
Definition: HLTInfo.h:107
float * l1extieme
Definition: HLTInfo.h:98
int * l1extmufor
Definition: HLTInfo.h:108
float ethad
Definition: HLTInfo.h:106
int l1hfRing2EtSumNegativeEta
Definition: HLTInfo.h:110
float * l1extjtfet
Definition: HLTInfo.h:103
float * l1extjtcphi
Definition: HLTInfo.h:102
float * l1exttaue
Definition: HLTInfo.h:104
int l1hfTowerCountPositiveEtaRing2
Definition: HLTInfo.h:113
std::string processName_
Definition: HLTInfo.h:121
int l1hfTowerCountPositiveEtaRing1
Definition: HLTInfo.h:112
float * l1extmueta
Definition: HLTInfo.h:100
int * l1techflag5Bx
Definition: HLTInfo.h:108
TString * algoBitToName
Definition: HLTInfo.h:115
int * l1extmuqul
Definition: HLTInfo.h:108
float mht
Definition: HLTInfo.h:106
float * l1extjtceta
Definition: HLTInfo.h:102
int l1hfTowerCountNegativeEtaRing1
Definition: HLTInfo.h:112
float * l1exttaueta
Definition: HLTInfo.h:104
int HltEvtCnt
Definition: HLTInfo.h:107
float met
Definition: HLTInfo.h:105
std::vector< std::string > getParameterNames() const
float * l1extnemet
Definition: HLTInfo.h:99
int nl1exttau
Definition: HLTInfo.h:107
float * l1extjtce
Definition: HLTInfo.h:102
int l1hfRing2EtSumPositiveEta
Definition: HLTInfo.h:111
int * l1flag
Definition: HLTInfo.h:108
TString * techBitToName
Definition: HLTInfo.h:116
int * l1extmumip
Definition: HLTInfo.h:108
float * l1extneme
Definition: HLTInfo.h:99
float * l1extnemeta
Definition: HLTInfo.h:99
int * trigPrescl
Definition: HLTInfo.h:109
int nl1extjetf
Definition: HLTInfo.h:107
float * l1extmue
Definition: HLTInfo.h:100
int * l1techflag
Definition: HLTInfo.h:108
float * l1extmuphi
Definition: HLTInfo.h:100
int nl1extnem
Definition: HLTInfo.h:107
int * l1extmurpc
Definition: HLTInfo.h:108
float * l1extjtfphi
Definition: HLTInfo.h:103
float ettot
Definition: HLTInfo.h:105
float * l1extiemet
Definition: HLTInfo.h:98
float * l1extjtfe
Definition: HLTInfo.h:103
float * l1extjtfeta
Definition: HLTInfo.h:103
float mhtphi
Definition: HLTInfo.h:106
int * trigflag
Definition: HLTInfo.h:108
int * l1flag5Bx
Definition: HLTInfo.h:108
float * l1extjtcet
Definition: HLTInfo.h:102
int l1hfRing1EtSumPositiveEta
Definition: HLTInfo.h:111
float * hltppt
Definition: HLTInfo.h:97
int * l1extmuiso
Definition: HLTInfo.h:108
int nl1extjetc
Definition: HLTInfo.h:107
float * l1extiemphi
Definition: HLTInfo.h:98
float * l1exttauphi
Definition: HLTInfo.h:104

Member Data Documentation

bool HLTInfo::_Debug
private

Definition at line 127 of file HLTInfo.h.

Referenced by analyze(), HLTInfo(), and setup().

bool HLTInfo::_OR_BXes
private

Definition at line 123 of file HLTInfo.h.

Referenced by analyze(), and HLTInfo().

TString* HLTInfo::algoBitToName
private

Definition at line 115 of file HLTInfo.h.

Referenced by analyze(), and setup().

float HLTInfo::ethad
private

Definition at line 106 of file HLTInfo.h.

Referenced by analyze(), and setup().

float HLTInfo::ettot
private

Definition at line 105 of file HLTInfo.h.

Referenced by analyze(), and setup().

HLTConfigProvider HLTInfo::hltConfig_
private

Definition at line 119 of file HLTInfo.h.

Referenced by analyze(), and beginRun().

int HLTInfo::HltEvtCnt
private

Definition at line 107 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::hltpeta
private

Definition at line 97 of file HLTInfo.h.

Referenced by setup().

float* HLTInfo::hltppt
private

Definition at line 97 of file HLTInfo.h.

Referenced by setup().

int HLTInfo::L1EvtCnt
private

Definition at line 107 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extieme
private

Definition at line 98 of file HLTInfo.h.

Referenced by analyze(), and setup().

float* HLTInfo::l1extiemet
private

Definition at line 98 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extiemeta
private

Definition at line 98 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extiemphi
private

Definition at line 98 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extjtce
private

Definition at line 102 of file HLTInfo.h.

Referenced by analyze(), and setup().

float* HLTInfo::l1extjtcet
private

Definition at line 102 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extjtceta
private

Definition at line 102 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extjtcphi
private

Definition at line 102 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extjtfe
private

Definition at line 103 of file HLTInfo.h.

Referenced by analyze(), and setup().

float* HLTInfo::l1extjtfet
private

Definition at line 103 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extjtfeta
private

Definition at line 103 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extjtfphi
private

Definition at line 103 of file HLTInfo.h.

Referenced by analyze(), and setup().

int* HLTInfo::l1extmuchg
private

Definition at line 101 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extmue
private

Definition at line 100 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extmueta
private

Definition at line 100 of file HLTInfo.h.

Referenced by analyze(), and setup().

int * HLTInfo::l1extmufor
private

Definition at line 108 of file HLTInfo.h.

Referenced by analyze(), and setup().

int * HLTInfo::l1extmuiso
private

Definition at line 108 of file HLTInfo.h.

Referenced by analyze(), and setup().

int * HLTInfo::l1extmumip
private

Definition at line 108 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extmuphi
private

Definition at line 100 of file HLTInfo.h.

Referenced by analyze(), and setup().

float* HLTInfo::l1extmupt
private

Definition at line 100 of file HLTInfo.h.

Referenced by analyze(), and setup().

int * HLTInfo::l1extmuqul
private

Definition at line 108 of file HLTInfo.h.

Referenced by analyze(), and setup().

int * HLTInfo::l1extmurpc
private

Definition at line 108 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extneme
private

Definition at line 99 of file HLTInfo.h.

Referenced by analyze(), and setup().

float* HLTInfo::l1extnemet
private

Definition at line 99 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extnemeta
private

Definition at line 99 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1extnemphi
private

Definition at line 99 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1exttaue
private

Definition at line 104 of file HLTInfo.h.

Referenced by analyze(), and setup().

float* HLTInfo::l1exttauet
private

Definition at line 104 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1exttaueta
private

Definition at line 104 of file HLTInfo.h.

Referenced by analyze(), and setup().

float * HLTInfo::l1exttauphi
private

Definition at line 104 of file HLTInfo.h.

Referenced by analyze(), and setup().

int * HLTInfo::l1flag
private

Definition at line 108 of file HLTInfo.h.

Referenced by analyze(), and setup().

int * HLTInfo::l1flag5Bx
private

Definition at line 108 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::l1hfRing1EtSumNegativeEta
private

Definition at line 110 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::l1hfRing1EtSumPositiveEta
private

Definition at line 111 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::l1hfRing2EtSumNegativeEta
private

Definition at line 110 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::l1hfRing2EtSumPositiveEta
private

Definition at line 111 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::l1hfTowerCountNegativeEtaRing1
private

Definition at line 112 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::l1hfTowerCountNegativeEtaRing2
private

Definition at line 113 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::l1hfTowerCountPositiveEtaRing1
private

Definition at line 112 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::l1hfTowerCountPositiveEtaRing2
private

Definition at line 113 of file HLTInfo.h.

Referenced by analyze(), and setup().

int * HLTInfo::l1Prescl
private

Definition at line 109 of file HLTInfo.h.

Referenced by analyze(), and setup().

int * HLTInfo::l1techflag
private

Definition at line 108 of file HLTInfo.h.

Referenced by analyze(), and setup().

int * HLTInfo::l1techflag5Bx
private

Definition at line 108 of file HLTInfo.h.

Referenced by analyze(), and setup().

int * HLTInfo::l1techPrescl
private

Definition at line 109 of file HLTInfo.h.

Referenced by analyze(), and setup().

L1GtUtils HLTInfo::m_l1GtUtils
private

Definition at line 120 of file HLTInfo.h.

Referenced by analyze().

float HLTInfo::met
private

Definition at line 105 of file HLTInfo.h.

Referenced by analyze(), and setup().

float HLTInfo::metphi
private

Definition at line 105 of file HLTInfo.h.

Referenced by analyze(), and setup().

float HLTInfo::mht
private

Definition at line 106 of file HLTInfo.h.

Referenced by analyze(), and setup().

float HLTInfo::mhtphi
private

Definition at line 106 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::nhltpart
private

Definition at line 107 of file HLTInfo.h.

int HLTInfo::nl1extiem
private

Definition at line 107 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::nl1extjetc
private

Definition at line 107 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::nl1extjetf
private

Definition at line 107 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::nl1extjt
private

Definition at line 107 of file HLTInfo.h.

int HLTInfo::nl1extmu
private

Definition at line 107 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::nl1extnem
private

Definition at line 107 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::nl1exttau
private

Definition at line 107 of file HLTInfo.h.

Referenced by analyze(), and setup().

std::string HLTInfo::processName_
private

Definition at line 121 of file HLTInfo.h.

Referenced by beginRun(), and setup().

TString* HLTInfo::techBitToName
private

Definition at line 116 of file HLTInfo.h.

Referenced by analyze(), and setup().

int* HLTInfo::trigflag
private

Definition at line 108 of file HLTInfo.h.

Referenced by analyze(), and setup().

int* HLTInfo::trigPrescl
private

Definition at line 109 of file HLTInfo.h.

Referenced by analyze(), and setup().

int HLTInfo::UnpackBxInEvent
private

Definition at line 124 of file HLTInfo.h.

Referenced by analyze(), and HLTInfo().