3 |
|
// |
4 |
|
// FillerBeamSpot |
5 |
|
// |
6 |
< |
// Imlementation of a filler to fill EDM reco:Vertex into our mithep::Vertex data structure. |
6 |
> |
// Implementation of a filler to fill EDM reco:BeamSpot into our mithep::BeamSpot data structure. |
7 |
|
// |
8 |
|
// Authors: J.Bendavid |
9 |
|
//-------------------------------------------------------------------------------------------------- |
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" |
14 |
> |
#include "MitAna/DataTree/interface/BeamSpotFwd.h" |
15 |
|
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
16 |
|
|
17 |
|
namespace mithep |
22 |
|
FillerBeamSpot(const edm::ParameterSet &cfg, const char *name, bool active=1); |
23 |
|
~FillerBeamSpot(); |
24 |
|
|
25 |
< |
void BookDataBlock(TreeWriter &tws); |
26 |
< |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
27 |
< |
|
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_; //name of Vertices in OAK |
31 |
< |
mithep::BeamSpotArr *beamSpots_; //the beamspot array |
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 |