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 |
#include "DataFormats/PatCandidates/interface/Muon.h"
|
15 |
|
16 |
#include "../interface/TRootMuon.h"
|
17 |
|
18 |
#include "TClonesArray.h"
|
19 |
|
20 |
|
21 |
class MuonAnalyzer{
|
22 |
|
23 |
public:
|
24 |
MuonAnalyzer(const edm::ParameterSet& producersNames);
|
25 |
MuonAnalyzer(const edm::ParameterSet& producersNames, const edm::ParameterSet& myConfig, int verbosity);
|
26 |
~MuonAnalyzer();
|
27 |
void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
|
28 |
void Process(const edm::Event& iEvent, TClonesArray* rootMuons);
|
29 |
|
30 |
private:
|
31 |
int verbosity_;
|
32 |
std::string dataType_ ;
|
33 |
edm::InputTag muonProducer_;
|
34 |
bool useMC_;
|
35 |
};
|
36 |
|
37 |
#endif
|