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

Comparing UserCode/Morgan/interface/MCAnalyzer.h (file contents):
Revision 1.3 by lethuill, Tue Nov 18 13:57:10 2008 UTC vs.
Revision 1.9 by lethuill, Fri Dec 19 12:26:01 2008 UTC

# Line 15 | Line 15
15   #include "FWCore/ParameterSet/interface/ParameterSet.h"
16   #include "FWCore/Framework/interface/ESHandle.h"
17  
18 + #include "DataFormats/JetReco/interface/GenJet.h"
19 + #include "DataFormats/JetReco/interface/GenJetCollection.h"
20   #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
21   #include "DataFormats/HepMCCandidate/interface/GenParticleFwd.h"
22  
23 + #include "SimDataFormats/HepMCProduct/interface/HepMCProduct.h"
24 +
25   #include "SimDataFormats/Track/interface/SimTrack.h"
26   #include "SimDataFormats/Track/interface/SimTrackContainer.h"
27   #include "SimDataFormats/Vertex/interface/SimVertex.h"
# Line 27 | Line 31
31   #include "RecoEgamma/EgammaMCTools/interface/ElectronMCTruth.h"
32   //#include "DataFormats/EgammaCandidates/interface/ConvertedPhoton.h"
33  
34 < #include "UserCode/Morgan/interface/ParticleTreeDrawer.h"
35 < #include "UserCode/Morgan/interface/TRootEvent.h"
36 < #include "UserCode/Morgan/interface/TRootSignalEvent.h"
37 < #include "UserCode/Morgan/interface/TRootParticle.h"
38 < #include "UserCode/Morgan/interface/TRootMCPhoton.h"
34 > #include "../interface/ParticleTreeDrawer.h"
35 > #include "../interface/TRootEvent.h"
36 > #include "../interface/TRootSignalEvent.h"
37 > #include "../interface/TRootTopTop.h"
38 > #include "../interface/TRootParticle.h"
39 > #include "../interface/TRootMCParticle.h"
40 > #include "../interface/TRootMCPhoton.h"
41 > #include "../interface/TRootJet.h"
42  
43   #include "TClonesArray.h"
44  
# Line 41 | Line 48 | class MCAnalyzer{
48          
49   public:
50          MCAnalyzer();
51 <        MCAnalyzer(edm::ParameterSet * aConfig);
51 >        MCAnalyzer(const edm::ParameterSet& config, const edm::ParameterSet& producersNames);
52          ~MCAnalyzer();
53 <        void SetVerbosity(int idebug) {verbosity = idebug; };
54 <        void Process(const edm::Event& iEvent, const edm::EventSetup & iSetup, TRootEvent* rootEvent, TRootSignalEvent* rootSignalEvent, TClonesArray* rootMCParticles, TClonesArray* rootMCPhotons);
53 >        void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
54 >        void DrawMCTree(const edm::Event& iEvent, const edm::EventSetup& iSetup, const edm::ParameterSet& config, const edm::ParameterSet& producersNames);
55 >        void PDFInfo(const edm::Event& iEvent, TRootEvent* rootEvent);
56 >        void ProcessMCParticle(const edm::Event& iEvent, TClonesArray* rootMCParticles);
57 >        void ProcessMCJets(const edm::Event& iEvent, TClonesArray* rootMCJets);
58 >        void ProcessConvertedPhoton(const edm::Event& iEvent, TClonesArray* rootMCPhotons);
59 >        void ProcessMuMuGammaEvent(const edm::Event& iEvent, TRootSignalEvent* rootSignalEvent);
60 >        void ProcessTopTopEvent(const edm::Event& iEvent, TClonesArray* rootMCTopTop);
61          
62   private:
63 <        edm::ParameterSet * myConfig;
64 <        int verbosity;
52 <        
53 <        bool drawMCTree;
54 <        bool mcTreePrintP4;
55 <        bool mcTreePrintPtEtaPhi;
56 <        bool mcTreePrintVertex;
57 <        bool mcTreePrintStatus;
58 <
59 <        bool doSignalMC;
60 <        std::string signalGenerator;
61 <                
62 <        bool doPhotonMC;
63 <        double photonMC_etaMax;
64 <        double photonMC_ptMin;
65 <        bool doElectronMC;
66 <        double electronMC_etaMax;
67 <        double electronMC_ptMin;
68 <        bool doMuonMC;
69 <        double muonMC_etaMax;
70 <        double muonMC_ptMin;
71 <        bool doJetMC;
72 <        double jetMC_etaMax;
73 <        double jetMC_ptMin;
74 <        bool doPhotonConversionMC;
63 >
64 >        int verbosity_;
65          
66 +        bool doPhotonMC_;
67 +        double photonMC_etaMax_;
68 +        double photonMC_ptMin_;
69 +        bool doElectronMC_;
70 +        double electronMC_etaMax_;
71 +        double electronMC_ptMin_;
72 +        bool doMuonMC_;
73 +        double muonMC_etaMax_;
74 +        double muonMC_ptMin_;
75 +        bool doJetMC_;
76 +        double jetMC_etaMax_;
77 +        double jetMC_ptMin_;
78 +        bool doUnstablePartsMC_;
79 +        bool doMETMC_;
80 +
81 +        std::string signalGenerator_;
82 +        edm::InputTag genParticlesProducer_;
83 +        edm::InputTag genJetsProducer_;
84   };
85  
86   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines