ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerBeamSpot.h
Revision: 1.4
Committed: Sun Mar 22 10:00:45 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_009a, Mit_009, Mit_008
Changes since 1.3: +7 -7 lines
Log Message:
Cleanup

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerBeamSpot.h,v 1.3 2009/03/15 11:20:40 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 "FWCore/ParameterSet/interface/ParameterSet.h"
15 #include "MitAna/DataTree/interface/Collections.h"
16 #include "MitAna/DataUtil/interface/TreeWriter.h"
17 #include "MitProd/TreeFiller/interface/BaseFiller.h"
18
19 namespace mithep
20 {
21 class FillerBeamSpot : public BaseFiller
22 {
23 public:
24 FillerBeamSpot(const edm::ParameterSet &cfg, const char *name, bool active=1);
25 ~FillerBeamSpot();
26
27 void BookDataBlock(TreeWriter &tws);
28 void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
29
30 private:
31 std::string edmName_; //edm name of Vertex collection
32 std::string mitName_; //mit name of vertex branch
33 mithep::BeamSpotArr *beamSpots_; //the beamspot array
34 };
35 }
36 #endif