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

Public Member Functions

 TwoTrackCutTemplate ()
 
Int_t Init (Int_t taskID)
 
Bool_t Pass (Hal::TwoTrack *pair)
 
Hal::PackageReport () const
 
- Public Member Functions inherited from Hal::TwoTrackCut
 TwoTrackCut (const Int_t i=1)
 
- 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 TwoTrackCutTemplate.h.

Constructor & Destructor Documentation

◆ TwoTrackCutTemplate()

MyHal::TwoTrackCutTemplate::TwoTrackCutTemplate ( )

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 16 of file TwoTrackCutTemplate.cxx.

◆ ~TwoTrackCutTemplate()

MyHal::TwoTrackCutTemplate::~TwoTrackCutTemplate ( )
inlinevirtual

Definition at line 17 of file TwoTrackCutTemplate.h.

Member Function Documentation

◆ Init()

Int_t MyHal::TwoTrackCutTemplate::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 28 of file TwoTrackCutTemplate.cxx.

◆ Pass()

Bool_t MyHal::TwoTrackCutTemplate::Pass ( Hal::TwoTrack * pair)
virtual

check pair

Parameters
pairpair to check
Returns
true if pair is fine, false if should be rejected

SetValue(val, id)

SetValue(val, id)

SetValue(val, id)

SetValue(val, id) - don't forget to swap Px and Py

SetValue(val,id) - don't forget to swap Px, Py, Pz

SetValue

or force validate if done by hand

Implements Hal::TwoTrackCut.

Definition at line 35 of file TwoTrackCutTemplate.cxx.

◆ Report()

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

Reimplemented from Hal::TwoTrackCut.

Definition at line 72 of file TwoTrackCutTemplate.cxx.


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