ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/MuonAnalyzer.h
Revision: 1.2
Committed: Mon Dec 1 15:58:05 2008 UTC (16 years, 5 months ago) by lethuill
Content type: text/plain
Branch: MAIN
Changes since 1.1: +3 -1 lines
Log Message:
Proto-version for use with different data formats (RECO/AOD/PAT/PAT+AOD)
Replace the absolute path /UserCode/Morgan with a relative one

File Contents

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