Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::CutMonitorXY Class Reference
Inheritance diagram for Hal::CutMonitorXY:
Hal::CutMonitor Hal::PropertyMonitorXY Hal::EventFieldMonitorXY Hal::TrackFieldMonitorXY MyHal::PropertyMonitorTemplateXY Hal::DCAPropertyMonitor Hal::TofPropertyMonitor

Public Member Functions

 CutMonitorXY (TString cut_A, TString cut_B)
 
 CutMonitorXY (TString cut_A, Int_t parameter_A, std::initializer_list< Double_t > xAxis, TString cut_B, Int_t parameter_B, std::initializer_list< Double_t > yAxis)
 
 CutMonitorXY (TString cut_A, Int_t parameter_A, TString cut_B, Int_t parameter_B)
 
 CutMonitorXY (const CutMonitorXY &other)
 
CutMonitorXYoperator= (const CutMonitorXY &other)
 
virtual Bool_t Init (Int_t task_id)
 
virtual void Update (Bool_t passed, TObject *obj)
 
virtual CutMonitorMakeCopy () const
 
- Public Member Functions inherited from Hal::CutMonitor
 CutMonitor (Int_t size=0)
 
 CutMonitor (const CutMonitor &other)
 
CutMonitoroperator= (const CutMonitor &other)
 
void Reset ()
 
void AddCut (TString cut, Int_t parameter_no=0)
 
void SetXaxis (Int_t bins, Double_t min, Double_t max)
 
void SetYaxis (Int_t bins, Double_t min, Double_t max)
 
void SetZaxis (Int_t bins, Double_t min, Double_t max)
 
void AddForcedCut (Cut *cut, Int_t no)
 
void CopySettings (const CutMonitor *original)
 
void SetCollectionID (Int_t i)
 
void EnableExclusiveUpdate ()
 
Int_t GetCollectionID () const
 
Int_t GetAxisNo () const
 
Int_t GetCutParameter (Int_t i) const
 
Bool_t AreSimilar (CutMonitor *other) const
 
TString GetCutName (Int_t i) const
 
ECutUpdate GetUpdateRatio () const
 
virtual Bool_t ObjMonitor () const
 
virtual PackageReport () const
 
CutGetCutLink (Int_t i) const
 

Protected Member Functions

void TrueUpdate (Bool_t passed)
 
void CreateHistograms ()
 
- Protected Member Functions inherited from Hal::CutMonitor
void SetAxis (Int_t bins, Double_t min, Double_t max, Int_t opt)
 
void SetAxisList (std::initializer_list< Double_t > axis, Char_t opt)
 
CutGetCut (Int_t i) const
 

Additional Inherited Members

- Protected Attributes inherited from Hal::CutMonitor
const Int_t fAxisNo
 
Int_t fCuts
 
Int_t fCollectionID
 
Int_t * fAxisBins
 
Int_t * fOptionAxis
 
TH1 * fHistoPassed
 
TH1 * fHistoFailed
 
Double_t * fAxisMin
 
Double_t * fAxisMax
 
Bool_t fInit
 
Bool_t fExUpdate
 
Cut ** fCut
 
TString * fCutNames
 
ECutUpdate fUpdateRatio
 

Detailed Description

Definition at line 17 of file CutMonitorXY.h.

Constructor & Destructor Documentation

◆ CutMonitorXY() [1/5]

Hal::CutMonitorXY::CutMonitorXY ( )

Definition at line 21 of file CutMonitorXY.cxx.

◆ CutMonitorXY() [2/5]

Hal::CutMonitorXY::CutMonitorXY ( TString cut_A,
TString cut_B )
Parameters
cut_Aname of cut monitored on X axis
cut_Bname of cut monitored on Y axis

Definition at line 27 of file CutMonitorXY.cxx.

◆ CutMonitorXY() [3/5]

Hal::CutMonitorXY::CutMonitorXY ( TString cut_A,
Int_t parameter_A,
std::initializer_list< Double_t > xAxis,
TString cut_B,
Int_t parameter_B,
std::initializer_list< Double_t > yAxis )
Parameters
cut_Aname of cut on X-axis
parameter_Aparameter number on X axis
xAxisx axis conf {bins,min,max}
cut_Bname of cut on Y-axis
parameter_Bparameter number on Y axis
yAxisconfiguration of Y-axis (bins,min,max}

Definition at line 32 of file CutMonitorXY.cxx.

◆ CutMonitorXY() [4/5]

Hal::CutMonitorXY::CutMonitorXY ( TString cut_A,
Int_t parameter_A,
TString cut_B,
Int_t parameter_B )
Parameters
cut_Aname of cut monitored on X axis
parameter_Anumber of parameter monitored on X axis
cut_Bname of cut monitored on Y axis
parameter_Bnumber of parameter monitored on Y axis

Definition at line 45 of file CutMonitorXY.cxx.

◆ CutMonitorXY() [5/5]

Hal::CutMonitorXY::CutMonitorXY ( const CutMonitorXY & other)

copy c-tor

Parameters
otherobject to copy

Definition at line 70 of file CutMonitorXY.cxx.

◆ ~CutMonitorXY()

Hal::CutMonitorXY::~CutMonitorXY ( )
virtual

Definition at line 72 of file CutMonitorXY.cxx.

Member Function Documentation

◆ CreateHistograms()

void Hal::CutMonitorXY::CreateHistograms ( )
protectedvirtual

allocate histograms

Reimplemented from Hal::CutMonitor.

Reimplemented in Hal::PropertyMonitorXY.

Definition at line 93 of file CutMonitorXY.cxx.

◆ Init()

Bool_t Hal::CutMonitorXY::Init ( Int_t task_id)
virtual

initialize this cut monitor

Parameters
task_idtask number

Reimplemented from Hal::CutMonitor.

Reimplemented in Hal::EventFieldMonitorXY, Hal::PropertyMonitorXY, Hal::TrackFieldMonitorXY, and MyHal::PropertyMonitorTemplateXY.

Definition at line 74 of file CutMonitorXY.cxx.

◆ MakeCopy()

CutMonitor * Hal::CutMonitorXY::MakeCopy ( ) const
virtual

make copy of this object

Returns
copy of this

Reimplemented from Hal::CutMonitor.

Reimplemented in Hal::DCAPropertyMonitor, Hal::EventFieldMonitorXY, Hal::PropertyMonitorXY, Hal::TofPropertyMonitor, and Hal::TrackFieldMonitorXY.

Definition at line 68 of file CutMonitorXY.cxx.

◆ operator=()

CutMonitorXY & Hal::CutMonitorXY::operator= ( const CutMonitorXY & other)

Assignment operator

Parameters
other
Returns

Definition at line 114 of file CutMonitorXY.cxx.

◆ TrueUpdate()

void Hal::CutMonitorXY::TrueUpdate ( Bool_t passed)
protectedvirtual

make update of histogram

Parameters
passedtrue if object goes to pass false otherwise

Reimplemented from Hal::CutMonitor.

Definition at line 50 of file CutMonitorXY.cxx.

◆ Update()

void Hal::CutMonitorXY::Update ( Bool_t passed,
TObject * obj )
virtual

make update of cut monitor

Parameters
passedstate used for update
obj- passed object (not used in non-obj cuts

Reimplemented from Hal::CutMonitor.

Reimplemented in Hal::EventFieldMonitorXY, Hal::TrackFieldMonitorXY, and MyHal::PropertyMonitorTemplateXY.

Definition at line 81 of file CutMonitorXY.cxx.


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