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 |
|
//-------------------------------------------------------------------------------------------------- |
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" |
16 |
– |
#include "MitAna/DataTree/interface/BeamSpot.h" |
17 |
|
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
18 |
|
|
19 |
|
namespace mithep |
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::BeamSpot *beamSpot_; //the beamspot |
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 |