1 |
loizides |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
bendavid |
1.7 |
// $Id: FillerCaloMet.h,v 1.6 2008/09/16 22:07:16 ksung 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 |
loizides |
1.4 |
#ifndef MITPROD_TREEFILLER_FILLERCALOMET_H
|
12 |
|
|
#define MITPROD_TREEFILLER_FILLERCALOMET_H
|
13 |
loizides |
1.1 |
|
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 |
loizides |
1.3 |
std::string edmName_; //edm name of met collection
|
34 |
|
|
std::string mitName_; //name of Mets in OAK
|
35 |
bendavid |
1.7 |
mithep::CaloMetArr *caloMets_; //array of Mets
|
36 |
loizides |
1.1 |
};
|
37 |
|
|
}
|
38 |
|
|
#endif
|