1 |
lethuill |
1.1 |
#ifndef MuonAnalyzer_h
|
2 |
|
|
#define MuonAnalyzer_h
|
3 |
|
|
|
4 |
|
|
#include "DataFormats/MuonReco/interface/Muon.h"
|
5 |
|
|
#include "DataFormats/MuonReco/interface/MuonFwd.h"
|
6 |
lethuill |
1.2 |
#include "DataFormats/PatCandidates/interface/Muon.h"
|
7 |
lethuill |
1.1 |
|
8 |
lethuill |
1.5 |
#include "../interface/LeptonAnalyzer.h"
|
9 |
lethuill |
1.2 |
#include "../interface/TRootMuon.h"
|
10 |
lethuill |
1.1 |
|
11 |
|
|
#include "TClonesArray.h"
|
12 |
|
|
|
13 |
|
|
|
14 |
lethuill |
1.5 |
class MuonAnalyzer : public LeptonAnalyzer
|
15 |
|
|
{
|
16 |
lethuill |
1.1 |
|
17 |
|
|
public:
|
18 |
|
|
MuonAnalyzer(const edm::ParameterSet& producersNames);
|
19 |
lethuill |
1.3 |
MuonAnalyzer(const edm::ParameterSet& producersNames, const edm::ParameterSet& myConfig, int verbosity);
|
20 |
lethuill |
1.1 |
~MuonAnalyzer();
|
21 |
lethuill |
1.5 |
//void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
|
22 |
lethuill |
1.1 |
void Process(const edm::Event& iEvent, TClonesArray* rootMuons);
|
23 |
|
|
|
24 |
|
|
private:
|
25 |
lethuill |
1.5 |
//int verbosity_;
|
26 |
|
|
//std::string dataType_ ;
|
27 |
lethuill |
1.1 |
edm::InputTag muonProducer_;
|
28 |
lethuill |
1.3 |
bool useMC_;
|
29 |
lethuill |
1.5 |
bool doPrimaryVertex_;
|
30 |
lethuill |
1.1 |
};
|
31 |
|
|
|
32 |
|
|
#endif
|