ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/MuonAnalyzer.h
Revision: 1.6
Committed: Tue Apr 21 10:42:22 2009 UTC (16 years ago) by lethuill
Content type: text/plain
Branch: MAIN
CVS Tags: pat_2_2_7_01
Changes since 1.5: +4 -1 lines
Log Message:
Use beam spot in impact parameter calculation

File Contents

# User Rev Content
1 lethuill 1.1 #ifndef MuonAnalyzer_h
2     #define MuonAnalyzer_h
3    
4     #include "DataFormats/MuonReco/interface/Muon.h"
5     #include "DataFormats/MuonReco/interface/MuonFwd.h"
6 lethuill 1.2 #include "DataFormats/PatCandidates/interface/Muon.h"
7 lethuill 1.6 #include "DataFormats/Math/interface/Point3D.h"
8 lethuill 1.1
9 lethuill 1.5 #include "../interface/LeptonAnalyzer.h"
10 lethuill 1.2 #include "../interface/TRootMuon.h"
11 lethuill 1.6 #include "../interface/TRootBeamSpot.h"
12 lethuill 1.1
13     #include "TClonesArray.h"
14    
15    
16 lethuill 1.5 class MuonAnalyzer : public LeptonAnalyzer
17     {
18 lethuill 1.1
19     public:
20     MuonAnalyzer(const edm::ParameterSet& producersNames);
21 lethuill 1.3 MuonAnalyzer(const edm::ParameterSet& producersNames, const edm::ParameterSet& myConfig, int verbosity);
22 lethuill 1.1 ~MuonAnalyzer();
23 lethuill 1.5 //void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
24 lethuill 1.6 void Process(const edm::Event& iEvent, TRootBeamSpot* rootBeamSpot, TClonesArray* rootMuons);
25 lethuill 1.1
26     private:
27 lethuill 1.5 //int verbosity_;
28     //std::string dataType_ ;
29 lethuill 1.1 edm::InputTag muonProducer_;
30 lethuill 1.3 bool useMC_;
31 lethuill 1.5 bool doPrimaryVertex_;
32 lethuill 1.6 bool doBeamSpot_;
33 lethuill 1.1 };
34    
35     #endif