ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/ZeeVertexAnalyzer.h
Revision: 1.1
Committed: Sat Oct 10 20:35:19 2009 UTC (15 years, 6 months ago) by lethuill
Content type: text/plain
Branch: MAIN
Log Message:
Add private primary vertex reconstruction for Zee events

File Contents

# Content
1 #ifndef ZeeVertexAnalyzer_h
2 #define ZeeVertexAnalyzer_h
3
4 #include "FWCore/Framework/interface/Frameworkfwd.h"
5 #include "FWCore/Framework/interface/EDAnalyzer.h"
6 #include "FWCore/Framework/interface/Event.h"
7 #include "FWCore/Framework/interface/MakerMacros.h"
8 #include "FWCore/ParameterSet/interface/ParameterSet.h"
9
10 #include "DataFormats/BeamSpot/interface/BeamSpot.h"
11 #include "DataFormats/VertexReco/interface/VertexFwd.h"
12 #include "DataFormats/TrackReco/interface/TrackFwd.h"
13 #include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h"
14 #include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
15
16 #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
17 #include "RecoVertex/VertexPrimitives/interface/TransientVertex.h"
18 #include "TrackingTools/TransientTrack/interface/TransientTrackBuilder.h"
19 #include "TrackingTools/Records/interface/TransientTrackRecord.h"
20 #include "RecoVertex/PrimaryVertexProducer/interface/PrimaryVertexProducerAlgorithm.h"
21
22 #include "../interface/TRootVertex.h"
23
24 #include "TClonesArray.h"
25
26 class ZeeVertexAnalyzer
27 {
28
29 public:
30 ZeeVertexAnalyzer(const edm::ParameterSet& iConfig, const edm::ParameterSet& producersNames, int verbosity);
31 ~ZeeVertexAnalyzer();
32 void setVerbosity(int verbosity) {verbosity_ = verbosity; };
33 bool getVertices(const edm::Event& iEvent, const edm::EventSetup& iSetup, TClonesArray* rootVertices);
34
35 private:
36 int verbosity_;
37 edm::ParameterSet config_;
38 edm::InputTag primaryVertexProducer_;
39 edm::InputTag beamSpotProducer_;
40 edm::InputTag trackProducer_;
41 edm::InputTag electronProducer_;
42 bool allowMissingCollection_;
43
44 };
45
46 #endif