Vertex generator for neutrino-electron elastic scattering.
More...
#include <VertexGen_CC.hh>
|
|
| VertexGen_CC (const char *arg_dbname="solar") |
| |
|
virtual void | GeneratePrimaryVertex (G4Event *argEvent, G4ThreeVector &dx, G4double dt) |
| |
|
virtual void | SetState (G4String newValues) |
| |
|
virtual G4String | GetState () |
| |
| void | SetFlux (const G4String flux) |
| |
| G4String | GetFlux () |
| |
| void | SetNuFlavor (const G4String flavor) |
| |
| G4String | GetNuFlavor () |
| |
| CCgen * | GetHelper () |
| |
| const G4String | GetDBName () const |
| |
| void | SetDBName (const G4String name) |
| |
|
| GLG4VertexGen (const char *arg_dbname="vertex") |
| |
| virtual bool | ELimitable () |
| |
| virtual void | LimitEnergies (double, double) |
| |
| virtual double | EMaximum () |
| |
| virtual double | EMinimum () |
| |
Vertex generator for neutrino-electron elastic scattering.
- Author
- Nuno Barros nfbar.nosp@m.ros@.nosp@m.hep.u.nosp@m.penn.nosp@m..edu – contact person
- Date
- 18-Feb-2011
This class generates a vertex of a neutrino-electron elastic scattering. It is strongly based in an initial implementation by Joe Formaggio and an adaptation for a beam by Bill Seligman. The event generation for solar neutrinos is a bit more complicated and therefore the whole class was virtually re-written since then. The CC cross-section is now determined in a separate class. This class is responsible for performing the kinematic propagation.
◆ GetDBName()
| const G4String RAT::VertexGen_CC::GetDBName |
( |
| ) |
const |
|
inline |
Getter of the DB entry to input the spectrum from.
- Returns
- name of the DB name.
◆ GetFlux()
| G4String RAT::VertexGen_CC::GetFlux |
( |
| ) |
|
|
inline |
Return the flux being generated.
- Returns
- Database key of the flux being used in this instance of the generator.
◆ GetHelper()
| CCgen* RAT::VertexGen_CC::GetHelper |
( |
| ) |
|
|
inline |
- Returns
- the helper elastic scattering generator object.
◆ GetNuFlavor()
| G4String RAT::VertexGen_CC::GetNuFlavor |
( |
| ) |
|
|
inline |
Returns the neutrino flavor being generated.
◆ SetDBName()
| void RAT::VertexGen_CC::SetDBName |
( |
const G4String |
name | ) |
|
Setter of the DB name. Defaults to \'SOLAR\'
- Parameters
-
| [in] | name | of the database entry to look at. |
◆ SetFlux()
| void RAT::VertexGen_CC::SetFlux |
( |
const G4String |
flux | ) |
|
Auxiliary method to set the flux to be generated.
The flux can be any entry existing in the database defined in the constructor. For the case of solar it should be one of the solar fluxes (pp,pep,hep,be7,b8,n13,o15,f17). It looks up the corresponding spectrum in the SOLAR.ratdb file.
- Parameters
-
| flux | Key to the database entry. In case of solar it should be the corresponding flux. |
◆ SetNuFlavor()
| void RAT::VertexGen_CC::SetNuFlavor |
( |
const G4String |
flavor | ) |
|
Auxiliary method to set the neutrino flavor being generated.
- Parameters
-
| flavor | Flavor key passed to the RAT::CCCrossSec class. It can be one of (nue,numu,nuebar,numubar). |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/include/RAT/VertexGen_CC.hh
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/src/VertexGen_CC.cc