3 |
|
// |
4 |
|
// FillerVertexes |
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:Vertex into our mithep::Vertex data structure. |
7 |
|
// |
8 |
|
// Authors: J.Bendavid |
9 |
|
//-------------------------------------------------------------------------------------------------- |
11 |
|
#ifndef MITPROD_TREEFILLER_FILLERVERTEXES_H |
12 |
|
#define MITPROD_TREEFILLER_FILLERVERTEXES_H |
13 |
|
|
14 |
< |
#include "FWCore/ParameterSet/interface/ParameterSet.h" |
15 |
< |
#include "MitAna/DataUtil/interface/TreeWriter.h" |
16 |
< |
#include "MitAna/DataTree/interface/Collections.h" |
17 |
< |
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
14 |
> |
#include "MitAna/DataTree/interface/VertexFwd.h" |
15 |
|
#include "MitProd/TreeFiller/interface/AssociationMaps.h" |
16 |
+ |
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
17 |
|
|
18 |
|
namespace mithep |
19 |
|
{ |
23 |
|
FillerVertexes(const edm::ParameterSet &cfg, const char *name, bool active=1); |
24 |
|
~FillerVertexes(); |
25 |
|
|
26 |
< |
void BookDataBlock(TreeWriter &tws); |
27 |
< |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
26 |
> |
void BookDataBlock(TreeWriter &tws, const edm::EventSetup &es); |
27 |
> |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
28 |
|
|
29 |
|
private: |
30 |
< |
std::string edmName_; //edm name of Vertex collection |
31 |
< |
std::string mitName_; //name of Vertices in OAK |
32 |
< |
std::string vertexMapName_; //name of exported map |
33 |
< |
mithep::VertexArr *vertexes_; //array of vertexes |
34 |
< |
mithep::VertexMap *vertexMap_; //map wrt vertexes |
30 |
> |
std::string edmName_; //edm name of Vertex collection |
31 |
> |
std::string mitName_; //mit name of Vertices |
32 |
> |
std::string vertexMapName_; //name of exported map |
33 |
> |
mithep::VertexArr *vertexes_; //array of vertexes |
34 |
> |
mithep::VertexMap *vertexMap_; //map wrt vertexes |
35 |
|
}; |
36 |
|
} |
37 |
|
#endif |