CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/HLTrigger/HLTanalyzers/interface/RECOVertex.h

Go to the documentation of this file.
00001 #ifndef RECOVTX_H
00002 #define RECOVTX_H
00003 
00004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00005 #include "FWCore/Framework/interface/Event.h"
00006 #include "FWCore/Framework/interface/EventSetup.h"
00007 #include <vector>
00008 #include "TChain.h"
00009 
00010 #include "DataFormats/VertexReco/interface/Vertex.h" 
00011 #include "DataFormats/VertexReco/interface/VertexFwd.h" 
00012 
00013 
00019 class RECOVertex {
00020 public:
00021   RECOVertex(); 
00022   ~RECOVertex();
00023 
00024   void setup(const edm::ParameterSet& pSet, TTree* tree, std::string vertexType);
00025   void clear(void);
00026 
00028   void analyze(edm::Handle<reco::VertexCollection> recoVertexs, TTree* tree);
00029 
00030 private:
00031 
00032   // Tree variables
00033   int   NVrtx;
00034   float *VertexCand_x, *VertexCand_y, *VertexCand_z;
00035   int   *VertexCand_tracks;
00036   float *VertexCand_chi2;
00037   float *VertexCand_ndof;
00038 
00039   // input variables
00040   bool _Debug;
00041 
00042 };
00043 
00044 #endif