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.2 by mlethuil, Wed Jul 2 16:22:18 2008 UTC vs.
Revision 1.6 by lethuill, Mon Dec 15 19:08:52 2008 UTC

# Line 15 | Line 15
15   #include "FWCore/ParameterSet/interface/ParameterSet.h"
16   #include "FWCore/Framework/interface/ESHandle.h"
17  
18 < //#include "DataFormats/Candidate/interface/Candidate.h"
19 < #include "DataFormats/HepMCCandidate/interface/GenParticleCandidate.h"
20 < //#include "DataFormats/HepMCCandidate/interface/HepMCCandidate.h"
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/Track/interface/SimTrack.h"
24   #include "SimDataFormats/Track/interface/SimTrackContainer.h"
# Line 28 | Line 29
29   #include "RecoEgamma/EgammaMCTools/interface/ElectronMCTruth.h"
30   //#include "DataFormats/EgammaCandidates/interface/ConvertedPhoton.h"
31  
32 < #include "UserCode/Morgan/interface/ParticleTreeDrawer.h"
33 < #include "UserCode/Morgan/interface/TRootEvent.h"
34 < #include "UserCode/Morgan/interface/TRootSignalEvent.h"
35 < #include "UserCode/Morgan/interface/TRootParticle.h"
36 < #include "UserCode/Morgan/interface/TRootMCPhoton.h"
32 > #include "../interface/ParticleTreeDrawer.h"
33 > #include "../interface/TRootSignalEvent.h"
34 > #include "../interface/TRootTopTop.h"
35 > #include "../interface/TRootParticle.h"
36 > #include "../interface/TRootMCPhoton.h"
37 > #include "../interface/TRootJet.h"
38  
39   #include "TClonesArray.h"
40  
# Line 42 | Line 44 | class MCAnalyzer{
44          
45   public:
46          MCAnalyzer();
47 <        MCAnalyzer(edm::ParameterSet * aConfig);
47 >        MCAnalyzer(const edm::ParameterSet& config, const edm::ParameterSet& producersNames);
48          ~MCAnalyzer();
49 <        void SetVerbosity(int idebug) {verbosity = idebug; };
50 <        void Process(const edm::Event& iEvent, const edm::EventSetup & iSetup, TRootEvent* rootEvent, TRootSignalEvent* rootSignalEvent, TClonesArray* rootMCParticles, TClonesArray* rootMCPhotons);
51 <        
49 >        void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
50 >        void DrawMCTree(const edm::Event& iEvent, const edm::EventSetup& iSetup, const edm::ParameterSet& config, const edm::ParameterSet& producersNames);
51 >        void ProcessMCParticle(const edm::Event& iEvent, TClonesArray* rootMCParticles);
52 >        //void ProcessMCJets(const edm::Event& iEvent, TClonesArray* rootMCJets);
53 >        void ProcessConvertedPhoton(const edm::Event& iEvent, TClonesArray* rootMCPhotons);
54 >        void ProcessMuMuGammaEvent(const edm::Event& iEvent, TRootSignalEvent* rootSignalEvent);
55 >        void ProcessTopTopEvent(const edm::Event& iEvent, TClonesArray* rootMCTopTop);
56 >
57   private:
58 <        edm::ParameterSet * myConfig;
59 <        int verbosity;
53 <        
54 <        bool drawMCTree;
55 <        bool mcTreePrintP4;
56 <        bool mcTreePrintPtEtaPhi;
57 <        bool mcTreePrintVertex;
58 <        bool mcTreePrintStatus;
59 <
60 <        bool doSignalMC;
61 <        std::string signalGenerator;
62 <                
63 <        bool doPhotonMC;
64 <        double photonMC_etaMax;
65 <        double photonMC_ptMin;
66 <        bool doElectronMC;
67 <        double electronMC_etaMax;
68 <        double electronMC_ptMin;
69 <        bool doMuonMC;
70 <        double muonMC_etaMax;
71 <        double muonMC_ptMin;
72 <        bool doJetMC;
73 <        double jetMC_etaMax;
74 <        double jetMC_ptMin;
75 <        bool doPhotonConversionMC;
58 >
59 >        int verbosity_;
60          
61 +        bool doPhotonMC_;
62 +        double photonMC_etaMax_;
63 +        double photonMC_ptMin_;
64 +        bool doElectronMC_;
65 +        double electronMC_etaMax_;
66 +        double electronMC_ptMin_;
67 +        bool doMuonMC_;
68 +        double muonMC_etaMax_;
69 +        double muonMC_ptMin_;
70 +        bool doUnstablePartsMC_;
71 +
72 +        std::string signalGenerator_;
73 +        edm::InputTag genParticlesProducer_;
74 +        edm::InputTag genJetsProducer_;
75   };
76  
77   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines