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 |
< |
|
19 |
< |
#include "DataFormats/Common/interface/Ref.h" |
20 |
< |
#include "DataFormats/DetId/interface/DetId.h" |
21 |
< |
#include "DataFormats/Candidate/interface/Candidate.h" |
22 |
< |
|
23 |
< |
#include "DataFormats/EgammaCandidates/interface/PixelMatchGsfElectron.h" |
24 |
< |
#include "DataFormats/EgammaCandidates/interface/Photon.h" |
25 |
< |
#include "DataFormats/EgammaReco/interface/BasicCluster.h" |
26 |
< |
#include "DataFormats/EgammaReco/interface/SuperCluster.h" |
27 |
< |
#include "DataFormats/EgammaReco/interface/BasicClusterShapeAssociation.h" |
28 |
< |
#include "DataFormats/EgammaReco/interface/ClusterShape.h" |
29 |
< |
|
30 |
< |
#include "DataFormats/MuonReco/interface/Muon.h" |
31 |
< |
|
32 |
< |
#include "DataFormats/JetReco/interface/Jet.h" |
33 |
< |
#include "DataFormats/JetReco/interface/CaloJetCollection.h" |
34 |
< |
#include "DataFormats/JetReco/interface/CaloJet.h" |
35 |
< |
#include "DataFormats/JetReco/interface/GenJet.h" |
36 |
< |
#include "DataFormats/JetReco/interface/GenJetfwd.h" |
37 |
< |
|
38 |
< |
#include "DataFormats/CaloTowers/interface/CaloTowerCollection.h" |
39 |
< |
|
40 |
< |
#include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h" |
41 |
< |
#include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h" |
42 |
< |
#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h" |
43 |
< |
#include "Geometry/CaloGeometry/interface/CaloGeometry.h" |
44 |
< |
#include "Geometry/Records/interface/IdealGeometryRecord.h" |
45 |
< |
|
46 |
< |
|
47 |
< |
#include "DataFormats/METReco/interface/CaloMETCollection.h" |
48 |
< |
|
49 |
< |
#include "DataFormats/BTauReco/interface/JetTracksAssociation.h" |
50 |
< |
#include "DataFormats/BTauReco/interface/IsolatedTauTagInfo.h" |
51 |
< |
|
52 |
< |
#include "DataFormats/TrackReco/interface/Track.h" |
53 |
< |
#include "DataFormats/TrackReco/interface/HitPattern.h" |
54 |
< |
|
55 |
< |
#include "DataFormats/VertexReco/interface/Vertex.h" |
56 |
< |
|
57 |
< |
#include "DataFormats/HepMCCandidate/interface/GenParticleCandidate.h" |
58 |
< |
#include "SimDataFormats/HepMCProduct/interface/HepMCProduct.h" |
59 |
< |
#include "PhysicsTools/HepMCCandAlgos/interface/CSA07ProcessId.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 "UserCode/Morgan/interface/HLTAnalyzer.h" |
28 |
|
#include "UserCode/Morgan/interface/MCAnalyzer.h" |
29 |
+ |
#include "UserCode/Morgan/interface/VertexAnalyzer.h" |
30 |
+ |
#include "UserCode/Morgan/interface/TrackAnalyzer.h" |
31 |
+ |
#include "UserCode/Morgan/interface/JetAnalyzer.h" |
32 |
+ |
#include "UserCode/Morgan/interface/MuonAnalyzer.h" |
33 |
+ |
#include "UserCode/Morgan/interface/ElectronAnalyzer.h" |
34 |
|
#include "UserCode/Morgan/interface/PhotonAnalyzer.h" |
35 |
|
#include "UserCode/Morgan/interface/ClusterAnalyzer.h" |
36 |
|
#include "UserCode/Morgan/interface/SuperClusterAnalyzer.h" |
37 |
+ |
#include "UserCode/Morgan/interface/METAnalyzer.h" |
38 |
|
#include "UserCode/Morgan/interface/ClusterAssociator.h" |
39 |
|
#include "UserCode/Morgan/interface/PhotonAssociator.h" |
40 |
|
#include "UserCode/Morgan/interface/PhotonIsolator.h" |
71 |
– |
#include "UserCode/Morgan/interface/HLTAnalyzer.h" |
41 |
|
|
42 |
|
#include "UserCode/Morgan/interface/TRootRun.h" |
43 |
|
#include "UserCode/Morgan/interface/TRootEvent.h" |
44 |
|
#include "UserCode/Morgan/interface/TRootSignalEvent.h" |
45 |
|
#include "UserCode/Morgan/interface/TRootParticle.h" |
77 |
– |
#include "UserCode/Morgan/interface/TRootPhoton.h" |
78 |
– |
#include "UserCode/Morgan/interface/TRootElectron.h" |
79 |
– |
#include "UserCode/Morgan/interface/TRootMuon.h" |
46 |
|
#include "UserCode/Morgan/interface/TRootJet.h" |
47 |
+ |
#include "UserCode/Morgan/interface/TRootMuon.h" |
48 |
+ |
#include "UserCode/Morgan/interface/TRootElectron.h" |
49 |
+ |
#include "UserCode/Morgan/interface/TRootPhoton.h" |
50 |
|
#include "UserCode/Morgan/interface/TRootCluster.h" |
51 |
|
#include "UserCode/Morgan/interface/TRootSuperCluster.h" |
52 |
|
|
67 |
|
virtual void analyze(const edm::Event&, const edm::EventSetup&); |
68 |
|
virtual void endJob() ; |
69 |
|
|
70 |
< |
// ----------member data --------------------------- |
71 |
< |
|
103 |
< |
edm::ParameterSet myConfig; |
70 |
> |
edm::ParameterSet myConfig_; |
71 |
> |
edm::ParameterSet producersNames_; |
72 |
|
|
73 |
|
int verbosity; |
74 |
|
std::string rootFileName_ ; |
85 |
|
bool doPhoton; |
86 |
|
bool doElectron; |
87 |
|
bool doCluster; |
88 |
+ |
bool doMET; |
89 |
|
bool doPhotonIsolation; |
90 |
|
bool doPhotonConversion; |
91 |
|
bool doPhotonConversionMC; |
92 |
+ |
bool drawMCTree; |
93 |
|
|
94 |
< |
MCAnalyzer* myMCAnalyzer; |
125 |
< |
PhotonAnalyzer* myPhotonAnalyzer; |
126 |
< |
ClusterAnalyzer* myClusterAnalyzer; |
127 |
< |
SuperClusterAnalyzer* mySClusterAnalyzer; |
94 |
> |
ConversionLikelihoodCalculator* conversionLikelihoodCalculator_; |
95 |
|
|
96 |
|
int nTotEvt_; |
97 |
|
HLTAnalyzer* hltAnalyzer_; |
104 |
|
TClonesArray* jets; |
105 |
|
TClonesArray* muons; |
106 |
|
TClonesArray* electrons; |
107 |
< |
TClonesArray* uncorrectedPhotons; |
141 |
< |
TClonesArray* correctedPhotons; |
107 |
> |
TClonesArray* photons; |
108 |
|
TClonesArray* clusters; |
109 |
|
TClonesArray* superClusters; |
110 |
|
TClonesArray* conversionTracks; |