Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
GeneratorInterface
Pythia6Interface
interface
PtYDistributor.h
Go to the documentation of this file.
1
#ifndef gen_PTYDISTRIBUTOR_H
2
#define gen_PTYDISTRIBUTOR_H
3
4
#include <fstream>
5
#include <iostream>
6
#include <sstream>
7
8
#include "CLHEP/Random/JamesRandom.h"
9
#include "CLHEP/Random/RandGeneral.h"
10
11
#include "
FWCore/ParameterSet/interface/FileInPath.h
"
12
13
namespace
gen
14
{
15
class
PtYDistributor
{
16
public
:
17
PtYDistributor
() {};
18
//PtYDistributor(std::string inputfile, CLHEP::HepRandomEngine& fRandomEngine, double ptmax, double ptmin, double ymax, double ymin, int ptbins, int ybins);
19
PtYDistributor
(
const
edm::FileInPath
& fip, CLHEP::HepRandomEngine& fRandomEngine,
20
double
ptmax,
double
ptmin
,
double
ymax
,
double
ymin
,
21
int
ptbins,
int
ybins);
22
virtual
~PtYDistributor
() {};
23
24
double
fireY
();
25
double
firePt
();
26
double
fireY
(
double
ymin
,
double
ymax
);
27
double
firePt
(
double
ptmin
,
double
ptmax);
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
}
43
44
#endif
45
gen::PtYDistributor::ymin_
double ymin_
Definition:
PtYDistributor.h:33
gen::PtYDistributor::PtYDistributor
PtYDistributor()
Definition:
PtYDistributor.h:17
SiStripMonitorClusterAlca_cfi.ymax
tuple ymax
Definition:
SiStripMonitorClusterAlca_cfi.py:37
relval_steps.gen
def gen
Definition:
relval_steps.py:246
gen::PtYDistributor::ptmax_
double ptmax_
Definition:
PtYDistributor.h:30
gen::PtYDistributor::fireY
double fireY()
Definition:
PtYDistributor.cc:63
FileInPath.h
gen::PtYDistributor
Definition:
PtYDistributor.h:15
gen::PtYDistributor::fYGenerator
CLHEP::RandGeneral * fYGenerator
Definition:
PtYDistributor.h:38
SiStripMonitorClusterAlca_cfi.ymin
tuple ymin
Definition:
SiStripMonitorClusterAlca_cfi.py:36
gen::PtYDistributor::~PtYDistributor
virtual ~PtYDistributor()
Definition:
PtYDistributor.h:22
gen::PtYDistributor::fPtGenerator
CLHEP::RandGeneral * fPtGenerator
Definition:
PtYDistributor.h:39
edm::FileInPath
Definition:
FileInPath.h:68
gen::PtYDistributor::ptbins_
int ptbins_
Definition:
PtYDistributor.h:35
gen::PtYDistributor::firePt
double firePt()
Definition:
PtYDistributor.cc:68
gen::PtYDistributor::ybins_
int ybins_
Definition:
PtYDistributor.h:36
gen::PtYDistributor::ymax_
double ymax_
Definition:
PtYDistributor.h:32
ptmin
double ptmin
Definition:
HydjetWrapper.h:85
gen::PtYDistributor::ptmin_
double ptmin_
Definition:
PtYDistributor.h:31
Generated for CMSSW Reference Manual by
1.8.5