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.5 by lethuill, Mon Dec 1 15:58:04 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/HepMCCandidate/interface/GenParticle.h"
19 > #include "DataFormats/HepMCCandidate/interface/GenParticleFwd.h"
20 >
21 > #include "SimDataFormats/Track/interface/SimTrack.h"
22 > #include "SimDataFormats/Track/interface/SimTrackContainer.h"
23 > #include "SimDataFormats/Vertex/interface/SimVertex.h"
24 > #include "SimDataFormats/Vertex/interface/SimVertexContainer.h"
25 > #include "RecoEgamma/EgammaMCTools/interface/PhotonMCTruthFinder.h"
26 > #include "RecoEgamma/EgammaMCTools/interface/PhotonMCTruth.h"
27 > #include "RecoEgamma/EgammaMCTools/interface/ElectronMCTruth.h"
28 > //#include "DataFormats/EgammaCandidates/interface/ConvertedPhoton.h"
29 >
30 > #include "../interface/ParticleTreeDrawer.h"
31 > #include "../interface/TRootSignalEvent.h"
32 > #include "../interface/TRootParticle.h"
33 > #include "../interface/TRootMCPhoton.h"
34  
35   #include "TClonesArray.h"
36  
# Line 32 | Line 40 | class MCAnalyzer{
40          
41   public:
42          MCAnalyzer();
43 <        MCAnalyzer(edm::ParameterSet * aConfig);
43 >        MCAnalyzer(const edm::ParameterSet& config, const edm::ParameterSet& producersNames);
44          ~MCAnalyzer();
45 <        void SetVerbosity(int idebug) {verbosity = idebug; };
46 <        void Process(const edm::Event& iEvent, const edm::EventSetup & iSetup, TRootEvent* rootEvent, TRootSignalEvent* rootSignalEvent, TClonesArray* rootMCParticles);
45 >        void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
46 >        void DrawMCTree(const edm::Event& iEvent, const edm::EventSetup& iSetup, const edm::ParameterSet& config, const edm::ParameterSet& producersNames);
47 >        void ProcessStableParticle(const edm::Event& iEvent, TClonesArray* rootMCParticles);
48 >        void ProcessConvertedPhoton(const edm::Event& iEvent, TClonesArray* rootMCPhotons);
49 >        void ProcessMuMuGammaEvent(const edm::Event& iEvent, TRootSignalEvent* rootSignalEvent);
50          
51   private:
52 <        edm::ParameterSet * myConfig;
53 <        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;
52 >
53 >        int verbosity_;
54          
55 +        bool doPhotonMC_;
56 +        double photonMC_etaMax_;
57 +        double photonMC_ptMin_;
58 +        bool doElectronMC_;
59 +        double electronMC_etaMax_;
60 +        double electronMC_ptMin_;
61 +        bool doMuonMC_;
62 +        double muonMC_etaMax_;
63 +        double muonMC_ptMin_;
64 +        bool doJetMC_;
65 +        double jetMC_etaMax_;
66 +        double jetMC_ptMin_;
67 +
68 +        std::string signalGenerator_;
69 +        edm::InputTag genParticlesProducer_;
70   };
71  
72   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines