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