ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerVertexes.h
Revision: 1.7
Committed: Fri Sep 25 08:42:50 2009 UTC (15 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a
Changes since 1.6: +2 -2 lines
Log Message:
Extended interface of BookDataBlock to contain event setup.

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.7 // $Id: FillerVertexes.h,v 1.6 2009/06/15 15:00:25 loizides Exp $
3 bendavid 1.1 //
4     // FillerVertexes
5     //
6 loizides 1.3 // Implementation of a filler to fill EDM reco:Vertex into our mithep::Vertex data structure.
7 bendavid 1.1 //
8     // Authors: J.Bendavid
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITPROD_TREEFILLER_FILLERVERTEXES_H
12     #define MITPROD_TREEFILLER_FILLERVERTEXES_H
13    
14 loizides 1.6 #include "MitAna/DataTree/interface/VertexFwd.h"
15     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
16 bendavid 1.1 #include "MitProd/TreeFiller/interface/BaseFiller.h"
17    
18     namespace mithep
19     {
20     class FillerVertexes : public BaseFiller
21     {
22     public:
23     FillerVertexes(const edm::ParameterSet &cfg, const char *name, bool active=1);
24     ~FillerVertexes();
25    
26 loizides 1.7 void BookDataBlock(TreeWriter &tws, const edm::EventSetup &es);
27 loizides 1.5 void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
28 bendavid 1.1
29     private:
30 loizides 1.5 std::string edmName_; //edm name of Vertex collection
31     std::string mitName_; //mit name of Vertices
32     std::string vertexMapName_; //name of exported map
33     mithep::VertexArr *vertexes_; //array of vertexes
34     mithep::VertexMap *vertexMap_; //map wrt vertexes
35 bendavid 1.1 };
36     }
37     #endif