ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerBeamSpot.h
Revision: 1.6
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_013pre1, Mit_012i, Mit_012h, Mit_012g, Mit_012f, Mit_012e, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a
Changes since 1.5: +2 -2 lines
Log Message:
Extended interface of BookDataBlock to contain event setup.

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerBeamSpot.h,v 1.5 2009/06/15 15:00:24 loizides Exp $
3 //
4 // FillerBeamSpot
5 //
6 // Implementation of a filler to fill EDM reco:BeamSpot into our mithep::BeamSpot data structure.
7 //
8 // Authors: J.Bendavid
9 //--------------------------------------------------------------------------------------------------
10
11 #ifndef MITPROD_TREEFILLER_FILLERBEAMSPOT_H
12 #define MITPROD_TREEFILLER_FILLERBEAMSPOT_H
13
14 #include "MitAna/DataTree/interface/BeamSpotFwd.h"
15 #include "MitProd/TreeFiller/interface/BaseFiller.h"
16
17 namespace mithep
18 {
19 class FillerBeamSpot : public BaseFiller
20 {
21 public:
22 FillerBeamSpot(const edm::ParameterSet &cfg, const char *name, bool active=1);
23 ~FillerBeamSpot();
24
25 void BookDataBlock(TreeWriter &tws, const edm::EventSetup &es);
26 void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
27
28 private:
29 std::string edmName_; //edm name of Vertex collection
30 std::string mitName_; //mit name of vertex branch
31 mithep::BeamSpotArr *beamSpots_; //the beamspot array
32 };
33 }
34 #endif