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
32 #include <TFile.h>
33 
38 class KVFTest : public edm::one::EDAnalyzer<> {
39 public:
40  explicit KVFTest(const edm::ParameterSet&);
41  ~KVFTest() override;
42 
43  void analyze(const edm::Event&, const edm::EventSetup&) override;
44 
45  void beginJob() override;
46  void endJob() override;
47 
48 private:
50 
53 
56  std::unique_ptr<SimpleVertexTree> tree;
57  TFile* rootFile_;
58 
59  std::string outputFile_; // output file
64 };
EDAnalyzer.h
KVFTest::KVFTest
KVFTest(const edm::ParameterSet &)
Definition: KVFTest.cc:19
KVFTest::rootFile_
TFile * rootFile_
Definition: KVFTest.h:57
edm::EDGetTokenT< reco::TrackCollection >
KVFTest::theConfig
edm::ParameterSet theConfig
Definition: KVFTest.h:54
KVFTest::tree
std::unique_ptr< SimpleVertexTree > tree
Definition: KVFTest.h:56
KVFTest::~KVFTest
~KVFTest() override
Definition: KVFTest.cc:35
KVFTest::estoken_MF
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > estoken_MF
Definition: KVFTest.h:51
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
KVFTest::estoken_TTB
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > estoken_TTB
Definition: KVFTest.h:52
SimpleVertexTree.h
KVFTest::token_associatorForParamAtPca
edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > token_associatorForParamAtPca
Definition: KVFTest.h:63
TrackFwd.h
TrackingVertexContainer.h
KVFTest::token_tracks
edm::EDGetTokenT< reco::TrackCollection > token_tracks
Definition: KVFTest.h:60
SimVertex.h
IdealMagneticFieldRecord.h
TrackToTrackingParticleAssociator.h
KVFTest::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: KVFTest.cc:45
KVFTest::beginJob
void beginJob() override
Definition: KVFTest.cc:37
TransientTrackBuilder.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
KVFTest::endJob
void endJob() override
Definition: KVFTest.cc:39
TrackingVertex
Definition: TrackingVertex.h:22
KVFTest
Definition: KVFTest.h:38
iEvent
int iEvent
Definition: GenABIO.cc:224
KVFTest::kvfPSet
edm::ParameterSet kvfPSet
Definition: KVFTest.h:55
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:58
TransientTrackRecord.h
KVFTest::token_TrackTruth
edm::EDGetTokenT< TrackingParticleCollection > token_TrackTruth
Definition: KVFTest.h:61
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
Frameworkfwd.h
KVFTest::getSimVertex
TrackingVertex getSimVertex(const edm::Event &iEvent) const
Definition: KVFTest.cc:101
EventSetup.h
KVFTest::token_VertexTruth
edm::EDGetTokenT< TrackingVertexCollection > token_VertexTruth
Definition: KVFTest.h:62
ParameterSet.h
edm::Event
Definition: Event.h:73
KVFTest::outputFile_
std::string outputFile_
Definition: KVFTest.h:59