EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Distributor.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Distributor.h
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_
eic-smear
blob
master
include
eicsmear
smear
Distributor.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:32
using
1.8.2 with
EIC GitHub integration