1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerGlobalMuons.h,v 1.6 2008/06/24 14:25:46 loizides Exp $
|
3 |
//
|
4 |
// FillerGlobalMuons
|
5 |
//
|
6 |
// Imlementation of a filler to fill EDM global muons into mithep::GlobalMuons.
|
7 |
//
|
8 |
// Authors: C.Paus
|
9 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
11 |
#ifndef TREEFILLER_FILLERGLOBALMUONS_H
|
12 |
#define TREEFILLER_FILLERGLOBALMUONS_H
|
13 |
|
14 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
15 |
#include "MitAna/DataUtil/interface/TreeWriter.h"
|
16 |
#include "MitAna/DataTree/interface/GlobalMuon.h"
|
17 |
#include "MitAna/DataTree/interface/Array.h"
|
18 |
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
19 |
|
20 |
namespace mithep
|
21 |
{
|
22 |
class FillerGlobalMuons : public BaseFiller
|
23 |
{
|
24 |
public:
|
25 |
FillerGlobalMuons(const edm::ParameterSet&);
|
26 |
~FillerGlobalMuons();
|
27 |
|
28 |
void BookDataBlock(TreeWriter &tws);
|
29 |
void FillDataBlock(const edm::Event&, const edm::EventSetup&);
|
30 |
void ResolveLinks (const edm::Event&, const edm::EventSetup&);
|
31 |
|
32 |
private:
|
33 |
std::string edmName_;
|
34 |
std::string mitName_;
|
35 |
mithep::Array<mithep::GlobalMuon> *muons_;
|
36 |
};
|
37 |
}
|
38 |
#endif
|