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 };
KVFTest::KVFTest
KVFTest(const edm::ParameterSet &)
Definition: KVFTest.cc:26
KVFTest::rootFile_
TFile * rootFile_
Definition: KVFTest.h:52
edm::EDGetTokenT< reco::TrackCollection >
KVFTest::theConfig
edm::ParameterSet theConfig
Definition: KVFTest.h:49
KVFTest::tree
std::unique_ptr< SimpleVertexTree > tree
Definition: KVFTest.h:51
KVFTest::~KVFTest
~KVFTest() override
Definition: KVFTest.cc:39
EDAnalyzer.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
SimpleVertexTree.h
KVFTest::token_associatorForParamAtPca
edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > token_associatorForParamAtPca
Definition: KVFTest.h:58
TrackFwd.h
TrackingVertexContainer.h
KVFTest::token_tracks
edm::EDGetTokenT< reco::TrackCollection > token_tracks
Definition: KVFTest.h:55
SimVertex.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackToTrackingParticleAssociator.h
KVFTest::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: KVFTest.cc:49
KVFTest::beginJob
void beginJob() override
Definition: KVFTest.cc:41
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
KVFTest::endJob
void endJob() override
Definition: KVFTest.cc:43
TrackingVertex
Definition: TrackingVertex.h:22
KVFTest
Definition: KVFTest.h:36
iEvent
int iEvent
Definition: GenABIO.cc:224
KVFTest::kvfPSet
edm::ParameterSet kvfPSet
Definition: KVFTest.h:50
edm::EventSetup
Definition: EventSetup.h:57
KVFTest::token_TrackTruth
edm::EDGetTokenT< TrackingParticleCollection > token_TrackTruth
Definition: KVFTest.h:56
Frameworkfwd.h
KVFTest::getSimVertex
TrackingVertex getSimVertex(const edm::Event &iEvent) const
Definition: KVFTest.cc:108
EventSetup.h
KVFTest::token_VertexTruth
edm::EDGetTokenT< TrackingVertexCollection > token_VertexTruth
Definition: KVFTest.h:57
ParameterSet.h
edm::Event
Definition: Event.h:73
KVFTest::outputFile_
std::string outputFile_
Definition: KVFTest.h:54