CMS 3D CMS Logo

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