1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillGlobalMuons.h,v 1.5 2008/06/20 17:52:57 loizides Exp $
|
3 |
//
|
4 |
// FillGlobalMuons
|
5 |
//
|
6 |
// Module copying reconstructed EDM muons into mithep::Muons.
|
7 |
//
|
8 |
// Authors: C.Loizides, J.Bendavid, C.Paus
|
9 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
11 |
#ifndef TREEFILLER_FILLGLOBALMUONS_H
|
12 |
#define TREEFILLER_FILLGLOBALMUONS_H
|
13 |
|
14 |
#include "FWCore/Framework/interface/EDAnalyzer.h"
|
15 |
#include "FWCore/Framework/interface/Event.h"
|
16 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
17 |
#include "FWCore/Framework/interface/Frameworkfwd.h"
|
18 |
#include "MitAna/DataTree/interface/GlobalMuon.h"
|
19 |
#include "MitAna/DataTree/interface/Track.h"
|
20 |
#include "MitAna/DataTree/interface/Array.h"
|
21 |
|
22 |
namespace mithep
|
23 |
{
|
24 |
class FillGlobalMuons : public edm::EDAnalyzer
|
25 |
{
|
26 |
public:
|
27 |
FillGlobalMuons(const edm::ParameterSet&);
|
28 |
~FillGlobalMuons();
|
29 |
|
30 |
void analyze(const edm::Event&, const edm::EventSetup&);
|
31 |
void beginJob(const edm::EventSetup&);
|
32 |
void endJob ();
|
33 |
|
34 |
private:
|
35 |
mithep::Array<mithep::GlobalMuon> *muons_;
|
36 |
std::string muonSource_;
|
37 |
std::string muonBranch_;
|
38 |
};
|
39 |
}
|
40 |
#endif
|