CMS 3D CMS Logo

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 
13 
14 
20 class RECOVertex {
21 public:
22  RECOVertex();
23  ~RECOVertex();
24 
25  void setup(const edm::ParameterSet& pSet, TTree* tree, std::string vertexType);
26  void clear(void);
27 
29  void analyze(edm::Handle<reco::VertexCollection> recoVertexs, TTree* tree);
30 
31 private:
32 
33  // Tree variables
34  int NVrtx;
39 
40  // input variables
41  bool _Debug;
42 
43 };
44 
45 #endif
float * VertexCand_y
Definition: RECOVertex.h:35
void setup(const edm::ParameterSet &pSet, TTree *tree, std::string vertexType)
Definition: RECOVertex.cc:49
float * VertexCand_ndof
Definition: RECOVertex.h:38
void analyze(edm::Handle< reco::VertexCollection > recoVertexs, TTree *tree)
Definition: RECOVertex.cc:91
float * VertexCand_z
Definition: RECOVertex.h:35
bool _Debug
Definition: RECOVertex.h:41
float * VertexCand_chi2
Definition: RECOVertex.h:37
int * VertexCand_tracks
Definition: RECOVertex.h:36
float * VertexCand_x
Definition: RECOVertex.h:35
Definition: tree.py:1
void clear(void)
Definition: RECOVertex.cc:37