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.1 by mlethuil, Mon May 19 16:12:12 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"
21 <
22 < #include "UserCode/Morgan/interface/ParticleTreeDrawer.h"
23 < #include "UserCode/Morgan/interface/TRootEvent.h"
24 < #include "UserCode/Morgan/interface/TRootSignalEvent.h"
25 < #include "UserCode/Morgan/interface/TRootParticle.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"
25 > #include "SimDataFormats/Vertex/interface/SimVertex.h"
26 > #include "SimDataFormats/Vertex/interface/SimVertexContainer.h"
27 > #include "RecoEgamma/EgammaMCTools/interface/PhotonMCTruthFinder.h"
28 > #include "RecoEgamma/EgammaMCTools/interface/PhotonMCTruth.h"
29 > #include "RecoEgamma/EgammaMCTools/interface/ElectronMCTruth.h"
30 > //#include "DataFormats/EgammaCandidates/interface/ConvertedPhoton.h"
31 >
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 32 | 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);
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;
43 <        
44 <        bool drawMCTree;
45 <        bool mcTreePrintP4;
46 <        bool mcTreePrintPtEtaPhi;
47 <        bool mcTreePrintVertex;
48 <        bool mcTreePrintStatus;
49 <
50 <        bool doSignalMC;
51 <        std::string signalGenerator;
52 <                
53 <        bool doPhotonMC;
54 <        double photonMC_etaMax;
55 <        double photonMC_ptMin;
56 <        bool doElectronMC;
57 <        double electronMC_etaMax;
58 <        double electronMC_ptMin;
59 <        bool doMuonMC;
60 <        double muonMC_etaMax;
61 <        double muonMC_ptMin;
62 <        bool doJetMC;
63 <        double jetMC_etaMax;
64 <        double jetMC_ptMin;
65 <        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