ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerBeamSpot.h
Revision: 1.2
Committed: Tue Mar 3 17:05:16 2009 UTC (16 years, 2 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_008pre1
Changes since 1.1: +3 -3 lines
Log Message:
Use array.

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerBeamSpot.h,v 1.1 2008/11/12 18:21:28 bendavid Exp $
3 //
4 // FillerBeamSpot
5 //
6 // Imlementation of a filler to fill EDM reco:Vertex into our mithep::Vertex 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_; //name of Vertices in OAK
33 mithep::BeamSpotArr *beamSpots_; //the beamspot array
34 };
35 }
36 #endif