Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
MyHal::TrackCutTemplate Class Reference
Inheritance diagram for MyHal::TrackCutTemplate:
Hal::TrackCut Hal::Cut

Public Member Functions

 TrackCutTemplate ()
 
Int_t Init (Int_t taskID)
 
Bool_t Pass (Hal::Track *pair)
 
Hal::PackageReport () const
 
- Public Member Functions inherited from Hal::TrackCut
 TrackCut (const Int_t i=1)
 
TrackComplexCutMakeComplexCut (Option_t *opt) const
 
- Public Member Functions inherited from Hal::Cut
 Cut (const Int_t size=1, ECutUpdate update=ECutUpdate::kNo, TString groupFlag="")
 
 Cut (const Cut &cut)
 
Cutoperator= (const Cut &other)
 
void SetLabel (Int_t label)
 
void Finish ()
 
void Reset ()
 
void SetMinAndMax (Double_t val, Int_t i=0)
 
void SetMinMax (Double_t min, Double_t max, Int_t i=0)
 
TString GetGroupFlag () const
 
ECutUpdate GetUpdateRatio () const
 
Cut ** MultiClone (Int_t no, Bool_t increment_collections=kFALSE)
 
void SetMinimum (Double_t min, Int_t i=0)
 
void SetMaximum (Double_t max, Int_t i=0)
 
void SetValue (Double_t val, Int_t i=0)
 
void SetUnitName (TString name, Int_t i=0)
 
void SetCollectionID (Int_t i)
 
Int_t GetCutSize () const
 
Int_t GetCollectionID () const
 
Bool_t HasPassed () const
 
Bool_t IsCloned () const
 
Double_t GetMin (Int_t i=0) const
 
Double_t GetMax (Int_t i=0) const
 
Double_t GetValue (Int_t i=0) const
 
Double_t GetWeight ()
 
ULong64_t GetPassed () const
 
ULong64_t GetTotal () const
 
ULong64_t GetFailed () const
 
TString GetUnit (Int_t i) const
 
virtual CutMakeCopy () const
 
virtual void Print (Option_t *option="") const
 
TObjArray * Split (Int_t n, Int_t i=0, Double_t shift=0) const
 
virtual TString CutName (Option_t *opt="") const
 
virtual std::vector< std::pair< TString, Double_t > > GetBinLabels (Int_t par=0) const
 

Additional Inherited Members

- Protected Member Functions inherited from Hal::Cut
Bool_t Validate ()
 
Bool_t AntiValidate ()
 
Bool_t ValidateAbs ()
 
Bool_t ForcedUpdate (Bool_t state)
 
Bool_t FormatEquals (TString format, Int_t format_id, EFormatDepth depth=EFormatDepth::kAll) const
 
Bool_t FormatInhertis (TString format, Int_t format_id, EFormatDepth depth=EFormatDepth::kAll) const
 
Bool_t InLimits (Int_t par) const
 
Bool_t OutLimits (Int_t par) const
 
- Protected Attributes inherited from Hal::Cut
const Int_t fCutSize
 
Bool_t fInit
 
Int_t fIsCloned
 
Int_t fState
 
Int_t fCollectionID
 
Int_t fLabel
 
const ECutUpdate fUpdateRatio
 
Double_t fWeight
 
const TString fGroupFlag
 

Detailed Description

Definition at line 11 of file TrackCutTemplate.h.

Constructor & Destructor Documentation

◆ TrackCutTemplate()

MyHal::TrackCutTemplate::TrackCutTemplate ( )

do not forget to set number of parameters in parent constructor !

SetUnitName(name, unit, id) - for all parameters, optionally call SetMinAndMax(min, mas, id)

Definition at line 14 of file TrackCutTemplate.cxx.

◆ ~TrackCutTemplate()

MyHal::TrackCutTemplate::~TrackCutTemplate ( )
virtual

Definition at line 20 of file TrackCutTemplate.cxx.

Member Function Documentation

◆ Init()

Int_t MyHal::TrackCutTemplate::Init ( Int_t taskID)
virtual

this is optional method if you want to chek format

Parameters
taskID
Returns

Reimplemented from Hal::Cut.

Definition at line 26 of file TrackCutTemplate.cxx.

◆ Pass()

Bool_t MyHal::TrackCutTemplate::Pass ( Hal::Track * track)
virtual
Parameters
track
Returns
true if track pass, false otherwise

SetValue(val, id)

or force validate if done by hand

Implements Hal::TrackCut.

Definition at line 33 of file TrackCutTemplate.cxx.

◆ Report()

Hal::Package * MyHal::TrackCutTemplate::Report ( ) const
virtual
Returns
report about this cut

Reimplemented from Hal::TrackCut.

Definition at line 41 of file TrackCutTemplate.cxx.


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