9 |
|
#include "FWCore/ParameterSet/interface/ParameterSet.h" |
10 |
|
#include "FWCore/Framework/interface/ESHandle.h" |
11 |
|
|
12 |
+ |
#include "DataFormats/TrackReco/interface/Track.h" |
13 |
+ |
#include "DataFormats/TrackReco/interface/TrackFwd.h" |
14 |
|
#include "DataFormats/VertexReco/interface/Vertex.h" |
15 |
|
#include "DataFormats/VertexReco/interface/VertexFwd.h" |
16 |
+ |
#include "DataFormats/Common/interface/RefToBase.h" |
17 |
+ |
#include "DataFormats/BeamSpot/interface/BeamSpot.h" |
18 |
|
|
19 |
|
#include "../interface/TRootEvent.h" |
20 |
+ |
#include "../interface/TRootBeamSpot.h" |
21 |
+ |
#include "../interface/TRootVertex.h" |
22 |
|
|
23 |
|
#include "TClonesArray.h" |
24 |
|
|
29 |
|
VertexAnalyzer(const edm::ParameterSet& producersNames); |
30 |
|
VertexAnalyzer(const edm::ParameterSet& producersNames, int verbosity); |
31 |
|
~VertexAnalyzer(); |
32 |
< |
void SetVerbosity(int verbosity) {verbosity_ = verbosity; }; |
33 |
< |
void Process(const edm::Event& iEvent, TRootEvent* rootEvent); |
32 |
> |
void setVerbosity(int verbosity) {verbosity_ = verbosity; }; |
33 |
> |
void getBeamSpot(const edm::Event& iEvent, TRootBeamSpot* rootBeamSpot); |
34 |
> |
void getVertices(const edm::Event& iEvent, TClonesArray* rootVertices); |
35 |
> |
void selectPrimary(TRootEvent* rootEvent, TClonesArray* rootVertices); |
36 |
|
|
37 |
|
private: |
38 |
|
int verbosity_; |
39 |
|
edm::InputTag primaryVertexProducer_; |
40 |
+ |
edm::InputTag beamSpotProducer_; |
41 |
|
|
42 |
|
}; |
43 |
|
|