ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerBeamSpot.h
Revision: 1.3
Committed: Sun Mar 15 11:20:40 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_008pre2
Changes since 1.2: +5 -5 lines
Log Message:
Introduced BranchTable plus general cleanup.

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.3 // $Id: FillerBeamSpot.h,v 1.2 2009/03/03 17:05:16 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     #include "FWCore/ParameterSet/interface/ParameterSet.h"
15 loizides 1.2 #include "MitAna/DataTree/interface/Collections.h"
16 bendavid 1.1 #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 loizides 1.3 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 bendavid 1.1 };
35     }
36     #endif