GENIEGenerator
Loading...
Searching...
No Matches
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 <c.andreopoulos \at cern.ch>
9 University of Liverpool
10
11\created November 20, 2004
12
13\cpright Copyright (c) 2003-2025, 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
26
27using std::string;
28using std::ostream;
29
30namespace genie {
31
32class GVldContext;
33class Interaction;
34
35ostream & operator<< (ostream & stream, const GVldContext & vldc);
36
38
39public :
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
52private:
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_
Validity Context for an Event Generator.
Definition GVldContext.h:37
void Decode(string encoded_values)
void DecodeENERGY(string encoded_values)
double Emax(void) const
Definition GVldContext.h:46
friend ostream & operator<<(ostream &stream, const GVldContext &vldc)
double Emin(void) const
Definition GVldContext.h:45
void Print(ostream &stream) const
Summary information for an interaction.
Definition Interaction.h:56
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)