ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/TotoAnalyzer.h
(Generate patch)

Comparing UserCode/Morgan/interface/TotoAnalyzer.h (file contents):
Revision 1.14 by lethuill, Tue Dec 16 14:17:22 2008 UTC vs.
Revision 1.23 by lethuill, Fri Jul 3 13:40:03 2009 UTC

# Line 26 | Line 26
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"
# Line 36 | Line 37
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 + #include "../interface/AmbiguitySolver.h"
44  
45   #include "../interface/TRootRun.h"
46   #include "../interface/TRootEvent.h"
47   #include "../interface/TRootSignalEvent.h"
48   #include "../interface/TRootParticle.h"
49 + #include "../interface/TRootMCParticle.h"
50 + #include "../interface/TRootBeamSpot.h"
51 + #include "../interface/TRootVertex.h"
52 + #include "../interface/TRootTrack.h"
53   #include "../interface/TRootJet.h"
54   #include "../interface/TRootMuon.h"
55   #include "../interface/TRootElectron.h"
# Line 56 | Line 63
63   #include "TClonesArray.h"
64  
65  
66 + class TotoAnalyzer : public edm::EDAnalyzer
67 + {
68  
69 < class TotoAnalyzer : public edm::EDAnalyzer {
70 < public:
71 <        explicit TotoAnalyzer(const edm::ParameterSet&);
72 <        ~TotoAnalyzer();
73 <        
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 <        std::string rootFileName_ ;
85 <        TFile* rootFile_ ;
86 <        TTree* eventTree_;
87 <        TTree* runTree_;        
88 <        std::string dataType_ ;
89 <        bool isCSA07Soup;
90 <        bool doHLT;
91 <        bool doMC;
92 <        bool doPDFInfo;
93 <        bool doSignalMuMuGamma;
94 <        bool doSignalTopTop;
95 <        bool doPrimaryVertex;
96 <        bool doTrack;
97 <        bool doJet;
98 <        bool doMuon;
99 <        bool doPhoton;
100 <        bool doElectron;
101 <        bool doCluster;
102 <        bool doMET;
103 <        bool doPhotonIsolation;
104 <        bool doPhotonConversion;
105 <        bool doPhotonConversionMC;
106 <        bool drawMCTree;
107 <        
108 <        ConversionLikelihoodCalculator* conversionLikelihoodCalculator_;
109 <        
110 <        int nTotEvt_;
111 <        HLTAnalyzer* hltAnalyzer_;
112 <        TRootRun* runInfos_;
113 <        TRootEvent* rootEvent;
114 <        TRootSignalEvent* rootMuMuGammaEvent;
115 <        TClonesArray* mcParticles;
116 <        TClonesArray* mcPhotons;
117 <        TClonesArray* tracks;
118 <        TClonesArray* jets;
119 <        TClonesArray* muons;
120 <        TClonesArray* electrons;
121 <        TClonesArray* photons;
122 <        TClonesArray* clusters;
123 <        TClonesArray* superClusters;
124 <        TClonesArray* conversionTracks;
125 <        TClonesArray* met;
126 <        TClonesArray* rootMCTopTop;
69 >   public:
70 >      explicit TotoAnalyzer(const edm::ParameterSet&);
71 >      ~TotoAnalyzer();
72 >
73 >   private:
74 >      virtual void beginJob(const edm::EventSetup&) ;
75 >      virtual void analyze(const edm::Event&, const edm::EventSetup&);
76 >      virtual void endJob() ;
77 >
78 >      edm::ParameterSet myConfig_;
79 >      edm::ParameterSet producersNames_;
80 >
81 >      int verbosity_;
82 >      bool allowMissingCollection_;
83 >      std::string rootFileName_ ;
84 >      TFile* rootFile_ ;
85 >      TTree* eventTree_;
86 >      TTree* runTree_;
87 >      std::string dataType_ ;
88 >      double datasetXsection_;
89 >      std::string datasetDesciption_;
90 >      bool doHLT_;
91 >      bool doMC_;
92 >      bool doJetMC_;
93 >      bool doMETMC_;
94 >      bool doPDFInfo_;
95 >      bool doSignalMuMuGamma_;
96 >      bool doSignalTopTop_;
97 >      bool doPhotonConversionMC_;
98 >      bool drawMCTree_;
99 >      bool doBeamSpot_;
100 >      bool doPrimaryVertex_;
101 >      bool doTrack_;
102 >      bool doJet_;
103 >      bool doMuon_;
104 >      bool doElectron_;
105 >      bool doPhoton_;
106 >      bool doCluster_;
107 >      bool doPhotonConversion_;
108 >      bool doPhotonIsolation_;
109 >      bool doMET_;
110 >
111 >      ConversionLikelihoodCalculator* conversionLikelihoodCalculator_;
112 >
113 >      int nTotEvt_;
114 >      TRootRun* runInfos_;
115 >      TRootEvent* rootEvent_;
116 >      HLTAnalyzer* hltAnalyzer_;
117 >      TClonesArray* rootMCParticles_;
118 >      TClonesArray* rootGenJets_;
119 >      TClonesArray* rootGenMETs_;
120 >      TRootSignalEvent* rootMuMuGammaEvent_;
121 >      TClonesArray* rootMCTopTop_;
122 >      TClonesArray* rootMCPhotons_;
123 >      TRootBeamSpot* rootBeamSpot_;
124 >      TClonesArray* rootVertices_;
125 >      TClonesArray* rootTracks_;
126 >      TClonesArray* rootJets_;
127 >      TClonesArray* rootMuons_;
128 >      TClonesArray* rootElectrons_;
129 >      TClonesArray* rootPhotons_;
130 >      TClonesArray* rootBasicClusters_;
131 >      TClonesArray* rootSuperClusters_;
132 >      TClonesArray* rootConversionTracks_;
133 >      TClonesArray* rootMETs_;
134  
135   };
136  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines