CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTInfo.h
Go to the documentation of this file.
1 #ifndef HLTINFO_H
2 #define HLTINFO_H
3 
4 #include "TH1.h"
5 #include "TH2.h"
6 #include "TFile.h"
7 #include "TNamed.h"
8 #include <vector>
9 #include <map>
10 #include "TROOT.h"
11 #include "TChain.h"
12 
27 
29 
33 
34 //ccla
37 
38 /* #include "CalibFormats/CaloTPG/interface/CaloTPGTranscoder.h" */
39 /* #include "CalibFormats/CaloTPG/interface/CaloTPGRecord.h" */
40 /* #include "CondFormats/L1TObjects/interface/L1CaloEtScale.h" */
41 /* #include "CondFormats/DataRecord/interface/L1EmEtScaleRcd.h" */
42 /* #include "CondFormats/L1TObjects/interface/L1RCTParameters.h" */
43 /* #include "CondFormats/DataRecord/interface/L1RCTParametersRcd.h" */
44 /* #include "L1Trigger/RegionalCaloTrigger/interface/L1RCT.h" */
45 /* #include "L1Trigger/RegionalCaloTrigger/interface/L1RCTLookupTables.h" */
46 
49 
50 // #include "DataFormats/L1Trigger/interface/L1ParticleMap.h"
56 //#include "DataFormats/L1GlobalTrigger/interface/L1GtLogicParser.h"
57 
60 
61 typedef std::vector<std::string> MyStrings;
62 
69 class HLTInfo {
70 public:
71  HLTInfo();
72 
73  void setup(const edm::ParameterSet& pSet, TTree* tree);
74  void beginRun(const edm::Run& , const edm::EventSetup& );
75 
77  void analyze(const edm::Handle<edm::TriggerResults> & hltresults,
87  //const edm::Handle<l1extra::L1ParticleMapCollection> & l1mapcoll,
89  const edm::Handle<L1GctHFBitCountsCollection> & gctBitCounts,
90  const edm::Handle<L1GctHFRingEtSumsCollection> & gctRingSums,
91  edm::EventSetup const& eventSetup,
92  edm::Event const& iEvent,
93  TTree* tree);
94 
95 private:
96 
97  // Tree variables
98  float *hltppt, *hltpeta;
107  float met, metphi, ettot;
108  float mht, mhtphi, ethad;
110  //int L1EvtCnt,HltEvtCnt,nhltpart,nl1extiem,nl1extnem,nl1extmu,nl1extjetc,nl1extjetf,nl1extjt,nl1exttau;
117 
118  TString * algoBitToName;
119  TString * techBitToName;
120  std::vector<std::string> dummyBranches_;
121 
125 
126  bool _OR_BXes;
127  int UnpackBxInEvent; // save number of BXs unpacked in event
128 
129  // input variables
130  bool _Debug;
131 };
132 
133 #endif
bool _Debug
Definition: HLTInfo.h:130
int L1EvtCnt
Definition: HLTInfo.h:109
float * l1extjte
Definition: HLTInfo.h:105
std::vector< std::string > dummyBranches_
Definition: HLTInfo.h:120
int l1hfTowerCountNegativeEtaRing2
Definition: HLTInfo.h:116
int * l1extmuchg
Definition: HLTInfo.h:102
int nhltpart
Definition: HLTInfo.h:109
HLTInfo()
Definition: HLTInfo.cc:26
int nl1extmu
Definition: HLTInfo.h:109
L1GtUtils m_l1GtUtils
Definition: HLTInfo.h:123
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTInfo.cc:55
int * l1Prescl
Definition: HLTInfo.h:112
float * l1extiemeta
Definition: HLTInfo.h:99
int * l1techPrescl
Definition: HLTInfo.h:112
float * l1extmupt
Definition: HLTInfo.h:101
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 > &l1extjet, 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)
Definition: HLTInfo.cc:191
float * l1extjtphi
Definition: HLTInfo.h:105
int l1hfRing1EtSumNegativeEta
Definition: HLTInfo.h:113
float metphi
Definition: HLTInfo.h:107
float * l1exttauet
Definition: HLTInfo.h:106
float * hltpeta
Definition: HLTInfo.h:98
float * l1extnemphi
Definition: HLTInfo.h:100
int nl1extiem
Definition: HLTInfo.h:109
float * l1extieme
Definition: HLTInfo.h:99
int * l1extmufor
Definition: HLTInfo.h:111
float ethad
Definition: HLTInfo.h:108
int l1hfRing2EtSumNegativeEta
Definition: HLTInfo.h:113
float * l1extjtfet
Definition: HLTInfo.h:104
float * l1extjtcphi
Definition: HLTInfo.h:103
float * l1exttaue
Definition: HLTInfo.h:106
int l1hfTowerCountPositiveEtaRing2
Definition: HLTInfo.h:116
std::string processName_
Definition: HLTInfo.h:124
int l1hfTowerCountPositiveEtaRing1
Definition: HLTInfo.h:115
float * l1extmueta
Definition: HLTInfo.h:101
int iEvent
Definition: GenABIO.cc:230
int * l1techflag5Bx
Definition: HLTInfo.h:111
int UnpackBxInEvent
Definition: HLTInfo.h:127
TString * algoBitToName
Definition: HLTInfo.h:118
int * l1extmuqul
Definition: HLTInfo.h:111
float mht
Definition: HLTInfo.h:108
float * l1extjtceta
Definition: HLTInfo.h:103
int l1hfTowerCountNegativeEtaRing1
Definition: HLTInfo.h:115
float * l1extjtet
Definition: HLTInfo.h:105
int nl1extjt
Definition: HLTInfo.h:109
float * l1exttaueta
Definition: HLTInfo.h:106
int HltEvtCnt
Definition: HLTInfo.h:109
float met
Definition: HLTInfo.h:107
std::vector< std::string > MyStrings
EgammaCoreTools.
Definition: HLTAlCa.h:39
void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: HLTInfo.cc:34
float * l1extnemet
Definition: HLTInfo.h:100
int nl1exttau
Definition: HLTInfo.h:109
float * l1extjtce
Definition: HLTInfo.h:103
int l1hfRing2EtSumPositiveEta
Definition: HLTInfo.h:114
int * l1flag
Definition: HLTInfo.h:111
float * l1extjteta
Definition: HLTInfo.h:105
TString * techBitToName
Definition: HLTInfo.h:119
int * l1extmumip
Definition: HLTInfo.h:111
int nl1extjet
Definition: HLTInfo.h:109
float * l1extneme
Definition: HLTInfo.h:100
float * l1extnemeta
Definition: HLTInfo.h:100
bool _OR_BXes
Definition: HLTInfo.h:126
int * trigPrescl
Definition: HLTInfo.h:112
int nl1extjetf
Definition: HLTInfo.h:109
float * l1extmue
Definition: HLTInfo.h:101
int * l1techflag
Definition: HLTInfo.h:111
float * l1extmuphi
Definition: HLTInfo.h:101
int nl1extnem
Definition: HLTInfo.h:109
HLTConfigProvider hltConfig_
Definition: HLTInfo.h:122
int * l1extmurpc
Definition: HLTInfo.h:111
float * l1extjtfphi
Definition: HLTInfo.h:104
float ettot
Definition: HLTInfo.h:107
float * l1extiemet
Definition: HLTInfo.h:99
float * l1extjtfe
Definition: HLTInfo.h:104
float * l1extjtfeta
Definition: HLTInfo.h:104
float mhtphi
Definition: HLTInfo.h:108
int * trigflag
Definition: HLTInfo.h:111
int * l1flag5Bx
Definition: HLTInfo.h:111
float * l1extjtcet
Definition: HLTInfo.h:103
int l1hfRing1EtSumPositiveEta
Definition: HLTInfo.h:114
float * hltppt
Definition: HLTInfo.h:98
int * l1extmuiso
Definition: HLTInfo.h:111
int nl1extjetc
Definition: HLTInfo.h:109
float * l1extiemphi
Definition: HLTInfo.h:99
Definition: Run.h:41
float * l1exttauphi
Definition: HLTInfo.h:106