eic-smear
1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
Main Page
Related Pages
Classes
Files
File List
File Members
Distributor.h
Go to the documentation of this file.
1
10
#ifndef INCLUDE_EICSMEAR_SMEAR_DISTRIBUTOR_H_
11
#define INCLUDE_EICSMEAR_SMEAR_DISTRIBUTOR_H_
12
13
#include <Rtypes.h>
14
15
class
TF1;
16
class
TString;
17
18
namespace
Smear {
19
32
class
Distributor
{
33
public
:
38
Distributor
();
39
54
Distributor
(
const
TString& formula,
double
lower,
double
upper,
55
double
minimum = -1.e6,
double
maximum = 1.e6);
56
60
virtual
~Distributor
();
61
65
virtual
double
Generate
(
double
midpoint,
double
width);
66
67
protected
:
68
double
mPlus;
69
double
mMinus;
70
TF1* mDistribution;
71
72
ClassDef(
Smear::Distributor
, 1)
73
};
74
75
}
// namespace Smear
76
77
#endif // INCLUDE_EICSMEAR_SMEAR_DISTRIBUTOR_H_
Smear::Distributor::~Distributor
virtual ~Distributor()
Definition:
Distributor.cxx:38
Smear::Distributor::Generate
virtual double Generate(double midpoint, double width)
Definition:
Distributor.cxx:45
Smear::Distributor::Distributor
Distributor()
Definition:
Distributor.cxx:18
Smear::Distributor
Definition:
Distributor.h:32
eic-smear
include
eicsmear
smear
Distributor.h
Generated on Thu Jul 24 2014 15:18:39 for eic-smear by
1.8.7