1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerMet.h,v 1.3 2009/03/22 10:00:45 loizides Exp $
|
3 |
//
|
4 |
// FillerMet
|
5 |
//
|
6 |
// Implementation of a filler to fill EDM missing ET objects into our mithep::Met data structure.
|
7 |
//
|
8 |
// Authors: C.Loizides
|
9 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
11 |
#ifndef MITPROD_TREEFILLER_FILLERMET_H
|
12 |
#define MITPROD_TREEFILLER_FILLERMET_H
|
13 |
|
14 |
#include "MitAna/DataTree/interface/MetFwd.h"
|
15 |
#include "MitProd/TreeFiller/interface/AssociationMaps.h"
|
16 |
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
17 |
|
18 |
namespace mithep
|
19 |
{
|
20 |
class FillerMet : public BaseFiller
|
21 |
{
|
22 |
public:
|
23 |
FillerMet(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
24 |
~FillerMet();
|
25 |
|
26 |
void BookDataBlock(TreeWriter &tws);
|
27 |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
28 |
|
29 |
private:
|
30 |
std::string edmName_; //edm name of met collection
|
31 |
std::string mitName_; //mit name of Mets
|
32 |
mithep::MetArr *mets_; //array of Mets
|
33 |
};
|
34 |
}
|
35 |
#endif
|