File indexing completed on 2024-04-06 12:13:54
0001
0002 #ifndef PyquenAnalyzer_H
0003 #define PyquenAnalyzer_H
0004
0005 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0006
0007 #include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
0008
0009 #include "FWCore/Utilities/interface/EDGetToken.h"
0010 #include "FWCore/Framework/interface/ConsumesCollector.h"
0011
0012
0013 class TFile;
0014 class TH1D;
0015
0016 class PyquenAnalyzer : public edm::one::EDAnalyzer<> {
0017 public:
0018 explicit PyquenAnalyzer(const edm::ParameterSet&);
0019 virtual ~PyquenAnalyzer() {}
0020
0021 void analyze(const edm::Event&, const edm::EventSetup&) final;
0022 void beginJob() final;
0023 void endJob() final;
0024
0025 edm::EDGetTokenT<edm::HepMCProduct> srcT_;
0026
0027 private:
0028 TH1D* phdNdEta;
0029 TH1D* phdNdY;
0030 TH1D* phdNdPt;
0031 TH1D* phdNdPhi;
0032 };
0033
0034 #endif