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" |
14 |
> |
#include "MitAna/DataTree/interface/PFMetFwd.h" |
15 |
|
#include "MitProd/TreeFiller/interface/AssociationMaps.h" |
16 |
+ |
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
17 |
|
|
18 |
|
namespace mithep |
19 |
|
{ |
23 |
|
FillerPFMet(const edm::ParameterSet &cfg, const char *name, bool active=1); |
24 |
|
~FillerPFMet(); |
25 |
|
|
26 |
< |
void BookDataBlock(TreeWriter &tws); |
27 |
< |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
26 |
> |
void BookDataBlock(TreeWriter &tws, const edm::EventSetup &es); |
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_; //name of Mets in OAK |
31 |
> |
std::string mitName_; //mit name of met collection |
32 |
|
mithep::PFMetArr *pfMets_; //array of Mets |
33 |
|
}; |
34 |
|
} |