ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/MuonAnalyzer.h
Revision: 1.1
Committed: Wed Nov 19 19:08:06 2008 UTC (16 years, 5 months ago) by lethuill
Content type: text/plain
Branch: MAIN
CVS Tags: Common-2008_11_24, Common-2008_11_19
Log Message:
First skeleton for common code

File Contents

# User Rev Content
1 lethuill 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    
12     #include "DataFormats/MuonReco/interface/Muon.h"
13     #include "DataFormats/MuonReco/interface/MuonFwd.h"
14    
15     #include "UserCode/Morgan/interface/TRootMuon.h"
16    
17     #include "TClonesArray.h"
18    
19    
20     class MuonAnalyzer{
21    
22     public:
23     MuonAnalyzer(const edm::ParameterSet& producersNames);
24     MuonAnalyzer(const edm::ParameterSet& producersNames, int verbosity);
25     ~MuonAnalyzer();
26     void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
27     void Process(const edm::Event& iEvent, TClonesArray* rootMuons);
28    
29     private:
30     int verbosity_;
31     edm::InputTag muonProducer_;
32    
33     };
34    
35     #endif