KaliVeda
Toolkit for HIC analysis
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 
12 using namespace std;
13 
15 
16 
17 
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.
Definition: KVIDZAContour.h:22
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 &)
Definition: KVIDentifier.h:46
virtual void SetMassFormula(Int_t mf)
Definition: KVIDentifier.h:107
virtual Int_t GetA() const
Definition: KVIDentifier.h:75
virtual void WriteAsciiFile_extras(std::ofstream &, const Char_t *="")
Definition: KVIDentifier.h:42
virtual Int_t GetZ() const
Definition: KVIDentifier.h:79
virtual void SetA(Int_t atnum)
Definition: KVIDentifier.h:88
virtual void SetZ(Int_t ztnum)
Definition: KVIDentifier.h:83
ClassImp(TPyArg)