GENIEGenerator
Loading...
Searching...
No Matches
ARWavefunction.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::alvarezruso::ARWavefunction
5
6\brief Wave function class for AlvarezRuso Coherent pion production xsec
7
8\ref
9
10\author Steve Dennis
11 University of Warwick, Rutherford Appleton Laboratory
12
13\created 05/12/2013
14
15\cpright Copyright (c) 2003-2025, The GENIE Collaboration
16 For the full text of the license visit http://copyright.genie-mc.org
17*/
18//____________________________________________________________________________
19#ifndef _AR_WAVEFUNCTION_H_
20#define _AR_WAVEFUNCTION_H_
21
22#include <string>
23#include <complex>
24
25namespace genie
26{
27namespace alvarezruso
28{
29
31{
32 public:
33
34 ARWavefunction(unsigned int sampling_in, bool debug = false);
35
37
38 std::string print() const;
39
40 const std::vector<std::complex<double> >& operator[] (unsigned int i) const;
41
42 const std::complex<double> & operator() (unsigned int i, unsigned int j) const;
43
44 std::complex<double> get(unsigned int i, unsigned int j) const;
45
46 void set(unsigned int i, unsigned int j, const std::complex<double> & value);
47
48 unsigned int sampling() const;
49
50 private:
51
52 bool debug_;
53 unsigned int sampling_;
54 std::vector< std::vector<std::complex<double> > > wavefunction_;
55}; // class ARWavefunction
56
57} //namespace alvarezruso
58} //namespace genie
59
60#endif
void set(unsigned int i, unsigned int j, const std::complex< double > &value)
std::complex< double > get(unsigned int i, unsigned int j) const
ARWavefunction(unsigned int sampling_in, bool debug=false)
const std::complex< double > & operator()(unsigned int i, unsigned int j) const
const std::vector< std::complex< double > > & operator[](unsigned int i) const
std::vector< std::vector< std::complex< double > > > wavefunction_
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25