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