KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVIDZAContour.cpp
1/*
2$Id: KVIDZAContour.cpp,v 1.2 2009/03/03 13:36:00 franklan Exp $
3$Revision: 1.2 $
4$Date: 2009/03/03 13:36:00 $
5*/
6
7//Created by KVClassFactory on Mon Apr 14 14:09:54 2008
8//Author: franklan
9
10#include "KVIDZAContour.h"
11
12using namespace std;
13
15
16
17
19
21{
22 // Default constructor
23}
24
25
26
29
31 : KVIDContour(g)
32{
33 // Copy constructor
34 SetZ(g.GetZ());
35 SetMassFormula(g.GetMassFormula());
36 SetA(g.GetA());
37}
38
39
40
43
45 : KVIDContour(g)
46{
47 // Copy the TCutG
48}
49
50
51
54
56{
57 // Destructor
58}
59
60
61
62
63
66
68 const Char_t* name_prefix)
69{
70 // Write Z & A of contour
71
73 file << GetZ() << "\t" << GetA() << endl;
74}
75
76
77
78
81
83{
84 // Read Z & A of contour
85
87 Int_t Z, A;
88 file >> Z >> A;
89 SetZ(Z);
90 SetA(A);
91}
92
93
int Int_t
char Char_t
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t g
Basic graphical contour class for use in particle identification.
Definition KVIDContour.h:23
Graphical contour associated with a given nucleus for use in particle identification.
virtual void WriteAsciiFile_extras(std::ofstream &, const Char_t *name_prefix="")
Write Z & A of contour.
virtual ~KVIDZAContour()
Destructor.
virtual void ReadAsciiFile_extras(std::ifstream &)
Read Z & A of contour.
KVIDZAContour()
Default constructor.
virtual void ReadAsciiFile_extras(std::ifstream &)
virtual void SetMassFormula(Int_t mf)
virtual Int_t GetA() const
virtual void WriteAsciiFile_extras(std::ofstream &, const Char_t *="")
virtual Int_t GetZ() const
virtual void SetA(Int_t atnum)
virtual void SetZ(Int_t ztnum)
ClassImp(TPyArg)