6 |
|
// Implementation of a filler to fill EDM basic clusters into the |
7 |
|
// mithep::BasicCluster data structure. |
8 |
|
// |
9 |
< |
// Authors: S.Xie |
9 |
> |
// Authors: C.Paus, J.Bendavid, S.Xie |
10 |
|
//-------------------------------------------------------------------------------------------------- |
11 |
|
|
12 |
|
#ifndef MITPROD_TREEFILLER_FILLERBASICCLUSTERS_H |
13 |
|
#define MITPROD_TREEFILLER_FILLERBASICCLUSTERS_H |
14 |
|
|
15 |
< |
#include "FWCore/ParameterSet/interface/ParameterSet.h" |
16 |
< |
#include "MitAna/DataUtil/interface/TreeWriter.h" |
17 |
< |
#include "MitAna/DataTree/interface/Collections.h" |
18 |
< |
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
15 |
> |
#include "MitAna/DataTree/interface/BasicClusterFwd.h" |
16 |
|
#include "MitProd/TreeFiller/interface/AssociationMaps.h" |
17 |
+ |
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
18 |
|
|
19 |
|
namespace mithep |
20 |
|
{ |
26 |
|
|
27 |
|
void BookDataBlock(TreeWriter &tws); |
28 |
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
31 |
– |
const BasicClusterMap *GetBasicClusterMap() const { return basicClusterMap_; } |
29 |
|
|
30 |
|
private: |
31 |
< |
std::string edmName_; //edm name of clusters |
32 |
< |
std::string mitName_; //mit name of clusters |
33 |
< |
std::string basicClusterMapName_; //name of export map |
34 |
< |
mithep::BasicClusterArr *basicClusters_; //array of basic clusters |
35 |
< |
mithep::BasicClusterMap *basicClusterMap_; //map wrt basic Clusters |
31 |
> |
std::string edmName_; //edm name of clusters |
32 |
> |
std::string mitName_; //mit name of clusters |
33 |
> |
std::string barrelEcalRecHitName_; //name of barrel ecal rechits |
34 |
> |
std::string endcapEcalRecHitName_; //name of endcap ecal rechits |
35 |
> |
std::string basicClusterMapName_; //name of export map |
36 |
> |
bool pfClusters_; //for alternate shape computations |
37 |
> |
mithep::BasicClusterArr *basicClusters_; //array of basic clusters |
38 |
> |
mithep::BasicClusterMap *basicClusterMap_; //map wrt basic Clusters |
39 |
|
}; |
40 |
|
} |
41 |
|
#endif |