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

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