GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CollinsSpillerFragm.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::CollinsSpillerFragm
5 
6 \brief The Collins-Spiller fragmentation function. \n
7  Is a concrete implementation of the FragmentationFunctionI interface.
8 
9 \ref P.D.B.Collins and T.P.Spiller, J.Phys.G11, 1289 (1984)
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-2024, The GENIE Collaboration
17  For the full text of the license visit http://copyright.genie-mc.org
18 */
19 //____________________________________________________________________________
20 
21 #ifndef _COLLINS_SPILLER_FRAGM_H_
22 #define _COLLINS_SPILLER_FRAGM_H_
23 
24 #include <TF1.h>
25 
27 
28 namespace genie {
29 
31 
32 public:
34  CollinsSpillerFragm(string config);
36 
37  //! implements the FragmentationFunctionI interface
38  double Value (double z) const;
39  double GenerateZ (void) const;
40 
41  //! methods overloading the Algorithm() interface implementation
42  //! to build the fragmentation function from configuration data
43  void Configure(const Registry & config);
44  void Configure(string config);
45 
46 private:
47  void BuildFunction (void);
48  TF1 * fFunc;
49 };
50 
51 } // genie namespace
52 
53 #endif // _COLLINS_SPILLER_FRAGM_H_
double Value(double z) const
implements the FragmentationFunctionI interface
void Configure(const Registry &config)
Pure abstract base class. Defines the FragmentationFunctionI interface to be implemented by any algor...
The Collins-Spiller fragmentation function. Is a concrete implementation of the FragmentationFuncti...
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65