ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerBeamSpot.h
Revision: 1.5
Committed: Mon Jun 15 15:00:24 2009 UTC (15 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_011, Mit_010a, Mit_010, Mit_009c, Mit_009b
Changes since 1.4: +2 -4 lines
Log Message:
Added proper fwd defs plus split up complilation of MitAna/DataTree LinkDefs.

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.5 // $Id: FillerBeamSpot.h,v 1.4 2009/03/22 10:00:45 loizides Exp $
3 bendavid 1.1 //
4     // FillerBeamSpot
5     //
6 loizides 1.3 // Implementation of a filler to fill EDM reco:BeamSpot into our mithep::BeamSpot data structure.
7 bendavid 1.1 //
8     // Authors: J.Bendavid
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITPROD_TREEFILLER_FILLERBEAMSPOT_H
12     #define MITPROD_TREEFILLER_FILLERBEAMSPOT_H
13    
14 loizides 1.5 #include "MitAna/DataTree/interface/BeamSpotFwd.h"
15 bendavid 1.1 #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 loizides 1.4 void BookDataBlock(TreeWriter &tws);
26     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
27    
28 bendavid 1.1 private:
29 loizides 1.4 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 bendavid 1.1 };
33     }
34     #endif