19#ifndef _SURFACECARD_HXX_
20#define _SURFACECARD_HXX_
#define sign(a)
Definition GenericReactorAssembly.cxx:43
SurfaceCard class is used to define geometrical math surface for MC output format.
Definition SurfaceCard.hxx:42
int fNumber
number of the surface in MC code
Definition SurfaceCard.hxx:100
virtual SurfaceCard * Clone()=0
string fMCCode
the Surface code (Px, Cz, ..)
Definition SurfaceCard.hxx:101
string GetMCCode()
Definition SurfaceCard.hxx:61
double GetArea()
Definition SurfaceCard.hxx:70
double fArea
Area of the Surface (from MC run)
Definition SurfaceCard.hxx:103
int GetNumber()
Definition SurfaceCard.hxx:88
virtual ~SurfaceCard()
destructor.
Definition SurfaceCard.cxx:56
virtual string GetId(int sign=1) const =0
void AddArgument(double arg)
Add argument "arg", i.e. surface parameters.
Definition SurfaceCard.cxx:62
void SetMCCode(string code)
Definition SurfaceCard.hxx:57
void SetArea(double a)
Definition SurfaceCard.hxx:66
int GetNref()
Definition SurfaceCard.hxx:74
vector< double > fArguments
Argument list of the surface.
Definition SurfaceCard.hxx:102
vector< double > GetArgument()
Definition SurfaceCard.hxx:53
void PrintDebug()
for debug only
Definition SurfaceCard.cxx:67
SurfaceCard()
Definition SurfaceCard.cxx:48
bool operator==(SurfaceCard &S)
Definition SurfaceCard.cxx:76
void AddNref(int inc=1)
Definition SurfaceCard.hxx:78
int fNref
Number of times this surface is referenced.
Definition SurfaceCard.hxx:104
void SetNumber(int n)
Definition SurfaceCard.hxx:92
the namespace of the Standard C++