CMS 3D CMS Logo

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
edm
HLT enums.
Definition: AlignableModifier.h:19
gen::PtYDistributor::~PtYDistributor
virtual ~PtYDistributor()
Definition: PtYDistributor.h:20
edm::FileInPath
Definition: FileInPath.h:64
L1TOccupancyClient_cfi.ymax
ymax
Definition: L1TOccupancyClient_cfi.py:43
gen::PtYDistributor::fireY
double fireY(CLHEP::HepRandomEngine *)
Definition: PtYDistributor.cc:70
gen::PtYDistributor::ybins_
int ybins_
Definition: PtYDistributor.h:34
gen::PtYDistributor::fYGenerator
CLHEP::RandGeneral * fYGenerator
Definition: PtYDistributor.h:36
gen
Definition: PythiaDecays.h:13
CLHEP
Definition: CocoaGlobals.h:27
gen::PtYDistributor
Definition: PtYDistributor.h:14
gen::PtYDistributor::ptmin_
double ptmin_
Definition: PtYDistributor.h:29
gen::PtYDistributor::ptbins_
int ptbins_
Definition: PtYDistributor.h:33
gen::PtYDistributor::ymax_
double ymax_
Definition: PtYDistributor.h:30
gen::PtYDistributor::ptmax_
double ptmax_
Definition: PtYDistributor.h:28
LepHTMonitor_cff.ptbins
ptbins
Definition: LepHTMonitor_cff.py:39
muonTiming_cfi.ptmax
ptmax
Definition: muonTiming_cfi.py:22
gen::PtYDistributor::fPtGenerator
CLHEP::RandGeneral * fPtGenerator
Definition: PtYDistributor.h:37
L1TOccupancyClient_cfi.ymin
ymin
Definition: L1TOccupancyClient_cfi.py:43
ptmin
double ptmin
Definition: HydjetWrapper.h:84
gen::PtYDistributor::firePt
double firePt(CLHEP::HepRandomEngine *)
Definition: PtYDistributor.cc:72
gen::PtYDistributor::ymin_
double ymin_
Definition: PtYDistributor.h:31
gen::PtYDistributor::PtYDistributor
PtYDistributor()
Definition: PtYDistributor.h:16