Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoVertex
KalmanVertexFit
plugins
KVFTest.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: KVFTest
4
// Class: KVFTest
5
//
13
//
14
// Original Author: Pascal Vanlaer
15
// Created: Tue Feb 28 11:06:34 CET 2006
16
// $Id: KVFTest.h,v 1.3 2010/01/21 08:29:54 adamwo Exp $
17
//
18
//
19
20
21
// system include files
22
#include <memory>
23
24
// user include files
25
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
26
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
27
28
#include "
FWCore/Framework/interface/Event.h
"
29
#include "
FWCore/Framework/interface/EventSetup.h
"
30
31
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
32
#include "
SimDataFormats/Vertex/interface/SimVertex.h
"
33
#include "
SimDataFormats/TrackingAnalysis/interface/TrackingVertexContainer.h
"
34
#include "
RecoVertex/KalmanVertexFit/interface/SimpleVertexTree.h
"
35
#include "
SimTracker/TrackAssociation/interface/TrackAssociatorByChi2.h
"
36
#include <TFile.h>
37
42
class
KVFTest
:
public
edm::EDAnalyzer
{
43
public
:
44
explicit
KVFTest
(
const
edm::ParameterSet
&);
45
~KVFTest
();
46
47
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
48
49
virtual
void
beginJob
();
50
virtual
void
endJob
();
51
52
private
:
53
54
TrackingVertex
getSimVertex
(
const
edm::Event
&
iEvent
)
const
;
55
56
edm::ParameterSet
theConfig
;
57
edm::ParameterSet
kvfPSet
;
58
TrackAssociatorByChi2
*
associatorForParamAtPca
;
59
SimpleVertexTree
*
tree
;
60
TFile*
rootFile_
;
61
62
std::string
outputFile_
;
// output file
63
std::string
trackLabel_
;
// label of track producer
64
};
KVFTest::associatorForParamAtPca
TrackAssociatorByChi2 * associatorForParamAtPca
Definition:
KVFTest.h:58
KVFTest::outputFile_
std::string outputFile_
Definition:
KVFTest.h:62
KVFTest
Definition:
KVFTest.h:42
TrackingVertex
Definition:
TrackingVertex.h:23
KVFTest::getSimVertex
TrackingVertex getSimVertex(const edm::Event &iEvent) const
Definition:
KVFTest.cc:122
KVFTest::tree
SimpleVertexTree * tree
Definition:
KVFTest.h:59
Event.h
EventSetup.h
TrackingVertexContainer.h
KVFTest::theConfig
edm::ParameterSet theConfig
Definition:
KVFTest.h:56
KVFTest::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
KVFTest.cc:54
Frameworkfwd.h
TrackAssociatorByChi2.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
KVFTest::endJob
virtual void endJob()
Definition:
KVFTest.cc:45
ParameterSet.h
SimpleVertexTree
Definition:
SimpleVertexTree.h:41
iEvent
int iEvent
Definition:
GenABIO.cc:243
KVFTest::trackLabel_
std::string trackLabel_
Definition:
KVFTest.h:63
SimVertex.h
KVFTest::rootFile_
TFile * rootFile_
Definition:
KVFTest.h:60
edm::EventSetup
Definition:
EventSetup.h:44
edm::EDAnalyzer
Definition:
EDAnalyzer.h:15
EDAnalyzer.h
TrackAssociatorByChi2
Definition:
TrackAssociatorByChi2.h:42
KVFTest::beginJob
virtual void beginJob()
Definition:
KVFTest.cc:41
SimpleVertexTree.h
KVFTest::KVFTest
KVFTest(const edm::ParameterSet &)
Definition:
KVFTest.cc:25
KVFTest::kvfPSet
edm::ParameterSet kvfPSet
Definition:
KVFTest.h:57
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:56
KVFTest::~KVFTest
~KVFTest()
Definition:
KVFTest.cc:37
Generated for CMSSW Reference Manual by
1.8.5