8 #ifndef GET_HIT_MASK_HH
9 #define GET_HIT_MASK_HH
82 virtual u_int
GetSize ( )
const;
83 virtual u_int
GetNhit ( )
const;
91 virtual void SetThresholds (
const string & fname,
double fact = 1.,
double cst = 0. );
95 virtual void SetValid ( u_int ic,
bool b =
true );
96 virtual void SetHit ( u_int ic,
bool b =
true );
97 virtual bool IsValid ( u_int ic )
const;
98 virtual bool IsHit ( u_int ic )
const;
virtual int WriteFileText(const string &fname)
Definition: GETHitMask.cpp:379
bool * hit_table
Table of hit channels.
Definition: GETHitMask.hh:41
virtual void SetThresholds(double *tab)
Definition: GETHitMask.cpp:274
virtual ~GETHitMask()
Definition: GETHitMask.cpp:85
virtual u_int GetNhit() const
Definition: GETHitMask.icc:40
GETSystem * get_ptr
Pointer to the GET system.
Definition: GETHitMask.hh:37
virtual void InvertHits()
Definition: GETHitMask.cpp:215
virtual bool IsMaskDefined() const
Definition: GETHitMask.icc:9
virtual u_int GetSize() const
Definition: GETHitMask.icc:36
virtual void ClearHitMask()
Definition: GETHitMask.cpp:189
virtual int InitMask()
Definition: GETHitMask.cpp:145
GETHitMask(GETSystem *get=NULL)
Definition: GETHitMask.cpp:22
Definition: GETHitMask.hh:29
virtual void SetHit(u_int ic, bool b=true)
Definition: GETHitMask.icc:85
virtual bool IsHit(u_int ic) const
Definition: GETHitMask.icc:65
virtual int CreateThresholdXML(const string &fname, const double rdiscri=0.05)
Definition: GETHitMask.cpp:432
virtual void ClearValidMask()
Definition: GETHitMask.cpp:202
u_int nhit_val
Number of hit valid channels.
Definition: GETHitMask.hh:47
virtual void SetValid(u_int ic, bool b=true)
Definition: GETHitMask.icc:78
virtual bool IsMaskSet() const
Definition: GETHitMask.icc:13
virtual bool IsValidHit(u_int ic) const
Definition: GETHitMask.icc:71
u_int size
Number of GET channels.
Definition: GETHitMask.hh:40
GETSystem * GetSystemPtr() const
Definition: GETHitMask.icc:32
virtual void EraseMask()
Definition: GETHitMask.cpp:125
virtual double GetThreshold(u_int ic=0) const
Definition: GETHitMask.icc:50
virtual void CopyData(const GETHitMask &mask)
Definition: GETHitMask.cpp:98
virtual u_int UpdateMask()
Definition: GETHitMask.cpp:332
GETHitMask & operator=(const GETHitMask &mask)
Definition: GETHitMask.cpp:73
virtual bool IsValid(u_int ic) const
Definition: GETHitMask.icc:58
bool * val_table
Table of valid channels.
Definition: GETHitMask.hh:42
virtual void SetThreshold(double thr)
Definition: GETHitMask.cpp:240
u_int nhit
Number of hit channels.
Definition: GETHitMask.hh:46
virtual u_int GetNhitValid() const
Definition: GETHitMask.icc:44
virtual void SetDataInfo(u_short info)
Definition: GETHitMask.icc:20
u_short data_info
The flag indicating on which data the mask acts (test, output or reconstructed sample) ...
Definition: GETHitMask.hh:38
bool mask_set
Whether the mask has been computed.
Definition: GETHitMask.hh:45
virtual u_short GetDataInfo() const
Definition: GETHitMask.icc:26
Definition: GETSystem.hh:126
double * threshold
Current mask threshold table.
Definition: GETHitMask.hh:43