CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTAnalyzer.h
Go to the documentation of this file.
1 #include <iostream>
2 
13 
20 
22 
25 
27 
29 
35 
37 
39 
47 class HLTAnalyzer : public edm::EDAnalyzer {
48 public:
49  explicit HLTAnalyzer(edm::ParameterSet const& conf);
50  virtual void analyze(edm::Event const& e, edm::EventSetup const& iSetup);
51  virtual void beginRun(const edm::Run& , const edm::EventSetup& );
52  virtual void endJob();
53 
54  // static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
55 
56  // Analysis tree to be filled
57  TTree *HltTree;
58 
59 private:
60  // variables persistent across events should be declared here.
61  //
63 
70  /*
71  HLTAlCa alca_analysis_;
72  */
77 
80 
86  std::string l1extramc_, l1extramu_;
96 
100 
105 
106  //offline reco tau collection and discriminators
115 
116 
117  // btag OpenHLT input collections
135 
136  // egamma OpenHLT input collections
163  // add ECAL Activity
171 
172  // AlCa OpenHLT input collections
173  /*
174  edm::InputTag EERecHitTag_;
175  edm::InputTag EBRecHitTag_;
176  edm::InputTag pi0EERecHitTag_;
177  edm::InputTag pi0EBRecHitTag_;
178  edm::InputTag HBHERecHitTag_;
179  edm::InputTag HORecHitTag_;
180  edm::InputTag HFRecHitTag_;
181  */
185 
186 
187  // Track OpenHLT input collections
188 
192 
193  // Reco vertex collection
196 
198 
199  int errCnt;
200  static int errMax() { return 5; }
201 
202  std::string _HistName; // Name of histogram file
203  double _EtaMin,_EtaMax;
205  TFile* m_file; // pointer to Histogram file
206 
207 };
edm::InputTag L1IsoPixelSeeds_
Definition: HLTAnalyzer.h:153
HLTInfo hlt_analysis_
Definition: HLTAnalyzer.h:74
TFile * m_file
Definition: HLTAnalyzer.h:205
edm::InputTag IsoEleHcal_
Definition: HLTAnalyzer.h:149
edm::InputTag particleMapSource_
Definition: HLTAnalyzer.h:97
edm::InputTag L1NonIsoPixelSeeds_
Definition: HLTAnalyzer.h:154
edm::InputTag MuTrkIsolTag3_
Definition: HLTAnalyzer.h:101
edm::InputTag gctRingSums_
Definition: HLTAnalyzer.h:99
edm::InputTag MuIsolTag3_
Definition: HLTAnalyzer.h:101
edm::InputTag genmet_
Definition: HLTAnalyzer.h:81
edm::InputTag ActivityR9_
Definition: HLTAnalyzer.h:168
edm::InputTag m_lifetimeBJetsL3SingleTrack
Definition: HLTAnalyzer.h:128
edm::InputTag calotowersUpperR45_
Definition: HLTAnalyzer.h:82
edm::InputTag m_performanceBJetsL25L1FastJet
Definition: HLTAnalyzer.h:133
double treeWeight
Definition: HLTAnalyzer.h:79
edm::InputTag pileupInfo_
Definition: HLTAnalyzer.h:197
edm::InputTag PFJets_
Definition: HLTAnalyzer.h:104
edm::InputTag HFElectrons_
Definition: HLTAnalyzer.h:162
edm::InputTag PixelFEDSizeTag_
Definition: HLTAnalyzer.h:190
edm::InputTag Photon_
Definition: HLTAnalyzer.h:138
edm::InputTag hltcorL1L2L3jets_
Definition: HLTAnalyzer.h:83
edm::InputTag RecoPFTauDiscrByTanCQuarterPercent_
Definition: HLTAnalyzer.h:110
edm::InputTag m_l1extramet
Definition: HLTAnalyzer.h:94
edm::InputTag VertexTagHLT_
Definition: HLTAnalyzer.h:194
edm::InputTag HcalIsoPho_
Definition: HLTAnalyzer.h:143
edm::InputTag EcalIso_
Definition: HLTAnalyzer.h:141
TTree * HltTree
Definition: HLTAnalyzer.h:57
edm::InputTag calotowersNoR45_
Definition: HLTAnalyzer.h:82
EventHeader evt_header_
Default analyses.
Definition: HLTAnalyzer.h:64
edm::InputTag IsoEleTrackIsol_
Definition: HLTAnalyzer.h:151
edm::InputTag m_pfBJets
Definition: HLTAnalyzer.h:121
virtual void endJob()
Definition: HLTAnalyzer.cc:763
edm::InputTag Electron_
Definition: HLTAnalyzer.h:137
edm::InputTag hltresults_
Definition: HLTAnalyzer.h:81
edm::InputTag TrackerMuonTag_
Definition: HLTAnalyzer.h:102
edm::InputTag m_rawBJets
Definition: HLTAnalyzer.h:118
double _EtaMax
Definition: HLTAnalyzer.h:203
edm::InputTag IsoPixelTrackTagL2_
Definition: HLTAnalyzer.h:183
std::string l1extramc_
Definition: HLTAnalyzer.h:86
edm::InputTag DiMuVtx_
Definition: HLTAnalyzer.h:102
edm::InputTag IsoR9ID_
Definition: HLTAnalyzer.h:158
edm::InputTag CandIso_
Definition: HLTAnalyzer.h:139
edm::InputTag m_l1extrajet
Definition: HLTAnalyzer.h:92
edm::InputTag NonIsoHoverEH_
Definition: HLTAnalyzer.h:160
edm::InputTag m_lifetimePFBJetsL3
Definition: HLTAnalyzer.h:126
edm::InputTag IsoPhoTrackIsol_
Definition: HLTAnalyzer.h:145
edm::InputTag m_performanceBJetsL3
Definition: HLTAnalyzer.h:132
HLTTrack track_analysis_
Definition: HLTAnalyzer.h:73
double _MinPtGammas
Definition: HLTAnalyzer.h:204
edm::InputTag RecoPFTauDiscrByTanCOnePercent_
Definition: HLTAnalyzer.h:108
edm::InputTag ActivityHcalIso_
Definition: HLTAnalyzer.h:166
edm::InputTag HFECALClusters_
Definition: HLTAnalyzer.h:161
edm::InputTag m_performanceBJetsL25
Definition: HLTAnalyzer.h:131
edm::InputTag gtObjectMap_
Definition: HLTAnalyzer.h:98
double xSection_
Definition: HLTAnalyzer.h:79
edm::InputTag RecoPFTauDiscrByTanCHalfPercent_
Definition: HLTAnalyzer.h:109
double filterEff_
Definition: HLTAnalyzer.h:79
edm::InputTag m_lifetimeBJetsL3SingleTrackL1FastJet
Definition: HLTAnalyzer.h:130
edm::InputTag reccorjets_
Definition: HLTAnalyzer.h:81
edm::InputTag ECALActivity_
Definition: HLTAnalyzer.h:164
edm::InputTag CandNonIso_
Definition: HLTAnalyzer.h:140
edm::InputTag mctruth_
Definition: HLTAnalyzer.h:97
HLTJets jet_analysis_
Definition: HLTAnalyzer.h:65
edm::InputTag m_l1extramht
Definition: HLTAnalyzer.h:95
std::string _HistName
Definition: HLTAnalyzer.h:202
edm::InputTag IsoR9_
Definition: HLTAnalyzer.h:156
edm::InputTag NonIsoPhoTrackIsol_
Definition: HLTAnalyzer.h:146
virtual void analyze(edm::Event const &e, edm::EventSetup const &iSetup)
Definition: HLTAnalyzer.cc:237
edm::InputTag m_l1extramu
Definition: HLTAnalyzer.h:87
double _MinPtChargedHadrons
Definition: HLTAnalyzer.h:204
edm::InputTag hltcorjets_
Definition: HLTAnalyzer.h:83
edm::InputTag gctBitCounts_
Definition: HLTAnalyzer.h:99
edm::InputTag NonIsoElectron_
Definition: HLTAnalyzer.h:148
edm::InputTag VertexTagOffline0_
Definition: HLTAnalyzer.h:195
edm::InputTag NonIsoR9ID_
Definition: HLTAnalyzer.h:157
edm::InputTag m_correctedBJets
Definition: HLTAnalyzer.h:119
int firstLumi_
Definition: HLTAnalyzer.h:78
edm::InputTag ActivityEcalIso_
Definition: HLTAnalyzer.h:165
edm::InputTag RecoPFTauAgainstMuon_
Definition: HLTAnalyzer.h:113
edm::InputTag ActivityTrackIso_
Definition: HLTAnalyzer.h:167
edm::InputTag MuNoVtxCandTag2_
Definition: HLTAnalyzer.h:101
edm::InputTag PixelClustersTag_
Definition: HLTAnalyzer.h:191
edm::InputTag L2Tau_
Definition: HLTAnalyzer.h:103
edm::InputTag m_correctedBJetsL1FastJet
Definition: HLTAnalyzer.h:120
edm::InputTag recoPFMet_
Definition: HLTAnalyzer.h:81
std::string l1extramu_
Definition: HLTAnalyzer.h:86
edm::InputTag gtReadoutRecord_
Definition: HLTAnalyzer.h:98
edm::InputTag PFTauTightCone_
Definition: HLTAnalyzer.h:103
tuple conf
Definition: dbtoconf.py:185
edm::InputTag IsoPixelTrackVerticesTag_
Definition: HLTAnalyzer.h:184
edm::InputTag EcalNonIso_
Definition: HLTAnalyzer.h:142
edm::InputTag IsoElectron_
Definition: HLTAnalyzer.h:147
edm::InputTag ActivityR9ID_
Definition: HLTAnalyzer.h:169
edm::InputTag oniaPixelTag_
Definition: HLTAnalyzer.h:102
edm::InputTag MuCandTag3_
Definition: HLTAnalyzer.h:101
edm::InputTag MuIsolTag2_
Definition: HLTAnalyzer.h:101
edm::InputTag oniaTrackTag_
Definition: HLTAnalyzer.h:102
static int errMax()
Definition: HLTAnalyzer.h:200
edm::InputTag MuCandTag2_
Definition: HLTAnalyzer.h:101
HLTEgamma elm_analysis_
Definition: HLTAnalyzer.h:68
RECOVertex vrt_analysisOffline0_
Definition: HLTAnalyzer.h:76
edm::InputTag RecoPFTauDiscrByTanCTenthPercent_
Definition: HLTAnalyzer.h:111
edm::InputTag RecoPFTauAgainstElec_
Definition: HLTAnalyzer.h:114
HLTBJet bjet_analysis_
Definition: HLTAnalyzer.h:66
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: HLTAnalyzer.cc:231
edm::InputTag IsoPixelTrackTagL3_
Definition: HLTAnalyzer.h:182
edm::InputTag m_lifetimeBJetsL25SingleTrackL1FastJet
Definition: HLTAnalyzer.h:129
edm::InputTag HcalNonIsoPho_
Definition: HLTAnalyzer.h:144
edm::InputTag PFTau_
Definition: HLTAnalyzer.h:103
edm::InputTag m_lifetimeBJetsL3
Definition: HLTAnalyzer.h:123
edm::InputTag hltjets_
Definition: HLTAnalyzer.h:83
edm::InputTag calotowers_
Definition: HLTAnalyzer.h:81
edm::InputTag simhits_
Definition: HLTAnalyzer.h:97
edm::InputTag recoPFJets_
Definition: HLTAnalyzer.h:81
edm::InputTag m_l1extraemi
Definition: HLTAnalyzer.h:88
edm::InputTag HLTTau_
Definition: HLTAnalyzer.h:103
HLTMCtruth mct_analysis_
Definition: HLTAnalyzer.h:69
edm::InputTag genjets_
Definition: HLTAnalyzer.h:81
HLTMuon muon_analysis_
Definition: HLTAnalyzer.h:67
edm::InputTag pfmuon_
Definition: HLTAnalyzer.h:85
HLTAnalyzer(edm::ParameterSet const &conf)
Definition: HLTAnalyzer.cc:27
RECOVertex vrt_analysisHLT_
Definition: HLTAnalyzer.h:75
double _EtaMin
Definition: HLTAnalyzer.h:203
edm::InputTag m_lifetimeBJetsL3L1FastJet
Definition: HLTAnalyzer.h:125
edm::InputTag IsoHoverEH_
Definition: HLTAnalyzer.h:159
edm::InputTag NonIsoR9_
Definition: HLTAnalyzer.h:155
edm::InputTag ActivityHoverEH_
Definition: HLTAnalyzer.h:170
edm::InputTag NonIsoEleHcal_
Definition: HLTAnalyzer.h:150
edm::InputTag NonIsoEleTrackIsol_
Definition: HLTAnalyzer.h:152
edm::InputTag RecoPFTau_
Definition: HLTAnalyzer.h:107
edm::InputTag PixelTracksTagL3_
Definition: HLTAnalyzer.h:189
edm::InputTag muon_
Definition: HLTAnalyzer.h:84
edm::InputTag genEventInfo_
Definition: HLTAnalyzer.h:81
edm::InputTag recjets_
Definition: HLTAnalyzer.h:81
edm::InputTag m_l1extrajetf
Definition: HLTAnalyzer.h:91
edm::InputTag m_lifetimeBJetsL25
Definition: HLTAnalyzer.h:122
edm::InputTag recmet_
Definition: HLTAnalyzer.h:81
edm::InputTag m_lifetimeBJetsL25SingleTrack
Definition: HLTAnalyzer.h:127
edm::InputTag m_performanceBJetsL3L1FastJet
Definition: HLTAnalyzer.h:134
edm::InputTag m_l1extrajetc
Definition: HLTAnalyzer.h:90
Definition: Run.h:33
int towerThreshold_
Definition: HLTAnalyzer.h:78
edm::InputTag m_l1extraemn
Definition: HLTAnalyzer.h:89
edm::InputTag calotowersLowerR45_
Definition: HLTAnalyzer.h:82
edm::InputTag ht_
Definition: HLTAnalyzer.h:81
edm::InputTag m_lifetimeBJetsL25L1FastJet
Definition: HLTAnalyzer.h:124
edm::InputTag m_l1extrataujet
Definition: HLTAnalyzer.h:93
edm::InputTag RecoPFTauDiscrByIso_
Definition: HLTAnalyzer.h:112
edm::InputTag rho_
Definition: HLTAnalyzer.h:83