CMS 3D CMS Logo

HLTInfo.h
Go to the documentation of this file.
1 #ifndef HLTINFO_H
2 #define HLTINFO_H
3 
4 #include <vector>
5 #include <map>
6 
7 // ROOT
8 #include <TChain.h>
9 #include <TFile.h>
10 #include <TH1.h>
11 #include <TH2.h>
12 #include <TNamed.h>
13 #include <TROOT.h>
14 
15 // CMSSW
33 
34 #include "JetUtil.h"
35 
36 namespace edm {
37  class ConsumesCollector;
38  class ParameterSet;
39 } // namespace edm
40 
41 typedef std::vector<std::string> MyStrings;
42 
52 class HLTInfo {
53 public:
54  //HLTInfo();
55 
56  template <typename T>
58 
59  template <typename T>
61 
62  void setup(const edm::ParameterSet& pSet, TTree* tree);
63  void beginRun(const edm::Run&, const edm::EventSetup&);
64 
69  edm::Event const& iEvent,
70  TTree* tree);
71 
72 private:
73  HLTInfo();
74 
75  // Tree variables
76  float *hltppt, *hltpeta;
78 
81 
82  TString* algoBitToName;
83  TString* techBitToName;
84  std::vector<std::string> dummyBranches_;
85 
86  //HLTConfigProvider hltConfig_;
87  //L1GtUtils m_l1GtUtils;
88  std::unique_ptr<HLTPrescaleProvider> hltPrescaleProvider_;
90 
91  bool _OR_BXes;
92  int UnpackBxInEvent; // save number of BXs unpacked in event
93 
94  // input variables
95 
96  // L1 uGT menu
97  unsigned long long cache_id_;
98 
99  /*
100  edm::ESHandle<L1TUtmTriggerMenu> menu;
101  //std::map<std::string, L1TUtmAlgorithm> const & algorithmMap_;
102  const std::map<std::string, L1TUtmAlgorithm>* algorithmMap_;
103  */
104  bool _Debug;
105 };
106 
107 template <typename T>
109 
110 template <typename T>
113 }
114 
115 #endif
Handle.h
HLTInfo::UnpackBxInEvent
int UnpackBxInEvent
Definition: HLTInfo.h:92
L1TUtmTriggerMenuRcd.h
ESHandle.h
TriggerResults.h
HLTBitAnalyser_cfi.hltresults
hltresults
Definition: HLTBitAnalyser_cfi.py:13
edm::Run
Definition: Run.h:45
MyStrings
std::vector< std::string > MyStrings
Definition: HLTInfo.h:41
edm
HLT enums.
Definition: AlignableModifier.h:19
GlobalExtBlk.h
tree
Definition: tree.py:1
HLTInfo::_OR_BXes
bool _OR_BXes
Definition: HLTInfo.h:91
L1TUtmAlgorithm.h
HLTInfo::hltppt
float * hltppt
Definition: HLTInfo.h:76
edm::Handle< edm::TriggerResults >
HLTInfo::analyze
void analyze(const edm::Handle< edm::TriggerResults > &hltresults, const edm::Handle< GlobalAlgBlkBxCollection > &l1results, edm::EventSetup const &eventSetup, edm::Event const &iEvent, TTree *tree)
Definition: HLTInfo.cc:84
HLTInfo::dummyBranches_
std::vector< std::string > dummyBranches_
Definition: HLTInfo.h:84
CaloMETCollection.h
EventPrincipal.h
HcalDigiCollections.h
EcalDigiCollections.h
HLTInfo::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: HLTInfo.cc:29
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HLTInfo::l1techflag
int * l1techflag
Definition: HLTInfo.h:79
L1TUtmTriggerMenu.h
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
HLTInfo
Definition: HLTInfo.h:52
L1CaloCollections.h
iEvent
int iEvent
Definition: GenABIO.cc:224
GlobalAlgBlk.h
HLTPrescaleProvider
Definition: HLTPrescaleProvider.h:37
JetUtil.h
edm::EventSetup
Definition: EventSetup.h:57
HLTInfo::trigPrescl
int * trigPrescl
Definition: HLTInfo.h:80
module
Definition: vlib.h:198
HLTInfo::techBitToName
TString * techBitToName
Definition: HLTInfo.h:83
HLTInfo::l1flag5Bx
int * l1flag5Bx
Definition: HLTInfo.h:79
HLTInfo::setup
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTInfo.cc:47
HLTInfo::cache_id_
unsigned long long cache_id_
Definition: HLTInfo.h:97
HLTBitAnalyser_cfi.l1results
l1results
Definition: HLTBitAnalyser_cfi.py:8
HLTInfo::hltpeta
float * hltpeta
Definition: HLTInfo.h:76
HLTInfo::L1EvtCnt
int L1EvtCnt
Definition: HLTInfo.h:77
HLTInfo::algoBitToName
TString * algoBitToName
Definition: HLTInfo.h:82
HLTInfo::hltPrescaleProvider_
std::unique_ptr< HLTPrescaleProvider > hltPrescaleProvider_
Definition: HLTInfo.h:88
HLTInfo::processName_
std::string processName_
Definition: HLTInfo.h:89
T
long double T
Definition: Basic3DVectorLD.h:48
HLTInfo::_Debug
bool _Debug
Definition: HLTInfo.h:104
options_cfi.eventSetup
eventSetup
Definition: options_cfi.py:12
Provenance.h
HLTInfo::nhltpart
int nhltpart
Definition: HLTInfo.h:77
HLTInfo::HLTInfo
HLTInfo()
Definition: HLTInfo.cc:22
HLTPrescaleProvider.h
HLTInfo::l1techPrescl
int * l1techPrescl
Definition: HLTInfo.h:80
HLTInfo::l1flag
int * l1flag
Definition: HLTInfo.h:79
HLTInfo::l1Prescl
int * l1Prescl
Definition: HLTInfo.h:80
Candidate.h
HLTInfo::HltEvtCnt
int HltEvtCnt
Definition: HLTInfo.h:77
ParameterSet.h
HLTInfo::trigflag
int * trigflag
Definition: HLTInfo.h:79
edm::Event
Definition: Event.h:73
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27