1 |
sixie |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
loizides |
1.2 |
// $Id: FillerBasicClusters.h,v 1.1 2008/08/08 11:12:38 sixie Exp $
|
3 |
sixie |
1.1 |
//
|
4 |
|
|
// FillerBasicClusters
|
5 |
|
|
//
|
6 |
|
|
// Imlementation of a filler to fill EDM basic clusters into our mithep::BasicCluster data structure.
|
7 |
|
|
//
|
8 |
|
|
// Authors: Si Xie
|
9 |
|
|
//--------------------------------------------------------------------------------------------------
|
10 |
|
|
|
11 |
loizides |
1.2 |
#ifndef MITPROD_TREEFILLER_FILLERBASICCLUSTERS_H
|
12 |
|
|
#define MITPROD_TREEFILLER_FILLERBASICCLUSTERS_H
|
13 |
sixie |
1.1 |
|
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"
|
18 |
|
|
#include "MitProd/TreeFiller/interface/AssociationMaps.h"
|
19 |
|
|
|
20 |
|
|
namespace mithep
|
21 |
|
|
{
|
22 |
|
|
class FillerBasicClusters : public BaseFiller
|
23 |
|
|
{
|
24 |
|
|
public:
|
25 |
|
|
FillerBasicClusters(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
26 |
|
|
~FillerBasicClusters();
|
27 |
|
|
|
28 |
|
|
void BookDataBlock(TreeWriter &tws);
|
29 |
|
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
30 |
|
|
const BasicClusterMap *GetBasicClusterMap() const { return basicClusterMap_; }
|
31 |
|
|
|
32 |
|
|
private:
|
33 |
|
|
std::string edmName_;
|
34 |
|
|
std::string mitName_;
|
35 |
|
|
std::string basicClusterMapName_; //name of export map
|
36 |
|
|
mithep::BasicClusterArr *basicClusters_; //array of basic clusters
|
37 |
|
|
mithep::BasicClusterMap *basicClusterMap_; //map wrt basic Clusters
|
38 |
|
|
};
|
39 |
|
|
}
|
40 |
|
|
#endif
|