CMS 3D CMS Logo

KVFTest.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: KVFTest
4 // Class: KVFTest
5 //
15 // system include files
16 #include <memory>
17 
18 // user include files
21 
24 
31 #include <TFile.h>
32 
37 class KVFTest : public edm::EDAnalyzer {
38 public:
39  explicit KVFTest(const edm::ParameterSet&);
40  ~KVFTest() override;
41 
42  void analyze(const edm::Event&, const edm::EventSetup&) override;
43 
44  void beginJob() override;
45  void endJob() override;
46 
47 private:
48 
50 
53  std::unique_ptr<SimpleVertexTree> tree;
54  TFile* rootFile_;
55 
56  std::string outputFile_; // output file
61 
62 };
std::string outputFile_
Definition: KVFTest.h:56
TrackingVertex getSimVertex(const edm::Event &iEvent) const
Definition: KVFTest.cc:126
edm::EDGetTokenT< reco::TrackCollection > token_tracks
Definition: KVFTest.h:57
edm::ParameterSet theConfig
Definition: KVFTest.h:51
edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > token_associatorForParamAtPca
Definition: KVFTest.h:60
edm::EDGetTokenT< TrackingParticleCollection > token_TrackTruth
Definition: KVFTest.h:58
int iEvent
Definition: GenABIO.cc:230
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: KVFTest.cc:58
TFile * rootFile_
Definition: KVFTest.h:54
~KVFTest() override
Definition: KVFTest.cc:42
std::unique_ptr< SimpleVertexTree > tree
Definition: KVFTest.h:53
edm::EDGetTokenT< TrackingVertexCollection > token_VertexTruth
Definition: KVFTest.h:59
void beginJob() override
Definition: KVFTest.cc:46
KVFTest(const edm::ParameterSet &)
Definition: KVFTest.cc:25
void endJob() override
Definition: KVFTest.cc:50
edm::ParameterSet kvfPSet
Definition: KVFTest.h:52