|
Heavy ion Analysis Libriares
|
#include <CutsAndMonitors.h>
Public Member Functions | |
| CutsAndMonitors (const CutsAndMonitors &other) | |
| CutsAndMonitors & | operator= (const CutsAndMonitors &other) |
| void | SetOptionForAllCuts (TString opt) |
| void | SetOptionForAllMonitors (TString opt) |
| void | AddCut (const Cut &cut, Option_t *opt="") |
| void | AddCutMonitor (const CutMonitor &monitor, Option_t *opt="") |
| void | SetCollectionID (Int_t id) |
| const Cut * | GetCut (Int_t i) const |
| TString | GetCutOption (Int_t i) const |
| TString | GetGlobalCutOption () |
| const CutMonitor * | GetMonitor (Int_t i) const |
| TString | GetGlobalCutMonitorOption () |
| TString | GetCutMonitorOption (Int_t i) const |
| Int_t | GetNCuts () const |
| Int_t | GetNCutMonitors () const |
| Int_t | GetNRequest () const |
| CutMonitorRequest & | GetCutMonitorRequest (Int_t i) |
| void | MakeCutMonitors (Option_t *opt="") |
Protected Member Functions | |
| Cut * | CutAt (Int_t i) const |
| CutMonitor * | MonitorAt (Int_t i) const |
| void | ClearCuts () |
| void | ClearMonitors () |
| void | AddRawCut (Cut *cut, TObjString *opt=nullptr) |
| void | AddRawCutMonitor (CutMonitor *mon, TObjString *opt=nullptr) |
| void | AddCutMonitorRequest (const CutMonAxisConf &x) |
| void | AddCutMonitorRequest (const CutMonAxisConf &x, const CutMonAxisConf &y) |
| void | AddCutMonitorRequest (const CutMonAxisConf &x, const CutMonAxisConf &y, const CutMonAxisConf &z) |
| virtual void | AddAllCutMonitorRequests (Option_t *opt)=0 |
| CutMonitor * | MakeCutMonitor (Int_t request_no) const |
| Int_t | GetCutNo (TString classname) const |
class that stores collection of hits and cut monitors after adding to task cuts/cut monitors are extracted and added with "local" and "global" option. E.g. CutsAndMonitors::AddCut(some_cut,"{0}) and CutsAndMonitors::SetOptionForAllCuts("re") is equivalent of EventAna::AddCut(some_cut,"{0}+re"),
Definition at line 37 of file CutsAndMonitors.h.
| Hal::CutsAndMonitors::CutsAndMonitors | ( | ) |
Definition at line 21 of file CutsAndMonitors.cxx.
| Hal::CutsAndMonitors::CutsAndMonitors | ( | const CutsAndMonitors & | other | ) |
Definition at line 29 of file CutsAndMonitors.cxx.
|
virtual |
Definition at line 157 of file CutsAndMonitors.cxx.
|
protectedpure virtual |
add all cut monitor requests
| option | passed by |
Implemented in Hal::TrackBasicV0Cuts.
| void Hal::CutsAndMonitors::AddCut | ( | const Cut & | cut, |
| Option_t * | opt = "" ) |
| void Hal::CutsAndMonitors::AddCutMonitor | ( | const CutMonitor & | monitor, |
| Option_t * | opt = "" ) |
add cut monitor to this container note: this class doesn't have to containe monitored cuts, they can be added later to the task
| monitor | |
| opt |
Definition at line 129 of file CutsAndMonitors.cxx.
|
protected |
add request to cut monitor, cuts must be present at this time
| x | configuration of x axis |
Definition at line 286 of file CutsAndMonitors.cxx.
|
protected |
add request to cut monitor, cuts must be present at this time
| x | configuration of x axis |
| y | configuration of y axis |
Definition at line 288 of file CutsAndMonitors.cxx.
|
protected |
add request to cut monitor, cuts must be present at this time
| x | configuration of x axis |
| y | configuration of y axis |
| z | configuration of z axis |
Definition at line 292 of file CutsAndMonitors.cxx.
|
protected |
add cut without copying the cut, cut will be owned by this class
| cut | |
| opt |
Definition at line 178 of file CutsAndMonitors.cxx.
|
protected |
add cut monitor without copying, this monitor will be owned by this class
| mon | |
| opt |
Definition at line 190 of file CutsAndMonitors.cxx.
|
protected |
clear cuts and cuts options
Definition at line 168 of file CutsAndMonitors.cxx.
|
protected |
clear cut monitors and their options
Definition at line 173 of file CutsAndMonitors.cxx.
|
protected |
| const Cut * Hal::CutsAndMonitors::GetCut | ( | Int_t | i | ) | const |
| TString Hal::CutsAndMonitors::GetCutMonitorOption | ( | Int_t | i | ) | const |
|
inline |
|
protected |
find number of cut by it classname
| classname |
Definition at line 277 of file CutsAndMonitors.cxx.
| TString Hal::CutsAndMonitors::GetCutOption | ( | Int_t | i | ) | const |
| i |
Definition at line 143 of file CutsAndMonitors.cxx.
|
inline |
Definition at line 174 of file CutsAndMonitors.h.
|
inline |
Definition at line 163 of file CutsAndMonitors.h.
| const CutMonitor * Hal::CutsAndMonitors::GetMonitor | ( | Int_t | i | ) | const |
| Int_t Hal::CutsAndMonitors::GetNCutMonitors | ( | ) | const |
Definition at line 68 of file CutsAndMonitors.cxx.
| Int_t Hal::CutsAndMonitors::GetNCuts | ( | ) | const |
Definition at line 63 of file CutsAndMonitors.cxx.
|
inline |
Definition at line 195 of file CutsAndMonitors.h.
|
protected |
return cut monitor request
| request_no |
Definition at line 202 of file CutsAndMonitors.cxx.
| void Hal::CutsAndMonitors::MakeCutMonitors | ( | Option_t * | opt = "" | ) |
this function makes requested cut monitors, it must be called before adding to analysis
Definition at line 267 of file CutsAndMonitors.cxx.
|
protected |
| CutsAndMonitors & Hal::CutsAndMonitors::operator= | ( | const CutsAndMonitors & | other | ) |
Definition at line 73 of file CutsAndMonitors.cxx.
| void Hal::CutsAndMonitors::SetCollectionID | ( | Int_t | id | ) |
|
inline |
|
inline |
set global option for all cut monitors
| opt |
Definition at line 128 of file CutsAndMonitors.h.