CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PtYDistributor.h
Go to the documentation of this file.
1 #ifndef gen_PTYDISTRIBUTOR_H
2 #define gen_PTYDISTRIBUTOR_H
3 
4 namespace edm {
5  class FileInPath;
6 }
7 
8 namespace CLHEP {
9  class RandGeneral;
10  class HepRandomEngine;
11 } // namespace CLHEP
12 
13 namespace gen {
15  public:
17  //PtYDistributor(std::string inputfile, CLHEP::HepRandomEngine& fRandomEngine, double ptmax, double ptmin, double ymax, double ymin, int ptbins, int ybins);
19  const edm::FileInPath& fip, double ptmax, double ptmin, double ymax, double ymin, int ptbins, int ybins);
20  virtual ~PtYDistributor(){};
21 
22  double fireY(CLHEP::HepRandomEngine*);
23  double firePt(CLHEP::HepRandomEngine*);
24  double fireY(double ymin, double ymax, CLHEP::HepRandomEngine*);
25  double firePt(double ptmin, double ptmax, CLHEP::HepRandomEngine*);
26 
27  private:
28  double ptmax_;
29  double ptmin_;
30  double ymax_;
31  double ymin_;
32 
33  int ptbins_;
34  int ybins_;
35 
36  CLHEP::RandGeneral* fYGenerator;
37  CLHEP::RandGeneral* fPtGenerator;
38  };
39 } // namespace gen
40 #endif
double firePt(CLHEP::HepRandomEngine *)
double fireY(CLHEP::HepRandomEngine *)
CLHEP::RandGeneral * fYGenerator
virtual ~PtYDistributor()
CLHEP::RandGeneral * fPtGenerator
double ptmin
Definition: HydjetWrapper.h:84