1 |
loizides |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
loizides |
1.2 |
// $Id: FillerCaloMet.h,v 1.1 2008/07/07 16:13:21 loizides Exp $
|
3 |
loizides |
1.1 |
//
|
4 |
|
|
// FillerCaloMet
|
5 |
|
|
//
|
6 |
loizides |
1.2 |
// Imlementation of a filler to fill EDM missing ET objects into our mithep::Met data structure.
|
7 |
loizides |
1.1 |
//
|
8 |
|
|
// Authors: C.Loizides
|
9 |
|
|
//--------------------------------------------------------------------------------------------------
|
10 |
|
|
|
11 |
|
|
#ifndef TREEFILLER_FILLERCALOMET_H
|
12 |
|
|
#define TREEFILLER_FILLERCALOMET_H
|
13 |
|
|
|
14 |
|
|
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
15 |
|
|
#include "DataFormats/METReco/interface/CaloMETCollection.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 FillerCaloMet : public BaseFiller
|
24 |
|
|
{
|
25 |
|
|
public:
|
26 |
|
|
FillerCaloMet(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
27 |
|
|
~FillerCaloMet();
|
28 |
|
|
|
29 |
|
|
void BookDataBlock(TreeWriter &tws);
|
30 |
|
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
31 |
|
|
|
32 |
|
|
private:
|
33 |
|
|
std::string edmName_;
|
34 |
|
|
std::string mitName_;
|
35 |
|
|
mithep::MetArr *mets_;
|
36 |
|
|
};
|
37 |
|
|
}
|
38 |
|
|
#endif
|