Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::CutMonitorX Class Reference
Inheritance diagram for Hal::CutMonitorX:
Hal::CutMonitor Hal::PropertyMonitorX Hal::EventFieldMonitorX Hal::TrackFieldMonitorX MyHal::PropertyMonitorTemplateX

Public Member Functions

 CutMonitorX (TString cut_name, Int_t parameter_no, std::initializer_list< Double_t > list)
 
 CutMonitorX (TString cut_name, Int_t parameter_no=0)
 
 CutMonitorX (const CutMonitorX &other)
 
CutMonitorXoperator= (const CutMonitorX &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)
 
virtual 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 CutMonitorX.h.

Constructor & Destructor Documentation

◆ CutMonitorX() [1/4]

Hal::CutMonitorX::CutMonitorX ( )

Definition at line 20 of file CutMonitorX.cxx.

◆ CutMonitorX() [2/4]

Hal::CutMonitorX::CutMonitorX ( TString cut_name,
Int_t parameter_no,
std::initializer_list< Double_t > list )
Parameters
cut_namename of the cut
parameter_noparamter number
listaxis parameters {bins, min, max}

Definition at line 22 of file CutMonitorX.cxx.

◆ CutMonitorX() [3/4]

Hal::CutMonitorX::CutMonitorX ( TString cut_name,
Int_t parameter_no = 0 )
Parameters
cut_namename of monitored cut
parameter_nonumber of monitored parameter

Definition at line 29 of file CutMonitorX.cxx.

◆ CutMonitorX() [4/4]

Hal::CutMonitorX::CutMonitorX ( const CutMonitorX & other)

copy ct-or

Parameters
otherobject that should be copied

Definition at line 49 of file CutMonitorX.cxx.

◆ ~CutMonitorX()

Hal::CutMonitorX::~CutMonitorX ( )
virtual

Definition at line 51 of file CutMonitorX.cxx.

Member Function Documentation

◆ CreateHistograms()

void Hal::CutMonitorX::CreateHistograms ( )
protectedvirtual

allocate histograms

Reimplemented from Hal::CutMonitor.

Reimplemented in Hal::PropertyMonitorX.

Definition at line 61 of file CutMonitorX.cxx.

◆ Init()

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

initialize this cut monitor

Parameters
task_idtask number

Reimplemented from Hal::CutMonitor.

Reimplemented in Hal::EventFieldMonitorX, Hal::PropertyMonitorX, Hal::TrackFieldMonitorX, and MyHal::PropertyMonitorTemplateX.

Definition at line 77 of file CutMonitorX.cxx.

◆ MakeCopy()

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

make copy of this object

Returns
copy of this

Reimplemented from Hal::CutMonitor.

Reimplemented in Hal::EventFieldMonitorX, Hal::PropertyMonitorX, and Hal::TrackFieldMonitorX.

Definition at line 47 of file CutMonitorX.cxx.

◆ operator=()

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

Assignment operator

Parameters
other
Returns

Definition at line 82 of file CutMonitorX.cxx.

◆ TrueUpdate()

void Hal::CutMonitorX::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 31 of file CutMonitorX.cxx.

◆ Update()

void Hal::CutMonitorX::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::EventFieldMonitorX, Hal::TrackFieldMonitorX, and MyHal::PropertyMonitorTemplateX.

Definition at line 53 of file CutMonitorX.cxx.


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