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.3 by lethuill, Mon Dec 15 19:08:52 2008 UTC vs.
Revision 1.6 by lethuill, Tue Apr 21 10:42:22 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 "../interface/LeptonAnalyzer.h"
10   #include "../interface/TRootMuon.h"
11 + #include "../interface/TRootBeamSpot.h"
12  
13   #include "TClonesArray.h"
14  
15  
16 < class MuonAnalyzer{
16 > class MuonAnalyzer : public LeptonAnalyzer
17 > {
18          
19   public:
20          MuonAnalyzer(const edm::ParameterSet& producersNames);
21          MuonAnalyzer(const edm::ParameterSet& producersNames, const edm::ParameterSet& myConfig, int verbosity);
22          ~MuonAnalyzer();
23 <        void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
24 <        void Process(const edm::Event& iEvent, TClonesArray* rootMuons);
23 >        //void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
24 >        void Process(const edm::Event& iEvent, TRootBeamSpot* rootBeamSpot, TClonesArray* rootMuons);
25  
26   private:
27 <        int verbosity_;
28 <        std::string dataType_ ;
27 >        //int verbosity_;
28 >        //std::string dataType_ ;
29          edm::InputTag muonProducer_;
30          bool useMC_;
31 +        bool doPrimaryVertex_;
32 +        bool doBeamSpot_;
33   };
34  
35   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines