ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/MuonAnalyzer.h
Revision: 1.3
Committed: Mon Dec 15 19:08:52 2008 UTC (16 years, 4 months ago) by lethuill
Content type: text/plain
Branch: MAIN
CVS Tags: pat_2_2_5_02, pat_2_2_5_01, pat_2_1_12_02, pat_2_1_12_01
Changes since 1.2: +2 -2 lines
Log Message:
MC infos from Silvano

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 lethuill 1.2 #include "DataFormats/PatCandidates/interface/Muon.h"
15 lethuill 1.1
16 lethuill 1.2 #include "../interface/TRootMuon.h"
17 lethuill 1.1
18     #include "TClonesArray.h"
19    
20    
21     class MuonAnalyzer{
22    
23     public:
24     MuonAnalyzer(const edm::ParameterSet& producersNames);
25 lethuill 1.3 MuonAnalyzer(const edm::ParameterSet& producersNames, const edm::ParameterSet& myConfig, int verbosity);
26 lethuill 1.1 ~MuonAnalyzer();
27     void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
28     void Process(const edm::Event& iEvent, TClonesArray* rootMuons);
29    
30     private:
31     int verbosity_;
32 lethuill 1.2 std::string dataType_ ;
33 lethuill 1.1 edm::InputTag muonProducer_;
34 lethuill 1.3 bool useMC_;
35 lethuill 1.1 };
36    
37     #endif