1 |
sixie |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
paus |
1.9 |
// $Id: FillerBasicClusters.h,v 1.8 2010/03/24 15:40:57 sixie Exp $
|
3 |
sixie |
1.1 |
//
|
4 |
|
|
// FillerBasicClusters
|
5 |
|
|
//
|
6 |
loizides |
1.3 |
// Implementation of a filler to fill EDM basic clusters into the
|
7 |
|
|
// mithep::BasicCluster data structure.
|
8 |
sixie |
1.1 |
//
|
9 |
paus |
1.9 |
// Authors: C.Paus, J.Bendavid, S.Xie
|
10 |
sixie |
1.1 |
//--------------------------------------------------------------------------------------------------
|
11 |
|
|
|
12 |
loizides |
1.2 |
#ifndef MITPROD_TREEFILLER_FILLERBASICCLUSTERS_H
|
13 |
|
|
#define MITPROD_TREEFILLER_FILLERBASICCLUSTERS_H
|
14 |
sixie |
1.1 |
|
15 |
loizides |
1.5 |
#include "MitAna/DataTree/interface/BasicClusterFwd.h"
|
16 |
|
|
#include "MitProd/TreeFiller/interface/AssociationMaps.h"
|
17 |
sixie |
1.1 |
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
18 |
|
|
|
19 |
|
|
namespace mithep
|
20 |
|
|
{
|
21 |
|
|
class FillerBasicClusters : public BaseFiller
|
22 |
|
|
{
|
23 |
|
|
public:
|
24 |
|
|
FillerBasicClusters(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
25 |
|
|
~FillerBasicClusters();
|
26 |
|
|
|
27 |
paus |
1.9 |
void BookDataBlock(TreeWriter &tws);
|
28 |
|
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
29 |
sixie |
1.1 |
|
30 |
|
|
private:
|
31 |
paus |
1.9 |
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 |
sixie |
1.1 |
};
|
40 |
|
|
}
|
41 |
|
|
#endif
|