1 |
paus |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
loizides |
1.3 |
// $Id: FillGlobalMuons.h,v 1.2 2008/06/18 14:10:45 loizides Exp $
|
3 |
paus |
1.1 |
//
|
4 |
|
|
// FillGlobalMuons
|
5 |
|
|
//
|
6 |
|
|
// Module copying reconstructed EDM muons into mithep::Muons.
|
7 |
|
|
//
|
8 |
|
|
// Authors: C.Loizides, J.Bendavid, C.Paus
|
9 |
|
|
//--------------------------------------------------------------------------------------------------
|
10 |
loizides |
1.3 |
|
11 |
paus |
1.1 |
#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 "MitProd/TreeService/interface/TreeService.h"
|
19 |
|
|
#include "MitAna/DataUtil/interface/TreeWriter.h"
|
20 |
|
|
#include "MitAna/DataTree/interface/GlobalMuon.h"
|
21 |
|
|
#include "MitAna/DataTree/interface/Track.h"
|
22 |
loizides |
1.2 |
#include "MitAna/DataTree/interface/Array.h"
|
23 |
paus |
1.1 |
|
24 |
|
|
namespace mithep
|
25 |
|
|
{
|
26 |
|
|
class FillGlobalMuons : public edm::EDAnalyzer
|
27 |
|
|
{
|
28 |
|
|
public:
|
29 |
|
|
FillGlobalMuons(const edm::ParameterSet&);
|
30 |
|
|
~FillGlobalMuons();
|
31 |
|
|
|
32 |
|
|
void analyze(const edm::Event&, const edm::EventSetup&);
|
33 |
|
|
void beginJob(edm::EventSetup const&);
|
34 |
|
|
void endJob ();
|
35 |
|
|
|
36 |
|
|
private:
|
37 |
loizides |
1.2 |
mithep::Array<mithep::GlobalMuon> *muons_;
|
38 |
paus |
1.1 |
std::string muonSource_;
|
39 |
|
|
std::string muonBranch_;
|
40 |
|
|
};
|
41 |
|
|
}
|
42 |
|
|
#endif
|