Show rates (counts) per Crystal. More...
#include <EventPSAWatchers.h>
Public Member Functions | |
virtual void | Abort () |
virtual void | Add (TTask *) |
add only Watchers to the list of tasks to avoid problems. More... | |
virtual void | CleanTasks () |
overloaded for efficiency reasons. allocation of TIter is see in Shark (macos) as time consuming More... | |
virtual void | Continue () |
to remove them from the TTask menu More... | |
virtual void | Exec (Option_t *option="") |
watch the current frame More... | |
virtual void | Exec (Option_t *option="") |
watch the current frame More... | |
virtual Bool_t | GetDeletePool () const |
get flag to delete objects in pool More... | |
virtual Int_t | GetDepth () |
Get depth. More... | |
virtual Int_t | GetDepth () |
Get depth. More... | |
virtual TDirectory * | GetDirectory (Option_t *opt="") |
to each watcher a TDirectory is associated More... | |
Short_t | GetLastError () const |
Short_t | GetLastExecStatus () const |
to get the last status More... | |
virtual Int_t | GetMaxCycle () |
Get max cycle. More... | |
virtual Int_t | GetMaxCycle () |
Get max cycle. More... | |
virtual TObjArray & | GetPoolOfObject () |
virtual TObjArray & | GetReference () |
virtual Long_t | GetRefresh () |
Get Refresh. More... | |
virtual Long_t | GetRefresh () |
Get Refresh. More... | |
virtual ADF::DFTrigger * | GetTrigger () const |
To know the trigger in which the frame to be watched is embedded. More... | |
void | HandleMovement (Int_t eventType, Int_t eventX, Int_t eventY, TObject *select) |
Handle Movement. More... | |
void | HandleMovement (Int_t eventType, Int_t eventX, Int_t eventY, TObject *select) |
Handle Movement. More... | |
virtual Bool_t | IsNormByAll () |
return normalization More... | |
virtual Bool_t | IsNormByAll () |
return normalization More... | |
void | Pass () |
force fHasExecuted (recursively) to true More... | |
RateDisplay (const Char_t *name, const Char_t *title, TDirectory *sp_dir=0x0, TDirectory *tag_dir=0x0) | |
RateDisplay (const Char_t *name, const Char_t *title, TDirectory *sp_dir=0x0, TDirectory *tag_dir=0x0) | |
void | Reset () |
reset More... | |
void | Reset () |
reset More... | |
virtual void | SetBreakin (Int_t=1) |
virtual void | SetBreakout (Int_t=1) |
virtual void | SetDeletePool (Bool_t d) |
set flag to delete objects in pool More... | |
virtual void | SetDepth (Int_t depth=1, Bool_t stop=true) |
Set depth. More... | |
virtual void | SetDepth (Int_t depth=1, Bool_t stop=true) |
Set depth. More... | |
virtual void | SetDirectory (TDirectory *mother_dir_of_watcher, TDirectory *mother_dir_tag, Bool_t load_objects=true) |
to change the directory in which watcher's objects are stored More... | |
void | SetLastError (Short_t s=0) |
TMP : migration to TreeWatcher with Cuts : should be removed. More... | |
void | SetLastExecStatus (Short_t s=0) |
reset last status. 0 means no error, 0 < means error, > 0 means ok with conditions More... | |
virtual void | SetMaxCycle (Int_t cycle) |
Set max cycle. More... | |
virtual void | SetMaxCycle (Int_t cycle) |
Set max cycle. More... | |
virtual void | SetNormalization (Bool_t norm) |
Set normalization of counts per all crystals (true) or per each crystal (false) More... | |
virtual void | SetNormalization (Bool_t norm) |
Set normalization of counts per all crystals (true) or per each crystal (false) More... | |
void | SetRefresh (Long_t r) |
Set Refresh. More... | |
void | SetRefresh (Long_t r) |
Set Refresh. More... | |
virtual Bool_t | SetTrigger (ADF::DFTrigger *=0x0) |
Set the trigger attached to this watcher. More... | |
virtual Bool_t | SetTrigger (ADF::DFTrigger *=0x0) |
Set the trigger attached to this watcher. More... | |
void | ShowCanvas (Option_t *option="") |
Display some results. More... | |
virtual UInt_t | Snapshot (Option_t *="*") |
change kind of Watcher More... | |
virtual void | Tag (Option_t *opt="") |
Tag the current watcher. More... | |
virtual Bool_t | TestTag (Option_t *opt) |
Compare the current spectra with the tagged ones using Kolmogorov test. More... | |
void | UpdateCanvas () |
Update canvas. More... | |
void | UpdateCanvas () |
Update canvas. More... | |
void | UpdateRates () |
Update rates. More... | |
void | UpdateRates () |
Update rates. More... | |
virtual void | Zero (Option_t *hname="pool", Option_t *binning="") |
Zero. More... | |
virtual void | Zero (Option_t *hname="pool", Option_t *binning="") |
Zero. More... | |
virtual | ~RateDisplay () |
virtual | ~RateDisplay () |
Static Public Member Functions | |
static Watcher * | GetLastRegistered (const Char_t *classname, Option_t *opt="baseclass") |
to retrieve the last registered watcher of one type. More... | |
static const TList * | GetListOfWatchers () |
static void | SetFirst (Watcher *) |
move a watcher on top of the list More... | |
static void | SetGlobalDeletePool (Bool_t d) |
set static flag to delete objects in pool More... | |
Protected Member Functions | |
void | AddCluster (Double_t xOffset=0, Double_t yOffset=0) |
Add sectors for a cluster to list. More... | |
void | AddCluster (Double_t xOffset=0, Double_t yOffset=0) |
Add sectors for a cluster to list. More... | |
void | AddCristals (Double_t xPos=0, Double_t yPos=0) |
Add cluster at a given position to list. More... | |
void | AddCristals (Double_t xPos=0, Double_t yPos=0) |
Add cluster at a given position to list. More... | |
void | AddRates () |
Add polyline rate object list. More... | |
void | AddRates () |
Add polyline rate object list. More... | |
void | AddToDir (TObject *, TDirectory *) |
TObject * | AddToPool (TObject *ob) |
facility for other watchers: keep a list of all histograms (objects) for global operations More... | |
void | DirToDir (TDirectory *, TDirectory *, TObjArray &, Bool_t load_objects=true) |
utilities to add/move/remove objects from one dir to another one More... | |
virtual void | DoCanvas (TCanvas *canvas, Option_t *option) |
To be overwritten by real implementation if a canvas is produced. More... | |
virtual void | DoCanvas (TCanvas *canvas, Option_t *option) |
To be overwritten by real implementation if a canvas is produced. More... | |
void | DrawTag (TCanvas *, Option_t *) |
To display tagged histograms and their reference. More... | |
PSAInterface * | GetDataPSA (UInt_t which) |
To get one by one the PSA Frames in one event (It fills fFramePSA). Read has beed called ! More... | |
PSAInterface * | GetDataPSA (UInt_t which) |
To get one by one the PSA Frames in one event (It fills fFramePSA). Read has beed called ! More... | |
PSAInterface * | GetDataPSA (UInt_t which) |
To get one by one the PSA Frames in one event (It fills fFramePSA). Read has beed called ! More... | |
Bool_t | GetFromTrigger (ADF::DFTrigger *, const char *, ADF::SharedFP *&) |
Extract from the trigger and given frame pointer (usefull for other watchers) More... | |
UInt_t | GetNbFramePSA () |
number of PSA Frames extracted from the current event More... | |
UInt_t | GetNbFramePSA () |
number of PSA Frames extracted from the current event More... | |
UInt_t | GetNbFramePSA () |
number of PSA Frames extracted from the current event More... | |
Bool_t | GetPathOf (TFolder *f, TObject *searched, TString &path) |
in a folder look for the path to an elmement that is not a folder More... | |
TFolder * | GetSubFolder (TFolder *topfolder, const Char_t *sub="") |
for a new histogram, it returns the folder it belongs to. It creates sub and all intermediates if required More... | |
void | LoadObject (TObject *new_obj, TDirectory *root_dir) |
to specify what kind of watcher More... | |
Bool_t | MakeDir (TFolder *f, TDirectory *mother_dir, Bool_t do_top=true) |
in order to save/load, the structure of the top folders should exists in the root dir More... | |
template<typename Histo_T > | |
Histo_T * | MakeTH1 (const Char_t *hname, const Char_t *htitle, Int_t binx, Double_t xmin, Double_t xmax, const Char_t *sub="") |
Build an histogram, set it to sub directories if required and add it to the pool. More... | |
template<typename Histo_T > | |
Histo_T * | MakeTH2 (const Char_t *hname, const Char_t *htitle, Int_t binx, Double_t xmin, Double_t xmax, Int_t biny, Double_t ymin, Double_t ymax, const Char_t *sub="") |
template<typename Histo_T > | |
Histo_T * | MakeTH3 (const Char_t *hname, const Char_t *htitle, Int_t binx, Double_t xmin, Double_t xmax, Int_t biny, Double_t ymin, Double_t ymax, Int_t binz, Double_t zmin, Double_t zmax, const Char_t *sub="") |
TCanvas * | NewCanvas (Option_t *) |
It creates a new embedded canvas. More... | |
void | RemoveFromDir (TObject *, TDirectory *) |
void | TagOn (TObject *) |
Add this histogram to the list of tagged histograms. More... | |
Protected Attributes | |
TDirectory * | fDirectory |
Objects are in folders. They can be saved/load in/from directory. This is the mother in which this watcher directory is set. More... | |
SharedFP * | fFrame |
main frame i.e. event:data:psa More... | |
LogMessage | fLog |
Frame * | fPSAFrame |
current PSA frame to help decoding one by one More... | |
TDirectory * | fTagDirectory |
Tagged Objects are in folders. They can be saved/load in/from directory. This is the mother in which this watcher directory is set. More... | |
TFolder * | fTopFolder |
Top folder in which ae stored all spectra. More... | |
ADF::DFTrigger * | fTrigger |
trigger associated to this watcher More... | |
Static Protected Attributes | |
static Float_t | fgMetric |
Show rates (counts) per Crystal.
A schematic view of a triple cluster is drawn (a hexagon per crystal) the size of the triangle inside each sector is proportional to the counts inside this sector for a given depth. This latter could be set via the menu. Default wise the depth change for a given range of time in seconds (SetRefresh in Menu). To watch a single depth use SetDepth method, it stops the automatic refresh. To launch again this refresh use SetRefresh method. There are two ways of normalization. Default wise the rates in each sector is normalized onto the maximum counts found in all crystals. By setting in Menu via the method SetNormalization, the rates are normalized onto the maximum of counts for each individual crystal. Depth equal to zero correspond to the rate in core.
Definition at line 235 of file GSI/EventPSAWatchers.h.