Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
IOMC
ParticleGuns
interface
ExpoRandomPtGunSource.h
Go to the documentation of this file.
1
#ifndef ExpoRandomPtGunSource_H
2
#define ExpoRandomPtGunSource_H
3
10
#include "
IOMC/ParticleGuns/interface/BaseFlatGunSource.h
"
11
#include "CLHEP/Random/RandExponential.h"
12
namespace
edm
13
{
14
15
class
ExpoRandomPtGunSource
:
public
BaseFlatGunSource
16
{
17
18
public
:
19
ExpoRandomPtGunSource
(
const
ParameterSet
&,
const
InputSourceDescription
& );
20
virtual
~ExpoRandomPtGunSource
();
21
22
private
:
23
24
virtual
bool
produce
(
Event
&
e
);
25
26
protected
:
27
28
// data members
29
30
double
fMinPt
;
31
double
fMaxPt
;
32
double
fMeanPt
;
33
CLHEP::RandExponential *
fRandomExpoGenerator
;
34
35
};
36
}
37
38
#endif
ExpressReco_HICollisions_FallBack.e
tuple e
Definition:
ExpressReco_HICollisions_FallBack.py:1068
edm::ExpoRandomPtGunSource::ExpoRandomPtGunSource
ExpoRandomPtGunSource(const ParameterSet &, const InputSourceDescription &)
Definition:
ExpoRandomPtGunSource.cc:23
edm::ExpoRandomPtGunSource::~ExpoRandomPtGunSource
virtual ~ExpoRandomPtGunSource()
Definition:
ExpoRandomPtGunSource.cc:45
edm::ExpoRandomPtGunSource::fMaxPt
double fMaxPt
Definition:
ExpoRandomPtGunSource.h:31
edm::ExpoRandomPtGunSource::produce
virtual bool produce(Event &e)
Definition:
ExpoRandomPtGunSource.cc:50
edm::InputSourceDescription
Definition:
InputSourceDescription.h:17
edm::BaseFlatGunSource
Definition:
BaseFlatGunSource.h:32
edm::ExpoRandomPtGunSource::fRandomExpoGenerator
CLHEP::RandExponential * fRandomExpoGenerator
Definition:
ExpoRandomPtGunSource.h:33
edm::ExpoRandomPtGunSource::fMeanPt
double fMeanPt
Definition:
ExpoRandomPtGunSource.h:32
edm::ExpoRandomPtGunSource::fMinPt
double fMinPt
Definition:
ExpoRandomPtGunSource.h:30
BaseFlatGunSource.h
edm::ParameterSet
Definition:
ParameterSet.h:31
edm::ExpoRandomPtGunSource
Definition:
ExpoRandomPtGunSource.h:15
edm::Event
Definition:
Event.h:49
Generated for CMSSW Reference Manual by
1.8.5