CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
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;
37 
38  // input variables
39  bool _Debug;
40 };
41 
42 #endif
float * VertexCand_y
Definition: RECOVertex.h:33
void setup(const edm::ParameterSet &pSet, TTree *tree, std::string vertexType)
Definition: RECOVertex.cc:47
float * VertexCand_ndof
Definition: RECOVertex.h:36
void analyze(edm::Handle< reco::VertexCollection > recoVertexs, TTree *tree)
Definition: RECOVertex.cc:86
float * VertexCand_z
Definition: RECOVertex.h:33
bool _Debug
Definition: RECOVertex.h:39
float * VertexCand_chi2
Definition: RECOVertex.h:35
int * VertexCand_tracks
Definition: RECOVertex.h:34
float * VertexCand_x
Definition: RECOVertex.h:33
void clear(void)
Definition: RECOVertex.cc:36