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.1 by mlethuil, Mon May 19 16:12:13 2008 UTC vs.
Revision 1.14 by lethuill, Tue Dec 16 14:17:22 2008 UTC

# Line 11 | Line 11
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 "DataFormats/Common/interface/Ref.h"
22 < #include "DataFormats/DetId/interface/DetId.h"
23 < #include "DataFormats/Candidate/interface/Candidate.h"
24 <
25 < #include "DataFormats/EgammaCandidates/interface/PixelMatchGsfElectron.h"
26 < #include "DataFormats/EgammaCandidates/interface/Photon.h"
27 < #include "DataFormats/EgammaReco/interface/BasicCluster.h"
28 < #include "DataFormats/EgammaReco/interface/SuperCluster.h"
29 < #include "DataFormats/EgammaReco/interface/BasicClusterShapeAssociation.h"
30 < #include "DataFormats/EgammaReco/interface/ClusterShape.h"
31 <
32 < #include "DataFormats/MuonReco/interface/Muon.h"
33 <
34 < #include "DataFormats/JetReco/interface/Jet.h"
35 < #include "DataFormats/JetReco/interface/CaloJetCollection.h"
36 < #include "DataFormats/JetReco/interface/CaloJet.h"
37 < #include "DataFormats/JetReco/interface/GenJet.h"
38 < #include "DataFormats/JetReco/interface/GenJetfwd.h"
39 <
40 < #include "DataFormats/CaloTowers/interface/CaloTowerCollection.h"
41 <
42 < #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
43 < #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
44 < #include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
45 < #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
46 < #include "Geometry/Records/interface/IdealGeometryRecord.h"
47 <
48 <
49 < #include "DataFormats/METReco/interface/CaloMETCollection.h"
50 <
51 < #include "DataFormats/BTauReco/interface/JetTracksAssociation.h"
52 < #include "DataFormats/BTauReco/interface/IsolatedTauTagInfo.h"
51 <
52 < #include "DataFormats/TrackReco/interface/Track.h"
53 <
54 < #include "DataFormats/VertexReco/interface/Vertex.h"
55 <
56 < #include "DataFormats/HepMCCandidate/interface/GenParticleCandidate.h"
57 < #include "SimDataFormats/HepMCProduct/interface/HepMCProduct.h"
58 <
59 <
60 < #include "UserCode/Morgan/interface/MCAnalyzer.h"
61 < #include "UserCode/Morgan/interface/PhotonAnalyzer.h"
62 < #include "UserCode/Morgan/interface/ClusterAnalyzer.h"
63 < #include "UserCode/Morgan/interface/SuperClusterAnalyzer.h"
64 < #include "UserCode/Morgan/interface/ClusterAssociator.h"
65 < #include "UserCode/Morgan/interface/PhotonAssociator.h"
66 < #include "UserCode/Morgan/interface/PhotonIsolator.h"
67 <
68 < #include "UserCode/Morgan/interface/TRootEvent.h"
69 < #include "UserCode/Morgan/interface/TRootSignalEvent.h"
70 < #include "UserCode/Morgan/interface/TRootParticle.h"
71 < #include "UserCode/Morgan/interface/TRootPhoton.h"
72 < #include "UserCode/Morgan/interface/TRootElectron.h"
73 < #include "UserCode/Morgan/interface/TRootMuon.h"
74 < #include "UserCode/Morgan/interface/TRootJet.h"
75 < #include "UserCode/Morgan/interface/TRootCluster.h"
76 < #include "UserCode/Morgan/interface/TRootSuperCluster.h"
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/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  
54   #include "TFile.h"
55   #include "TTree.h"
# Line 92 | Line 68 | private:
68          virtual void analyze(const edm::Event&, const edm::EventSetup&);
69          virtual void endJob() ;
70  
71 <        // ----------member data ---------------------------
72 <
97 <        edm::ParameterSet myConfig;
71 >        edm::ParameterSet myConfig_;
72 >        edm::ParameterSet producersNames_;
73          
74          int verbosity;
75          std::string rootFileName_ ;
76          TFile* rootFile_ ;
77 <        TTree* rootTree_;
77 >        TTree* eventTree_;
78 >        TTree* runTree_;        
79 >        std::string dataType_ ;
80 >        bool isCSA07Soup;
81 >        bool doHLT;
82          bool doMC;
83 <        bool doSignalMC;
83 >        bool doPDFInfo;
84 >        bool doSignalMuMuGamma;
85 >        bool doSignalTopTop;
86 >        bool doPrimaryVertex;
87          bool doTrack;
88          bool doJet;
89          bool doMuon;
90          bool doPhoton;
91          bool doElectron;
92          bool doCluster;
93 +        bool doMET;
94 +        bool doPhotonIsolation;
95 +        bool doPhotonConversion;
96 +        bool doPhotonConversionMC;
97 +        bool drawMCTree;
98          
99 <        MCAnalyzer* myMCAnalyzer;
113 <        PhotonAnalyzer* myPhotonAnalyzer;
114 <        ClusterAnalyzer* myClusterAnalyzer;
115 <        SuperClusterAnalyzer* mySClusterAnalyzer;
99 >        ConversionLikelihoodCalculator* conversionLikelihoodCalculator_;
100          
101          int nTotEvt_;
102 +        HLTAnalyzer* hltAnalyzer_;
103 +        TRootRun* runInfos_;
104          TRootEvent* rootEvent;
105 <        TRootSignalEvent* rootMCSignalEvent;
105 >        TRootSignalEvent* rootMuMuGammaEvent;
106          TClonesArray* mcParticles;
107 +        TClonesArray* mcPhotons;
108          TClonesArray* tracks;
109          TClonesArray* jets;
110          TClonesArray* muons;
111          TClonesArray* electrons;
112 <        TClonesArray* uncorrectedPhotons;
126 <        TClonesArray* correctedPhotons;
112 >        TClonesArray* photons;
113          TClonesArray* clusters;
114          TClonesArray* superClusters;
115 +        TClonesArray* conversionTracks;
116 +        TClonesArray* met;
117 +        TClonesArray* rootMCTopTop;
118 +
119   };
120  
121   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines