ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/TotoAnalyzer.h
Revision: 1.25
Committed: Fri Oct 23 14:23:02 2009 UTC (15 years, 6 months ago) by lethuill
Content type: text/plain
Branch: MAIN
CVS Tags: all_3_3_2_01, all_3_2_5_02, HEAD
Changes since 1.24: +3 -0 lines
Log Message:
New TRootBardak class to stock temporary variables

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/ZeeVertexAnalyzer.h"
32 #include "../interface/TrackAnalyzer.h"
33 #include "../interface/JetAnalyzer.h"
34 #include "../interface/MuonAnalyzer.h"
35 #include "../interface/ElectronAnalyzer.h"
36 #include "../interface/PhotonAnalyzer.h"
37 #include "../interface/ClusterAnalyzer.h"
38 #include "../interface/SuperClusterAnalyzer.h"
39 #include "../interface/METAnalyzer.h"
40 #include "../interface/ClusterAssociator.h"
41 #include "../interface/ElectronAssociator.h"
42 #include "../interface/PhotonAssociator.h"
43 #include "../interface/PhotonIsolator.h"
44 #include "../interface/AmbiguitySolver.h"
45
46 #include "../interface/TRootRun.h"
47 #include "../interface/TRootEvent.h"
48 #include "../interface/TRootSignalEvent.h"
49 #include "../interface/TRootParticle.h"
50 #include "../interface/TRootMCParticle.h"
51 #include "../interface/TRootBeamSpot.h"
52 #include "../interface/TRootVertex.h"
53 #include "../interface/TRootTrack.h"
54 #include "../interface/TRootJet.h"
55 #include "../interface/TRootMuon.h"
56 #include "../interface/TRootElectron.h"
57 #include "../interface/TRootPhoton.h"
58 #include "../interface/TRootCluster.h"
59 #include "../interface/TRootSuperCluster.h"
60 #include "../interface/TRootMET.h"
61 #include "../interface/TRootBardak.h"
62
63 #include "TFile.h"
64 #include "TTree.h"
65 #include "TClonesArray.h"
66
67
68 class TotoAnalyzer : public edm::EDAnalyzer
69 {
70
71 public:
72 explicit TotoAnalyzer(const edm::ParameterSet&);
73 ~TotoAnalyzer();
74
75 private:
76 virtual void beginJob(const edm::EventSetup&) ;
77 virtual void analyze(const edm::Event&, const edm::EventSetup&);
78 virtual void endJob() ;
79
80 edm::ParameterSet myConfig_;
81 edm::ParameterSet producersNames_;
82
83 int verbosity_;
84 bool allowMissingCollection_;
85 std::string rootFileName_ ;
86 TFile* rootFile_ ;
87 TTree* eventTree_;
88 TTree* runTree_;
89 std::string dataType_ ;
90 double datasetXsection_;
91 std::string datasetDesciption_;
92 bool doHLT_;
93 bool doMC_;
94 bool doJetMC_;
95 bool doMETMC_;
96 bool doPDFInfo_;
97 bool doSignalMuMuGamma_;
98 bool doSignalTopTop_;
99 bool doPhotonConversionMC_;
100 bool drawMCTree_;
101 bool doBeamSpot_;
102 bool doPrimaryVertex_;
103 bool doZeePrimaryVertex_;
104 bool doTrack_;
105 bool doJet_;
106 bool doMuon_;
107 bool doElectron_;
108 bool doPhoton_;
109 bool doCluster_;
110 bool doPhotonConversion_;
111 bool doPhotonIsolation_;
112 bool doMET_;
113 bool doBardak_;
114
115 ConversionLikelihoodCalculator* conversionLikelihoodCalculator_;
116
117 int nTotEvt_;
118 TRootRun* runInfos_;
119 TRootEvent* rootEvent_;
120 HLTAnalyzer* hltAnalyzer_;
121 TClonesArray* rootMCParticles_;
122 TClonesArray* rootGenJets_;
123 TClonesArray* rootGenMETs_;
124 TRootSignalEvent* rootMuMuGammaEvent_;
125 TClonesArray* rootMCTopTop_;
126 TClonesArray* rootMCPhotons_;
127 TRootBeamSpot* rootBeamSpot_;
128 TClonesArray* rootVertices_;
129 TClonesArray* rootZeeVertices_;
130 TClonesArray* rootTracks_;
131 TClonesArray* rootJets_;
132 TClonesArray* rootMuons_;
133 TClonesArray* rootElectrons_;
134 TClonesArray* rootPhotons_;
135 TClonesArray* rootBasicClusters_;
136 TClonesArray* rootSuperClusters_;
137 TClonesArray* rootConversionTracks_;
138 TClonesArray* rootMETs_;
139 TRootBardak* rootBardak_;
140
141 };
142
143 #endif