ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DTDPGAnalysis/interface/HFDimuons.h
Revision: 1.1
Committed: Mon Jul 11 12:33:05 2011 UTC (13 years, 9 months ago) by pellicci
Content type: text/plain
Branch: MAIN
CVS Tags: V00-01-00, HEAD
Log Message:
adding class to look for dimuons

File Contents

# User Rev Content
1 pellicci 1.1 #ifndef _HFDIMUONS_h_
2     #define _HFDIMUONS_h_
3    
4     #include <memory>
5    
6     // user include files
7     #include "FWCore/Framework/interface/Frameworkfwd.h"
8     #include "FWCore/Framework/interface/EDAnalyzer.h"
9    
10     #include "TrackingTools/TransientTrack/interface/TransientTrackBuilder.h"
11     #include "TrackingTools/Records/interface/TransientTrackRecord.h"
12    
13     #include "FWCore/Framework/interface/Event.h"
14     #include "FWCore/Framework/interface/MakerMacros.h"
15    
16     #include "FWCore/ParameterSet/interface/ParameterSet.h"
17     #include "DataFormats/VertexReco/interface/Vertex.h"
18    
19     //#include "AnalysisDataFormats/HeavyFlavorObjects/rootio/TAnaVertex.hh"
20     //#include "AnalysisDataFormats/HeavyFlavorObjects/rootio/TAnaCand.hh"
21    
22     #include "RecoVertex/KinematicFitPrimitives/interface/RefCountedKinematicVertex.h"
23     #include "RecoVertex/KinematicFitPrimitives/interface/RefCountedKinematicParticle.h"
24     #include "RecoVertex/KinematicFitPrimitives/interface/RefCountedKinematicTree.h"
25    
26    
27     // ----------------------------------------------------------------------
28    
29     class HFDimuons : public edm::EDAnalyzer {
30     public:
31     explicit HFDimuons(const edm::ParameterSet&);
32     ~HFDimuons();
33    
34     private:
35     virtual void beginJob(const edm::EventSetup&) ;
36     virtual void analyze(const edm::Event&, const edm::EventSetup&);
37     virtual void endJob() ;
38     // void doVertexFit(std::vector<reco::Track> &Tracks, int iMuon1, int iMuon2, TAnaCand *pCand);
39    
40     int fVerbose;
41     edm::InputTag fTracksLabel, fPrimaryVertexLabel;
42     edm::InputTag fMuonsLabel;
43    
44     double fMuonPt, fMassLow, fMassHigh;
45    
46     reco::Vertex fPV;
47    
48     edm::ESHandle<TransientTrackBuilder> fTTB;
49     };
50    
51     #endif