1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef MuEnrichRenormalizer_H
#define MuEnrichRenormalizer_H
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
#include "TProfile.h"
// forward declarations
class TFile;
class TH1D;
class TH2D;
class TTree;
class MuEnrichRenormalizer : public edm::one::EDAnalyzer<> {
public:
//
explicit MuEnrichRenormalizer(const edm::ParameterSet&);
virtual ~MuEnrichRenormalizer() {} // no need to delete ROOT stuff
// as it'll be deleted upon closing TFile
virtual void analyze(const edm::Event&, const edm::EventSetup&);
virtual void beginJob();
virtual void endJob();
// HepMC::GenEvent *evt;
private:
int type, genLight, genBC, anaLight, anaBC;
double genIntlumi, anaIntlumi, rwbc, rwlight;
edm::EDGetTokenT<edm::HepMCProduct> theGenToken;
};
#endif
|