src
HLTrigger
HLTanalyzers
plugins
RECOVertex.h
Go to the documentation of this file.
1
#ifndef RECOVTX_H
2
#define RECOVTX_H
3
4
#include <vector>
5
6
#include <TChain.h>
7
8
#include "
DataFormats/VertexReco/interface/Vertex.h
"
9
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
10
#include "
FWCore/Framework/interface/Event.h
"
11
#include "
FWCore/Framework/interface/EventSetup.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
13
19
class
RECOVertex
{
20
public
:
21
RECOVertex
();
22
~RECOVertex
();
23
24
void
setup
(
const
edm::ParameterSet
&pSet, TTree *
tree
,
std::string
vertexType);
25
void
clear
(
void
);
26
28
void
analyze
(
edm::Handle<reco::VertexCollection>
recoVertexs, TTree *
tree
);
29
30
private
:
31
// Tree variables
32
int
NVrtx
;
33
float
*
VertexCand_x
, *
VertexCand_y
, *
VertexCand_z
;
34
int
*
VertexCand_tracks
;
35
float
*
VertexCand_chi2
;
36
float
*
VertexCand_ndof
;
37
38
// input variables
39
bool
_Debug
;
40
};
41
42
#endif
Vertex.h
Event.h
edm::Handle< reco::VertexCollection >
EventSetup.h
RECOVertex::VertexCand_y
float * VertexCand_y
Definition:
RECOVertex.h:33
VertexFwd.h
RECOVertex
Definition:
RECOVertex.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
RECOVertex::RECOVertex
RECOVertex()
Definition:
RECOVertex.cc:14
RECOVertex::setup
void setup(const edm::ParameterSet &pSet, TTree *tree, std::string vertexType)
Definition:
RECOVertex.cc:47
RECOVertex::VertexCand_ndof
float * VertexCand_ndof
Definition:
RECOVertex.h:36
RECOVertex::analyze
void analyze(edm::Handle< reco::VertexCollection > recoVertexs, TTree *tree)
Definition:
RECOVertex.cc:86
RECOVertex::VertexCand_z
float * VertexCand_z
Definition:
RECOVertex.h:33
RECOVertex::_Debug
bool _Debug
Definition:
RECOVertex.h:39
RECOVertex::~RECOVertex
~RECOVertex()
Definition:
RECOVertex.cc:27
RECOVertex::VertexCand_chi2
float * VertexCand_chi2
Definition:
RECOVertex.h:35
RECOVertex::VertexCand_tracks
int * VertexCand_tracks
Definition:
RECOVertex.h:34
RECOVertex::VertexCand_x
float * VertexCand_x
Definition:
RECOVertex.h:33
edm::ParameterSet
Definition:
ParameterSet.h:48
tree
Definition:
tree.py:1
RECOVertex::clear
void clear(void)
Definition:
RECOVertex.cc:36
RECOVertex::NVrtx
int NVrtx
Definition:
RECOVertex.h:32
Generated for CMSSW Reference Manual by
1.8.14