test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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();
41 
42  virtual void analyze(const edm::Event&, const edm::EventSetup&);
43 
44  virtual void beginJob();
45  virtual void endJob();
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
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: KVFTest.cc:58
virtual void endJob()
Definition: KVFTest.cc:50
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
TFile * rootFile_
Definition: KVFTest.h:54
std::unique_ptr< SimpleVertexTree > tree
Definition: KVFTest.h:53
virtual void beginJob()
Definition: KVFTest.cc:46
edm::EDGetTokenT< TrackingVertexCollection > token_VertexTruth
Definition: KVFTest.h:59
KVFTest(const edm::ParameterSet &)
Definition: KVFTest.cc:25
edm::ParameterSet kvfPSet
Definition: KVFTest.h:52
~KVFTest()
Definition: KVFTest.cc:42