ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/MuonAnalyzer.h
Revision: 1.4
Committed: Thu Apr 9 16:55:08 2009 UTC (16 years, 1 month ago) by lethuill
Content type: text/plain
Branch: MAIN
CVS Tags: RecoPhoton_2_2_7_01, pat_2_2_5_03
Changes since 1.3: +4 -0 lines
Log Message:
add infos on associated inner track (impact parameter, hits multiplicity)

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