ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/python/plugins/HbbAnalyzer.hh
Revision: 1.2
Committed: Wed Apr 15 11:57:16 2009 UTC (16 years ago) by amagnan
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Error occurred while calculating annotation data.
Log Message:
oups...

File Contents

# Content
1 #ifndef HbbAnalysis_HbbAnalyzer_hh
2 #define HbbAnalysis_HbbAnalyzer_hh
3
4 #include <fstream>
5 #include <string>
6 #include <iostream>
7 #include <vector>
8
9 #include "FWCore/Framework/interface/EDAnalyzer.h"
10 #include "FWCore/Framework/interface/ESHandle.h"
11 #include "FWCore/Framework/interface/Event.h"
12 #include "FWCore/Framework/interface/EventSetup.h"
13 #include "FWCore/Framework/interface/TriggerNames.h"
14 #include "FWCore/ParameterSet/interface/ParameterSet.h"
15 //#include "DataFormats/Common/interface/Handle.h"
16
17 #include "UserCode/HbbAnalysis/interface/HistosMuons.hh"
18 #include "UserCode/HbbAnalysis/interface/HistosTaus.hh"
19 #include "UserCode/HbbAnalysis/interface/HistosJets.hh"
20
21
22 //#include "TFile.h"
23 #include "TH1F.h"
24
25 class HbbAnalyzer : public edm::EDAnalyzer {//class
26
27 public:
28
29 HbbAnalyzer(const edm::ParameterSet & pset);
30 ~HbbAnalyzer();
31
32 void beginJob(const edm::EventSetup&);
33 void analyze(const edm::Event& , const edm::EventSetup&);
34 void endJob();
35 void dumpContent(const edm::Event& aEvt, std::string aName, std::string aProcess);
36
37
38 private:
39
40 //void processFirstEvent(const edm::Event& aEvt, std::string aName, std::vector<std::string> & aProcVec);
41 //void InitialiseHistograms();
42 //void FillHistograms(std::string aDirName, std::string aSubDirName, unsigned int aIndex, double apT, double aEta, double aPhi);
43 //void SaveHistograms();
44
45 int debug_;
46 //TFile* file_;
47
48 edm::InputTag muonSrc_;
49 edm::InputTag tauSrc_;
50 edm::InputTag jetSrc_;
51 edm::InputTag pfjetSrc_;
52 edm::InputTag vertexSrc_;
53 edm::InputTag triggerSrc_;
54
55 //vector filled during processing with all existing collections
56 //std::vector<std::pair<std::string,std::string> > collections_;
57
58 //list of processes to consider to find input collections
59 //std::vector<std::string> processVec_;
60
61 HbbAnalysis::HistosMuons MuHist_;
62 HbbAnalysis::HistosMuons MuHistGenMatched_;
63 HbbAnalysis::HistosTaus TauHist_;
64 HbbAnalysis::HistosJets JetHist_;
65 HbbAnalysis::HistosJets PFJetHist_;
66
67 //TH1F *p_muonpT;
68 //TH1F *p_muoneta;
69 //TH1F *p_muonphi;
70
71
72 };//class
73
74
75 #endif //HbbAnalysis_HbbAnalyzer_hh