Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:39

0001 #ifndef MuEnrichRenormalizer_H
0002 #define MuEnrichRenormalizer_H
0003 
0004 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0005 #include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
0006 #include "TProfile.h"
0007 
0008 // forward declarations
0009 class TFile;
0010 class TH1D;
0011 class TH2D;
0012 class TTree;
0013 
0014 class MuEnrichRenormalizer : public edm::one::EDAnalyzer<> {
0015 public:
0016   //
0017   explicit MuEnrichRenormalizer(const edm::ParameterSet&);
0018   virtual ~MuEnrichRenormalizer() {}  // no need to delete ROOT stuff
0019                                       // as it'll be deleted upon closing TFile
0020 
0021   virtual void analyze(const edm::Event&, const edm::EventSetup&);
0022   virtual void beginJob();
0023   virtual void endJob();
0024 
0025   //     HepMC::GenEvent  *evt;
0026 
0027 private:
0028   int type, genLight, genBC, anaLight, anaBC;
0029   double genIntlumi, anaIntlumi, rwbc, rwlight;
0030   edm::EDGetTokenT<edm::HepMCProduct> theGenToken;
0031 };
0032 
0033 #endif