ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/TotoAnalyzer.h
Revision: 1.22
Committed: Mon Jun 29 14:43:15 2009 UTC (15 years, 10 months ago) by lethuill
Content type: text/plain
Branch: MAIN
CVS Tags: all_2_2_9_02
Changes since 1.21: +1 -0 lines
Log Message:
Add Electron/Superclusters association

File Contents

# Content
1 #ifndef TotoAnalyzer_h
2 #define TotoAnalyzer_h
3
4 // system include files
5 #include <memory>
6 #include <string>
7 #include <iostream>
8
9 // user include files
10 #include "FWCore/Framework/interface/Frameworkfwd.h"
11 #include "FWCore/Framework/interface/MakerMacros.h"
12 #include "FWCore/Framework/interface/EDAnalyzer.h"
13 #include "FWCore/Framework/interface/Event.h"
14 #include "DataFormats/Provenance/interface/EventID.h"
15 #include "FWCore/Framework/interface/EventSetup.h"
16 #include "FWCore/Framework/interface/ESHandle.h"
17 #include "FWCore/Utilities/interface/EDMException.h"
18 #include "FWCore/ParameterSet/interface/ParameterSet.h"
19 #include "FWCore/ParameterSet/interface/FileInPath.h"
20
21 #include "FWCore/Framework/interface/TriggerNames.h"
22 #include "DataFormats/Common/interface/TriggerResults.h"
23
24 #include "RecoEcal/EgammaCoreTools/interface/EcalClusterLazyTools.h"
25 #include "RecoEgamma/EgammaTools/interface/ConversionLikelihoodCalculator.h"
26
27 #include "../interface/HLTAnalyzer.h"
28 #include "../interface/MCAnalyzer.h"
29 #include "../interface/MCAssociator.h"
30 #include "../interface/VertexAnalyzer.h"
31 #include "../interface/TrackAnalyzer.h"
32 #include "../interface/JetAnalyzer.h"
33 #include "../interface/MuonAnalyzer.h"
34 #include "../interface/ElectronAnalyzer.h"
35 #include "../interface/PhotonAnalyzer.h"
36 #include "../interface/ClusterAnalyzer.h"
37 #include "../interface/SuperClusterAnalyzer.h"
38 #include "../interface/METAnalyzer.h"
39 #include "../interface/ClusterAssociator.h"
40 #include "../interface/ElectronAssociator.h"
41 #include "../interface/PhotonAssociator.h"
42 #include "../interface/PhotonIsolator.h"
43
44 #include "../interface/TRootRun.h"
45 #include "../interface/TRootEvent.h"
46 #include "../interface/TRootSignalEvent.h"
47 #include "../interface/TRootParticle.h"
48 #include "../interface/TRootMCParticle.h"
49 #include "../interface/TRootBeamSpot.h"
50 #include "../interface/TRootVertex.h"
51 #include "../interface/TRootTrack.h"
52 #include "../interface/TRootJet.h"
53 #include "../interface/TRootMuon.h"
54 #include "../interface/TRootElectron.h"
55 #include "../interface/TRootPhoton.h"
56 #include "../interface/TRootCluster.h"
57 #include "../interface/TRootSuperCluster.h"
58 #include "../interface/TRootMET.h"
59
60 #include "TFile.h"
61 #include "TTree.h"
62 #include "TClonesArray.h"
63
64
65 class TotoAnalyzer : public edm::EDAnalyzer
66 {
67
68 public:
69 explicit TotoAnalyzer(const edm::ParameterSet&);
70 ~TotoAnalyzer();
71
72 private:
73 virtual void beginJob(const edm::EventSetup&) ;
74 virtual void analyze(const edm::Event&, const edm::EventSetup&);
75 virtual void endJob() ;
76
77 edm::ParameterSet myConfig_;
78 edm::ParameterSet producersNames_;
79
80 int verbosity_;
81 bool allowMissingCollection_;
82 std::string rootFileName_ ;
83 TFile* rootFile_ ;
84 TTree* eventTree_;
85 TTree* runTree_;
86 std::string dataType_ ;
87 double datasetXsection_;
88 std::string datasetDesciption_;
89 bool doHLT_;
90 bool doMC_;
91 bool doJetMC_;
92 bool doMETMC_;
93 bool doPDFInfo_;
94 bool doSignalMuMuGamma_;
95 bool doSignalTopTop_;
96 bool doPhotonConversionMC_;
97 bool drawMCTree_;
98 bool doBeamSpot_;
99 bool doPrimaryVertex_;
100 bool doTrack_;
101 bool doJet_;
102 bool doMuon_;
103 bool doElectron_;
104 bool doPhoton_;
105 bool doCluster_;
106 bool doPhotonConversion_;
107 bool doPhotonIsolation_;
108 bool doMET_;
109
110 ConversionLikelihoodCalculator* conversionLikelihoodCalculator_;
111
112 int nTotEvt_;
113 TRootRun* runInfos_;
114 TRootEvent* rootEvent_;
115 HLTAnalyzer* hltAnalyzer_;
116 TClonesArray* rootMCParticles_;
117 TClonesArray* rootGenJets_;
118 TClonesArray* rootGenMETs_;
119 TRootSignalEvent* rootMuMuGammaEvent_;
120 TClonesArray* rootMCTopTop_;
121 TClonesArray* rootMCPhotons_;
122 TRootBeamSpot* rootBeamSpot_;
123 TClonesArray* rootVertices_;
124 TClonesArray* rootTracks_;
125 TClonesArray* rootJets_;
126 TClonesArray* rootMuons_;
127 TClonesArray* rootElectrons_;
128 TClonesArray* rootPhotons_;
129 TClonesArray* rootBasicClusters_;
130 TClonesArray* rootSuperClusters_;
131 TClonesArray* rootConversionTracks_;
132 TClonesArray* rootMETs_;
133
134 };
135
136 #endif