GENIEGenerator
Loading...
Searching...
No Matches
PetersonFragm.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::PetersonFragm
5
6\brief The Peterson fragmentation function.
7 Is a concrete implementation of the FragmentationFunctionI interface.
8
9\ref C.Peterson et al., Phys.Rev.D23, 56 (1981)
10
11\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
12 University of Liverpool
13
14\created June 15, 2004
15
16\cpright Copyright (c) 2003-2025, The GENIE Collaboration
17 For the full text of the license visit http://copyright.genie-mc.org
18*/
19//____________________________________________________________________________
20
21#ifndef _PETERSON_FRAGM_H_
22#define _PETERSON_FRAGM_H_
23
24#include <TF1.h>
25
28
29namespace genie {
30
32
33public:
35 PetersonFragm(string config);
37
38 //! implement the FragmentationFunctionI interface
39 double Value (double z) const;
40 double GenerateZ (void) const;
41
42 //! methods overloading the Algorithm() interface implementation
43 //! to build the fragmentation function from configuration data
44 void Configure(const Registry & config);
45 void Configure(string config);
46
47private:
48 void BuildFunction (void);
49 TF1 * fFunc;
50};
51
52} // genie namespace
53
54#endif // _PETERSON_FRAGM_H_
void Configure(const Registry &config)
double Value(double z) const
implement the FragmentationFunctionI interface
double GenerateZ(void) const
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25