ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/TotoAnalyzer.h
Revision: 1.14
Committed: Tue Dec 16 14:17:22 2008 UTC (16 years, 4 months ago) by lethuill
Content type: text/plain
Branch: MAIN
Changes since 1.13: +1 -0 lines
Log Message:
Add PDF Infos to TRootEvent

File Contents

# User Rev Content
1 mlethuil 1.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 lethuill 1.8 #include "DataFormats/Provenance/interface/EventID.h"
15 mlethuil 1.1 #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 mlethuil 1.7 #include "FWCore/ParameterSet/interface/FileInPath.h"
20    
21 mlethuil 1.6 #include "FWCore/Framework/interface/TriggerNames.h"
22     #include "DataFormats/Common/interface/TriggerResults.h"
23    
24 lethuill 1.10 #include "RecoEcal/EgammaCoreTools/interface/EcalClusterLazyTools.h"
25 mlethuil 1.7 #include "RecoEgamma/EgammaTools/interface/ConversionLikelihoodCalculator.h"
26    
27 lethuill 1.11 #include "../interface/HLTAnalyzer.h"
28     #include "../interface/MCAnalyzer.h"
29     #include "../interface/VertexAnalyzer.h"
30     #include "../interface/TrackAnalyzer.h"
31     #include "../interface/JetAnalyzer.h"
32     #include "../interface/MuonAnalyzer.h"
33     #include "../interface/ElectronAnalyzer.h"
34     #include "../interface/PhotonAnalyzer.h"
35     #include "../interface/ClusterAnalyzer.h"
36     #include "../interface/SuperClusterAnalyzer.h"
37     #include "../interface/METAnalyzer.h"
38     #include "../interface/ClusterAssociator.h"
39     #include "../interface/PhotonAssociator.h"
40     #include "../interface/PhotonIsolator.h"
41    
42     #include "../interface/TRootRun.h"
43     #include "../interface/TRootEvent.h"
44     #include "../interface/TRootSignalEvent.h"
45     #include "../interface/TRootParticle.h"
46     #include "../interface/TRootJet.h"
47     #include "../interface/TRootMuon.h"
48     #include "../interface/TRootElectron.h"
49     #include "../interface/TRootPhoton.h"
50     #include "../interface/TRootCluster.h"
51     #include "../interface/TRootSuperCluster.h"
52     #include "../interface/TRootMET.h"
53 mlethuil 1.1
54     #include "TFile.h"
55     #include "TTree.h"
56     #include "TClonesArray.h"
57    
58    
59    
60     class TotoAnalyzer : public edm::EDAnalyzer {
61     public:
62     explicit TotoAnalyzer(const edm::ParameterSet&);
63     ~TotoAnalyzer();
64    
65    
66     private:
67     virtual void beginJob(const edm::EventSetup&) ;
68     virtual void analyze(const edm::Event&, const edm::EventSetup&);
69     virtual void endJob() ;
70    
71 lethuill 1.9 edm::ParameterSet myConfig_;
72     edm::ParameterSet producersNames_;
73 mlethuil 1.1
74     int verbosity;
75     std::string rootFileName_ ;
76     TFile* rootFile_ ;
77 mlethuil 1.4 TTree* eventTree_;
78 lethuill 1.11 TTree* runTree_;
79     std::string dataType_ ;
80 mlethuil 1.5 bool isCSA07Soup;
81 mlethuil 1.4 bool doHLT;
82 mlethuil 1.1 bool doMC;
83 lethuill 1.14 bool doPDFInfo;
84 lethuill 1.13 bool doSignalMuMuGamma;
85     bool doSignalTopTop;
86 lethuill 1.12 bool doPrimaryVertex;
87 mlethuil 1.1 bool doTrack;
88     bool doJet;
89     bool doMuon;
90     bool doPhoton;
91     bool doElectron;
92     bool doCluster;
93 lethuill 1.10 bool doMET;
94 mlethuil 1.3 bool doPhotonIsolation;
95 mlethuil 1.2 bool doPhotonConversion;
96 mlethuil 1.6 bool doPhotonConversionMC;
97 lethuill 1.10 bool drawMCTree;
98 mlethuil 1.1
99 mlethuil 1.7 ConversionLikelihoodCalculator* conversionLikelihoodCalculator_;
100    
101 mlethuil 1.1 int nTotEvt_;
102 mlethuil 1.4 HLTAnalyzer* hltAnalyzer_;
103     TRootRun* runInfos_;
104 mlethuil 1.1 TRootEvent* rootEvent;
105 lethuill 1.13 TRootSignalEvent* rootMuMuGammaEvent;
106 mlethuil 1.1 TClonesArray* mcParticles;
107 mlethuil 1.6 TClonesArray* mcPhotons;
108 mlethuil 1.1 TClonesArray* tracks;
109     TClonesArray* jets;
110     TClonesArray* muons;
111     TClonesArray* electrons;
112 lethuill 1.9 TClonesArray* photons;
113 mlethuil 1.1 TClonesArray* clusters;
114     TClonesArray* superClusters;
115 mlethuil 1.2 TClonesArray* conversionTracks;
116 lethuill 1.11 TClonesArray* met;
117 lethuill 1.13 TClonesArray* rootMCTopTop;
118    
119 mlethuil 1.1 };
120    
121     #endif