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

Comparing UserCode/Morgan/interface/MuonAnalyzer.h (file contents):
Revision 1.1 by lethuill, Wed Nov 19 19:08:06 2008 UTC vs.
Revision 1.7 by lethuill, Tue Apr 21 13:01:56 2009 UTC

# Line 1 | Line 1
1   #ifndef MuonAnalyzer_h
2   #define MuonAnalyzer_h
3  
4 // system include files
5 #include <iostream>
6
7 // user include files
8 #include "FWCore/Framework/interface/Event.h"
9 #include "FWCore/ParameterSet/interface/ParameterSet.h"
10 #include "FWCore/Framework/interface/ESHandle.h"
11
4   #include "DataFormats/MuonReco/interface/Muon.h"
5   #include "DataFormats/MuonReco/interface/MuonFwd.h"
6 + #include "DataFormats/PatCandidates/interface/Muon.h"
7 + #include "DataFormats/Math/interface/Point3D.h"
8  
9 < #include "UserCode/Morgan/interface/TRootMuon.h"
9 > #include "../interface/LeptonAnalyzer.h"
10 > #include "../interface/TRootMuon.h"
11  
12   #include "TClonesArray.h"
13  
14  
15 < class MuonAnalyzer{
15 > class MuonAnalyzer : public LeptonAnalyzer
16 > {
17          
18   public:
19          MuonAnalyzer(const edm::ParameterSet& producersNames);
20 <        MuonAnalyzer(const edm::ParameterSet& producersNames, int verbosity);
20 >        MuonAnalyzer(const edm::ParameterSet& producersNames, const edm::ParameterSet& myConfig, int verbosity);
21          ~MuonAnalyzer();
22 <        void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
23 <        void Process(const edm::Event& iEvent, TClonesArray* rootMuons);
22 >        //void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
23 >        void Process(const edm::Event& iEvent, TRootBeamSpot* rootBeamSpot, TClonesArray* rootMuons);
24  
25   private:
26 <        int verbosity_;
27 <        edm::InputTag muonProducer_;
32 <
26 >        bool useMC_;
27 >        edm::InputTag muonProducer_;    
28   };
29  
30   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines