CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RECOVertex.h
Go to the documentation of this file.
1 #ifndef RECOVTX_H
2 #define RECOVTX_H
3 
7 #include <vector>
8 #include "TChain.h"
9 
12 
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 
32  // Tree variables
33  int NVrtx;
38 
39  // input variables
40  bool _Debug;
41 
42 };
43 
44 #endif
float * VertexCand_y
Definition: RECOVertex.h:34
void setup(const edm::ParameterSet &pSet, TTree *tree, std::string vertexType)
Definition: RECOVertex.cc:49
float * VertexCand_ndof
Definition: RECOVertex.h:37
void analyze(edm::Handle< reco::VertexCollection > recoVertexs, TTree *tree)
Definition: RECOVertex.cc:92
float * VertexCand_z
Definition: RECOVertex.h:34
bool _Debug
Definition: RECOVertex.h:40
float * VertexCand_chi2
Definition: RECOVertex.h:36
int * VertexCand_tracks
Definition: RECOVertex.h:35
float * VertexCand_x
Definition: RECOVertex.h:34
void clear(void)
Definition: RECOVertex.cc:37