ReinSehgalRESXSecWithCache.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::ReinSehgalRESXSecWithCache
5 
6 \brief An ABC that caches resonance neutrinoproduction cross sections on free
7  nucleons according to the Rein-Sehgal model. This significantly speeds
8  the cross section calculation for multiple nuclear targets (eg at the
9  spline construction phase)
10 
11 \ref D.Rein and L.M.Sehgal, Neutrino Excitation of Baryon Resonances
12  and Single Pion Production, Ann.Phys.133, 79 (1981)
13 
14 \author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
15  University of Liverpool & STFC Rutherford Appleton Lab
16 
17 \created March 09, 2006
18 
19 \cpright Copyright (c) 2003-2019, The GENIE Collaboration
20  For the full text of the license visit http://copyright.genie-mc.org
21  or see $GENIE/LICENSE
22 */
23 //____________________________________________________________________________
24 
25 #ifndef _REIN_SEHGAL_RES_XSEC_WITH_CACHE_H_
26 #define _REIN_SEHGAL_RES_XSEC_WITH_CACHE_H_
27 
30 #include "Framework/Utils/Range1.h"
32 
33 namespace genie {
34 
36 
37 protected:
40  ReinSehgalRESXSecWithCache(string name, string config);
42 
43  // Don't implement the XSecIntegratorI interface - leave it for the concrete
44  // subclasses. Just define utility methods and data
45  void CacheResExcitationXSec (const Interaction * interaction) const;
46  string CacheBranchName(Resonance_t r, InteractionType_t it, int nu, int nuc) const;
47 
49  double fWcut;
50  double fEMax;
51 
54 };
55 
56 } // genie namespace
57 #endif // _REIN_SEHGAL_RES_XSEC_WITH_CACHE_H_
58 
Cross Section Calculation Interface.
const XML_Char * name
Definition: expat.h:151
set< int >::iterator it
THE MAIN GENIE PROJECT NAMESPACE
Definition: GeneratorBase.h:8
Cross Section Integrator Interface.
Encapsulates a list of baryon resonances.
Definition: BaryonResList.h:37
Definition: config.py:1
enum genie::EResonance Resonance_t
Summary information for an interaction.
Definition: Interaction.h:56
string CacheBranchName(Resonance_t r, InteractionType_t it, int nu, int nuc) const
void CacheResExcitationXSec(const Interaction *interaction) const
TRandom3 r(0)
An ABC that caches resonance neutrinoproduction cross sections on free nucleons according to the Rein...
enum genie::EInteractionType InteractionType_t