KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVINDRARRMValidator.h
Go to the documentation of this file.
1 /*
2 $Id: KVINDRARRMValidator.h,v 1.4 2007/07/05 13:37:12 franklan Exp $
3 $Revision: 1.4 $
4 $Date: 2007/07/05 13:37:12 $
5 $Author: franklan $
6 */
7 
8 #ifndef __KVINDRARRMVAL_H
9 #define __KVINDRARRMVAL_H
10 #include "TObject.h"
11 #include "KVNumberList.h"
12 
14 private:
15 
19 
20 public:
21 
24 
26  {
27  return fRuns;
28  };
30  {
31  return fRings;
32  };
34  {
35  return fModules;
36  };
37 
38  void SetRunList(const Char_t* list)
39  {
40  fRuns.SetList(list);
41  };
42 
43  void SetModuleList(const Char_t* list)
44  {
45  fModules.SetList(list);
46  }
47 
48  void SetRingList(const Char_t* list)
49  {
50  fRings.SetList(list);
51  }
52 
53  void SetRunList(TString list)
54  {
55  fRuns.SetList(list);
56  };
57 
59  {
60  fModules.SetList(list);
61  }
62 
63  void SetRingList(TString list)
64  {
65  fRings.SetList(list);
66  }
67 
68 
69  ClassDef(KVINDRARRMValidator, 1) //Defines validity of e.g. an ID grid in terms of lists of runs, rings and modules (INDRA detectors)
70 };
71 #endif
char Char_t
#define ClassDef(name, id)
KVNumberList & GetModuleList()
void SetRunList(TString list)
KVNumberList fModules
list of valid modules
virtual ~ KVINDRARRMValidator()
void SetRingList(const Char_t *list)
void SetRingList(TString list)
void SetModuleList(TString list)
KVNumberList fRings
list of valid rings
KVINDRARRMValidator()
Default constructor. Does nothing.
void SetModuleList(const Char_t *list)
KVNumberList & GetRunList()
KVNumberList & GetRingList()
void SetRunList(const Char_t *list)
KVNumberList fRuns
list of valid runs
Strings used to represent a set of ranges of values.
Definition: KVNumberList.h:83
void SetList(const TString &)