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 
55  TFile* rootFile_;
56 
57  std::string outputFile_; // output file
61 
62 };
TrackAssociatorByChi2 * associatorForParamAtPca
Definition: KVFTest.h:53
std::string outputFile_
Definition: KVFTest.h:57
TrackingVertex getSimVertex(const edm::Event &iEvent) const
Definition: KVFTest.cc:125
SimpleVertexTree * tree
Definition: KVFTest.h:54
edm::EDGetTokenT< reco::TrackCollection > token_tracks
Definition: KVFTest.h:58
edm::ParameterSet theConfig
Definition: KVFTest.h:51
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: KVFTest.cc:57
virtual void endJob()
Definition: KVFTest.cc:48
edm::EDGetTokenT< TrackingParticleCollection > token_TrackTruth
Definition: KVFTest.h:59
int iEvent
Definition: GenABIO.cc:243
TFile * rootFile_
Definition: KVFTest.h:55
virtual void beginJob()
Definition: KVFTest.cc:44
edm::EDGetTokenT< TrackingVertexCollection > token_VertexTruth
Definition: KVFTest.h:60
KVFTest(const edm::ParameterSet &)
Definition: KVFTest.cc:24
edm::ParameterSet kvfPSet
Definition: KVFTest.h:52
~KVFTest()
Definition: KVFTest.cc:40