test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RivetHarvesting.h
Go to the documentation of this file.
1 #ifndef GeneratorInterface_RivetInterface_RivetHarvesting
2 #define GeneratorInterface_RivetInterface_RivetHarvesting
3 
6 
7 #include "Rivet/AnalysisHandler.hh"
8 
9 #include <map>
10 
11 namespace edm{
12  class ParameterSet;
13  class Event;
14  class EventSetup;
15  class InputTag;
16 }
17 
19 {
20  public:
22 
23  virtual ~RivetHarvesting();
24 
25  virtual void beginJob();
26 
27  virtual void endJob();
28 
29  virtual void analyze(const edm::Event&, const edm::EventSetup&);
30 
31  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
32 
33  virtual void endRun(const edm::Run&, const edm::EventSetup&);
34 
35  private:
36 
37  std::vector<Rivet::DPSXYPoint> getDPSXYValsErrs(std::string filename, std::string path, std::string name );
38 
39  Rivet::AnalysisHandler _analysisHandler;
40  std::vector<std::string> _fileNames;
41  std::vector<double> _sumOfWeights;
42  std::vector<double> _crossSections;
43  std::vector<double> _lumis;
47  std::vector<std::string> _analysisNames;
48 };
49 
50 #endif
std::vector< double > _lumis
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
virtual void endRun(const edm::Run &, const edm::EventSetup &)
virtual ~RivetHarvesting()
edm::InputTag _hepmcCollection
std::vector< double > _crossSections
tuple path
else: Piece not in the list, fine.
RivetHarvesting(const edm::ParameterSet &)
std::vector< std::string > _fileNames
virtual void beginJob()
std::vector< double > _sumOfWeights
Rivet::AnalysisHandler _analysisHandler
std::string _outFileName
std::vector< Rivet::DPSXYPoint > getDPSXYValsErrs(std::string filename, std::string path, std::string name)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
tuple filename
Definition: lut2db_cfg.py:20
std::vector< std::string > _analysisNames
Definition: Run.h:41
virtual void endJob()