CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 }
12 
13 namespace gen
14 {
16  public:
18  //PtYDistributor(std::string inputfile, CLHEP::HepRandomEngine& fRandomEngine, double ptmax, double ptmin, double ymax, double ymin, int ptbins, int ybins);
20  double ptmax, double ptmin, double ymax, double ymin,
21  int ptbins, int ybins);
22  virtual ~PtYDistributor() {};
23 
24  double fireY(CLHEP::HepRandomEngine*);
25  double firePt(CLHEP::HepRandomEngine*);
26  double fireY(double ymin, double ymax, CLHEP::HepRandomEngine*);
27  double firePt(double ptmin, double ptmax, CLHEP::HepRandomEngine*);
28 
29  private:
30  double ptmax_;
31  double ptmin_;
32  double ymax_;
33  double ymin_;
34 
35  int ptbins_;
36  int ybins_;
37 
38  CLHEP::RandGeneral* fYGenerator;
39  CLHEP::RandGeneral* fPtGenerator;
40  };
41 }
42 #endif
double firePt(CLHEP::HepRandomEngine *)
double fireY(CLHEP::HepRandomEngine *)
def gen
run2 Cosmic #### Run 256259 @ 0T 2015C### Run 272133 @ 3.8T 2016B###
CLHEP::RandGeneral * fYGenerator
virtual ~PtYDistributor()
CLHEP::RandGeneral * fPtGenerator
double ptmin
Definition: HydjetWrapper.h:90