1 |
lethuill |
1.1 |
#ifndef MuonAnalyzer_h
|
2 |
|
|
#define MuonAnalyzer_h
|
3 |
|
|
|
4 |
|
|
// system include files
|
5 |
|
|
#include <iostream>
|
6 |
|
|
|
7 |
|
|
// user include files
|
8 |
|
|
#include "FWCore/Framework/interface/Event.h"
|
9 |
|
|
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
10 |
|
|
#include "FWCore/Framework/interface/ESHandle.h"
|
11 |
|
|
|
12 |
|
|
#include "DataFormats/MuonReco/interface/Muon.h"
|
13 |
|
|
#include "DataFormats/MuonReco/interface/MuonFwd.h"
|
14 |
|
|
|
15 |
|
|
#include "UserCode/Morgan/interface/TRootMuon.h"
|
16 |
|
|
|
17 |
|
|
#include "TClonesArray.h"
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
class MuonAnalyzer{
|
21 |
|
|
|
22 |
|
|
public:
|
23 |
|
|
MuonAnalyzer(const edm::ParameterSet& producersNames);
|
24 |
|
|
MuonAnalyzer(const edm::ParameterSet& producersNames, int verbosity);
|
25 |
|
|
~MuonAnalyzer();
|
26 |
|
|
void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
|
27 |
|
|
void Process(const edm::Event& iEvent, TClonesArray* rootMuons);
|
28 |
|
|
|
29 |
|
|
private:
|
30 |
|
|
int verbosity_;
|
31 |
|
|
edm::InputTag muonProducer_;
|
32 |
|
|
|
33 |
|
|
};
|
34 |
|
|
|
35 |
|
|
#endif
|