KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVIDCutContour.cpp
1/*
2$Id: KVIDCutContour.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:10:56 2008
8//Author: franklan
9
10#include "KVIDCutContour.h"
11#include "KVIDGraph.h"
12
13using namespace std;
14
16
17
18
20
22{
23 // Default constructor
24 fExclusive = kFALSE;
25}
26
27
28
31
33 : KVIDContour(g)
34{
35 // Copy constructor
37}
38
39
40
43
45 : KVIDContour(g)
46{
47 // Copy the TCutG contour
49}
50
51
52
55
57{
58 // Destructor
59}
60
61
62
63
66
68 const Char_t* name_prefix)
69{
70 // Write fExclusive
71
73 file << fExclusive << endl;
74}
75
76
77
78
81
83{
84 // Read fExclusive
85
88}
89
90
91
94
96{
97 // Make contour exclusive i.e. only accept points outside contour
98 fExclusive = e;
99 if (GetParent()) GetParent()->Modified();
100}
101
102
103
#define e(i)
bool Bool_t
char Char_t
constexpr Bool_t kFALSE
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 for excluding/including regions in particle identification maps.
KVIDCutContour()
Default constructor.
virtual void ReadAsciiFile_extras(std::ifstream &)
Read fExclusive.
virtual ~KVIDCutContour()
Destructor.
Bool_t fExclusive
set to kTRUE if want to accept points OUTSIDE the contour
virtual void WriteAsciiFile_extras(std::ofstream &, const Char_t *name_prefix="")
Write fExclusive.
void SetExclusive(Bool_t e=kTRUE)
Make contour exclusive i.e. only accept points outside contour.
void Modified()
Definition KVIDGraph.h:255
virtual void ReadAsciiFile_extras(std::ifstream &)
virtual void WriteAsciiFile_extras(std::ofstream &, const Char_t *="")
KVIDGraph * GetParent() const
Get pointer to parent ID graph.
ClassImp(TPyArg)