GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Gw::CubicFilter Class Reference

CubicFilter class for cubic gates. More...

#include <CubicFilter.h>

Inheritance diagram for Gw::CubicFilter:

Public Member Functions

void AddGate (Double_t gateInf, Double_t gateSup, Int_t axis=0, Option_t *opt="update")
 Add gate. More...
 
void AddPeak (BasePeak *peak, Option_t *opt="update")
 Add Peak. More...
 
 CubicFilter ()
 
void Draw (Option_t *opt)
 Draw peaks. More...
 
Short_t GetCondition () const
 Get condition for gating. More...
 
Short_t GetDimension () const
 Get dimension for projected space. More...
 
Int_t GetNofPeaks () const
 Get number of peaks. More...
 
BasePeakGetPeak (Int_t idx) const
 Get peak. More...
 
void ImportGates (const Char_t *name, Option_t *opt="update")
 Import gates from file. More...
 
Bool_t IsCombined ()
 Flag to combined. More...
 
Bool_t IsForBkg ()
 Is for bkg gates. More...
 
Int_t IsInside (Double_t *energies, Int_t mult, Short_t *inGate, Int_t iGate=0)
 Get energies inside gates. More...
 
Bool_t IsListFilled (Int_t idx)
 Check if gate filled. More...
 
void MakeGates (Option_t *opt="peak")
 Make gates. More...
 
void Reset ()
 Reset gates. More...
 
void SetCondition (Short_t cond)
 Set dimension for gating. More...
 
void SetDimension (Short_t dim)
 Set dimension for projected space. More...
 
virtual ~CubicFilter ()
 

Static Public Member Functions

static const Char_t * GetFolderName ()
 Get Folder name. More...
 
static void SetFolderName (const Char_t *name)
 name of the filter folder More...
 

Protected Attributes

Short_t fCondition
 
Short_t fDimension
 number of conditions for gating More...
 
LogMessage fLog
 flag to know whether gate are made with bkg More...
 
TList * fPeakList
 dimension for projection More...
 
Bool_t IsBkg
 list of peaks More...
 

Detailed Description

CubicFilter class for cubic gates.

Definition at line 22 of file CubicFilter.h.


The documentation for this class was generated from the following files: