Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Generator
src
Framework
EventGen
GVldContext.h
Go to the documentation of this file.
1
//____________________________________________________________________________
2
/*!
3
4
\class genie::GVldContext
5
6
\brief Validity Context for an Event Generator
7
8
\author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
9
University of Liverpool & STFC Rutherford Appleton Laboratory
10
11
\created November 20, 2004
12
13
\cpright Copyright (c) 2003-2020, The GENIE Collaboration
14
For the full text of the license visit http://copyright.genie-mc.org
15
*/
16
//____________________________________________________________________________
17
18
#ifndef _GENERATOR_VALIDITY_CONTEXT_H_
19
#define _GENERATOR_VALIDITY_CONTEXT_H_
20
21
#include <string>
22
#include <iostream>
23
24
#include "
Framework/Interaction/ScatteringType.h
"
25
#include "
Framework/Interaction/InteractionType.h
"
26
27
using
std::string
;
28
using
std::ostream;
29
30
namespace
genie
{
31
32
class
GVldContext;
33
class
Interaction
;
34
35
ostream &
operator<<
(ostream &
stream
,
const
GVldContext & vldc);
36
37
class
GVldContext
{
38
39
public
:
40
GVldContext
();
41
~GVldContext
();
42
43
void
Decode
(
string
encoded_values);
44
45
double
Emin
(
void
)
const
{
return
fEmin
; }
46
double
Emax
(
void
)
const
{
return
fEmax
; }
47
48
void
Print
(ostream &
stream
)
const
;
49
50
friend
ostream &
operator<<
(ostream & stream,
const
GVldContext
& vldc);
51
52
private
:
53
54
void
Init
(
void
);
55
56
void
DecodeENERGY
(
string
encoded_values);
57
58
double
fEmin
;
// min probe energy in validity range
59
double
fEmax
;
// max probe energy in validity range
60
};
61
62
}
// genie namespace
63
64
#endif // _GENERATOR_VALIDITY_CONTEXT_H_
genie::GVldContext::GVldContext
GVldContext()
Definition:
GVldContext.cxx:32
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition:
AlgCmp.h:25
cvn::Interaction
Interaction
Definition:
InteractionType.h:16
string
std::string string
Definition:
nybbler.cc:12
genie::GVldContext::Print
void Print(ostream &stream) const
Definition:
GVldContext.cxx:102
InteractionType.h
genie::GVldContext::operator<<
friend ostream & operator<<(ostream &stream, const GVldContext &vldc)
Definition:
GVldContext.cxx:25
ScatteringType.h
genie::GVldContext::fEmin
double fEmin
Definition:
GVldContext.h:58
genie::GVldContext::DecodeENERGY
void DecodeENERGY(string encoded_values)
Definition:
GVldContext.cxx:86
genie::GVldContext::~GVldContext
~GVldContext()
Definition:
GVldContext.cxx:37
generate_datataset.stream
stream
Definition:
generate_datataset.py:30
genie::operator<<
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
Definition:
AlgConfigPool.cxx:41
genie::GVldContext::Emax
double Emax(void) const
Definition:
GVldContext.h:46
genie::GVldContext::Init
void Init(void)
Definition:
GVldContext.cxx:96
genie::GVldContext::Emin
double Emin(void) const
Definition:
GVldContext.h:45
genie::GVldContext::fEmax
double fEmax
Definition:
GVldContext.h:59
genie::GVldContext
Validity Context for an Event Generator.
Definition:
GVldContext.h:37
genie::GVldContext::Decode
void Decode(string encoded_values)
Definition:
GVldContext.cxx:42
Generated by
1.8.11