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 <constantinos.andreopoulos \at cern.ch>
15  University of Liverpool & STFC Rutherford Appleton Laboratory
16 
17 \created March 09, 2006
18 
19 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
20  For the full text of the license visit http://copyright.genie-mc.org
21 */
22 //____________________________________________________________________________
23 
24 #ifndef _REIN_SEHGAL_RES_XSEC_WITH_CACHE_H_
25 #define _REIN_SEHGAL_RES_XSEC_WITH_CACHE_H_
26 
29 #include "Framework/Utils/Range1.h"
31 
32 namespace genie {
33 
35 
36 protected:
39  ReinSehgalRESXSecWithCache(string name, string config);
41 
42  // Don't implement the XSecIntegratorI interface - leave it for the concrete
43  // subclasses. Just define utility methods and data
44  void CacheResExcitationXSec (const Interaction * interaction) const;
45  string CacheBranchName(Resonance_t r, InteractionType_t it, int nu, int nuc) const;
46 
48  double fWcut;
49  double fEMax;
50 
53 };
54 
55 } // genie namespace
56 #endif // _REIN_SEHGAL_RES_XSEC_WITH_CACHE_H_
static QCString name
Definition: declinfo.cpp:673
Cross Section Calculation Interface.
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
Cross Section Integrator Interface.
Encapsulates a list of baryon resonances.
Definition: BaryonResList.h:37
enum genie::EResonance Resonance_t
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
string CacheBranchName(Resonance_t r, InteractionType_t it, int nu, int nuc) const
void CacheResExcitationXSec(const Interaction *interaction) const
An ABC that caches resonance neutrinoproduction cross sections on free nucleons according to the Rein...
enum genie::EInteractionType InteractionType_t