1 |
lethuill |
1.1 |
#ifndef METAnalyzer_h
|
2 |
|
|
#define METAnalyzer_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/METReco/interface/MET.h"
|
13 |
|
|
//#include "DataFormats/METReco/interface/METFwd.h"
|
14 |
|
|
#include "DataFormats/METReco/interface/CaloMET.h"
|
15 |
|
|
#include "DataFormats/METReco/interface/CaloMETCollection.h"
|
16 |
lethuill |
1.2 |
#include "DataFormats/PatCandidates/interface/MET.h"
|
17 |
lethuill |
1.1 |
|
18 |
lethuill |
1.2 |
#include "../interface/TRootEvent.h"
|
19 |
|
|
#include "../interface/TRootMET.h"
|
20 |
lethuill |
1.1 |
|
21 |
|
|
#include "TClonesArray.h"
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
class METAnalyzer{
|
25 |
|
|
|
26 |
|
|
public:
|
27 |
|
|
METAnalyzer(const edm::ParameterSet& producersNames);
|
28 |
|
|
METAnalyzer(const edm::ParameterSet& producersNames, int verbosity);
|
29 |
|
|
~METAnalyzer();
|
30 |
|
|
void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
|
31 |
lethuill |
1.2 |
void Process(const edm::Event& iEvent, TClonesArray* rootMET);
|
32 |
lethuill |
1.1 |
|
33 |
|
|
private:
|
34 |
|
|
int verbosity_;
|
35 |
lethuill |
1.2 |
std::string dataType_ ;
|
36 |
lethuill |
1.1 |
edm::InputTag metProducer_;
|
37 |
|
|
|
38 |
|
|
};
|
39 |
|
|
|
40 |
|
|
#endif
|