1 |
//---------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerPsClusters.h,v 1.8 2010/03/24 15:40:57 sixie Exp $
|
3 |
//
|
4 |
// FillerPsClusters
|
5 |
//
|
6 |
// Implementation of a filler to fill EDM preshower clusters into the
|
7 |
// mithep::PsCluster data structure.
|
8 |
//
|
9 |
// Authors: C.Paus, S.Xie, J.Bendavid
|
10 |
//---------------------------------------------------------------------------------------------------
|
11 |
|
12 |
#ifndef MITPROD_TREEFILLER_FILLERPSCLUSTERS_H
|
13 |
#define MITPROD_TREEFILLER_FILLERPSCLUSTERS_H
|
14 |
|
15 |
#include "MitAna/DataTree/interface/PsClusterFwd.h"
|
16 |
#include "MitProd/TreeFiller/interface/AssociationMaps.h"
|
17 |
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
18 |
|
19 |
namespace mithep
|
20 |
{
|
21 |
class FillerPsClusters : public BaseFiller
|
22 |
{
|
23 |
public:
|
24 |
FillerPsClusters(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
25 |
~FillerPsClusters();
|
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 clusters
|
32 |
std::string mitName_; //mit name of clusters
|
33 |
std::string psClusterMapName_; //name of export map
|
34 |
mithep::PsClusterArr *psClusters_; //array of basic clusters
|
35 |
mithep::PsClusterMap *psClusterMap_; //map wrt basic Clusters
|
36 |
};
|
37 |
}
|
38 |
#endif
|