Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::TrackTpcToFCut Class Reference
Inheritance diagram for Hal::TrackTpcToFCut:
Hal::TrackExpCut Hal::TrackCut Hal::Cut Hal::TrackTpcToFThresholdlessCut

Public Member Functions

 TrackTpcToFCut (TrackTpcCut *tpc=NULL, TrackToFMass2Cut *tof=NULL)
 
 TrackTpcToFCut (const TrackTpcToFCut &other)
 
void SetModeGood ()
 
void SetModeNotBad ()
 
void SetSigma (Double_t min, Double_t max, TString type)
 
void SetCharge (Int_t i)
 
void SetNHits (Int_t min, Int_t max)
 
void SetActiveSigma (TString flag)
 
void SetDeDx (Double_t min, Double_t max)
 
void SetM2 (Double_t min, Double_t max)
 
void SetToFPolyLineDown (Double_t a, Double_t b, Double_t c)
 
void SetToFPolyLIneUp (Double_t a, Double_t b, Double_t c)
 
void GetPolyUp (Double_t &a, Double_t &b, Double_t &c) const
 
void GetPolyDown (Double_t &a, Double_t &b, Double_t &c) const
 
void SetThreshold (Double_t threshold)
 
void SetUpPoints (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t x3, Double_t y3)
 
void SetDownPoints (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t x3, Double_t y3)
 
void UseToF ()
 
Bool_t Init (Int_t format_id)
 
virtual Bool_t Pass (Track *tr)
 
virtual PackageReport () const
 
- Public Member Functions inherited from Hal::TrackExpCut
 TrackExpCut (Int_t size=1)
 
- 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
 

Static Public Member Functions

static Int_t PionSigma ()
 
static Int_t KaonSigma ()
 
static Int_t ProtonSigma ()
 
static Int_t ElectronSigma ()
 
static Int_t TpcHits ()
 
static Int_t Charge ()
 
static Int_t DeDx ()
 
static Int_t M2 ()
 

Protected Attributes

TrackToFMass2CutfToF
 
TrackTpcCutfTpc
 
Double_t fThreshold
 
Bool_t fTofOpt
 
- 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
 

Additional Inherited Members

- Protected Member Functions inherited from Hal::TrackExpCut
Bool_t TpcAvaiable (Int_t format_id) const
 
Bool_t ToFAvaiable (Int_t format_id) const
 
- 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
 

Detailed Description

Definition at line 16 of file TrackTpcToFCut.h.

Constructor & Destructor Documentation

◆ TrackTpcToFCut() [1/2]

Hal::TrackTpcToFCut::TrackTpcToFCut ( TrackTpcCut * tpc = NULL,
TrackToFMass2Cut * tof = NULL )

Definition at line 23 of file TrackTpcToFCut.cxx.

◆ TrackTpcToFCut() [2/2]

Hal::TrackTpcToFCut::TrackTpcToFCut ( const TrackTpcToFCut & other)

Definition at line 105 of file TrackTpcToFCut.cxx.

◆ ~TrackTpcToFCut()

Hal::TrackTpcToFCut::~TrackTpcToFCut ( )
virtual

Definition at line 116 of file TrackTpcToFCut.cxx.

Member Function Documentation

◆ Charge()

static Int_t Hal::TrackTpcToFCut::Charge ( )
inlinestatic
Returns
parameter index for charge

Definition at line 93 of file TrackTpcToFCut.h.

◆ DeDx()

static Int_t Hal::TrackTpcToFCut::DeDx ( )
inlinestatic
Returns
parameter index of DeDx

Definition at line 98 of file TrackTpcToFCut.h.

◆ ElectronSigma()

static Int_t Hal::TrackTpcToFCut::ElectronSigma ( )
inlinestatic
Returns
parameter index for electron sigma

Definition at line 83 of file TrackTpcToFCut.h.

◆ GetPolyDown()

void Hal::TrackTpcToFCut::GetPolyDown ( Double_t & a,
Double_t & b,
Double_t & c ) const
inline

Definition at line 103 of file TrackTpcToFCut.h.

◆ GetPolyUp()

void Hal::TrackTpcToFCut::GetPolyUp ( Double_t & a,
Double_t & b,
Double_t & c ) const
inline

Definition at line 102 of file TrackTpcToFCut.h.

◆ Init()

Bool_t Hal::TrackTpcToFCut::Init ( Int_t )
virtual

initialize object

Parameters
format_idid of format used in current task

Reimplemented from Hal::TrackExpCut.

Definition at line 44 of file TrackTpcToFCut.cxx.

◆ KaonSigma()

static Int_t Hal::TrackTpcToFCut::KaonSigma ( )
inlinestatic
Returns
parameter index for kaon sigma

Definition at line 73 of file TrackTpcToFCut.h.

◆ M2()

static Int_t Hal::TrackTpcToFCut::M2 ( )
inlinestatic

Definition at line 99 of file TrackTpcToFCut.h.

◆ Pass()

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

Implements Hal::TrackCut.

Reimplemented in Hal::TrackTpcToFThresholdlessCut.

Definition at line 60 of file TrackTpcToFCut.cxx.

◆ PionSigma()

static Int_t Hal::TrackTpcToFCut::PionSigma ( )
inlinestatic
Returns
parameter index for pion sigma

Definition at line 68 of file TrackTpcToFCut.h.

◆ ProtonSigma()

static Int_t Hal::TrackTpcToFCut::ProtonSigma ( )
inlinestatic
Returns
parameter index for proton sigma

Definition at line 78 of file TrackTpcToFCut.h.

◆ Report()

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

Reimplemented from Hal::TrackCut.

Definition at line 82 of file TrackTpcToFCut.cxx.

◆ SetActiveSigma()

void Hal::TrackTpcToFCut::SetActiveSigma ( TString flag)
inline

set type of particles considered as "good particles"

Parameters
flag"pi/K/p/e" for pions/kaons/protons/electrons respectively

Definition at line 61 of file TrackTpcToFCut.h.

◆ SetCharge()

void Hal::TrackTpcToFCut::SetCharge ( Int_t i)
inline

set charge cut

Parameters
iaccepted charge

Definition at line 50 of file TrackTpcToFCut.h.

◆ SetDownPoints()

void Hal::TrackTpcToFCut::SetDownPoints ( Double_t x1,
Double_t y1,
Double_t x2,
Double_t y2,
Double_t x3,
Double_t y3 )
inline

Definition at line 108 of file TrackTpcToFCut.h.

◆ SetM2()

void Hal::TrackTpcToFCut::SetM2 ( Double_t min,
Double_t max )
inline

Definition at line 63 of file TrackTpcToFCut.h.

◆ SetModeGood()

void Hal::TrackTpcToFCut::SetModeGood ( )
inline

Set mode to "good". In this mode are accepted only particles that have good enough "good sigma" and bad enough "bad sigma". Eg. if this cut looks for pions is not eounugh to be pion but particle should not be electron or kaon

Definition at line 31 of file TrackTpcToFCut.h.

◆ SetModeNotBad()

void Hal::TrackTpcToFCut::SetModeNotBad ( )
inline

Set mode to not bad. In this mode all particles that have sigma between lower/upper value of given type are accepted.

Definition at line 36 of file TrackTpcToFCut.h.

◆ SetNHits()

void Hal::TrackTpcToFCut::SetNHits ( Int_t min,
Int_t max )
inline

set TPC hits

Parameters
minminimal number of hits in TPC
maxmaximal number of hits in TPC

Definition at line 56 of file TrackTpcToFCut.h.

◆ SetSigma()

void Hal::TrackTpcToFCut::SetSigma ( Double_t min,
Double_t max,
TString type )
inline

set sigma cut

Parameters
minminimal sigma
maxmaximal sigma
typeparameter index - for pion "pi" for kaon "K" for proton "p" for electron "e"

Definition at line 45 of file TrackTpcToFCut.h.

◆ SetThreshold()

void Hal::TrackTpcToFCut::SetThreshold ( Double_t threshold)
inline

Definition at line 104 of file TrackTpcToFCut.h.

◆ SetToFPolyLineDown()

void Hal::TrackTpcToFCut::SetToFPolyLineDown ( Double_t a,
Double_t b,
Double_t c )
inline

Definition at line 100 of file TrackTpcToFCut.h.

◆ SetToFPolyLIneUp()

void Hal::TrackTpcToFCut::SetToFPolyLIneUp ( Double_t a,
Double_t b,
Double_t c )
inline

Definition at line 101 of file TrackTpcToFCut.h.

◆ SetUpPoints()

void Hal::TrackTpcToFCut::SetUpPoints ( Double_t x1,
Double_t y1,
Double_t x2,
Double_t y2,
Double_t x3,
Double_t y3 )
inline

Definition at line 105 of file TrackTpcToFCut.h.

◆ TpcHits()

static Int_t Hal::TrackTpcToFCut::TpcHits ( )
inlinestatic
Returns
parameter index for number of tpc hits

Definition at line 88 of file TrackTpcToFCut.h.

◆ UseToF()

void Hal::TrackTpcToFCut::UseToF ( )
inline

use ToF below threshold if ToF data avaiable

Definition at line 114 of file TrackTpcToFCut.h.

Member Data Documentation

◆ fThreshold

Double_t Hal::TrackTpcToFCut::fThreshold
protected

Definition at line 20 of file TrackTpcToFCut.h.

◆ fToF

TrackToFMass2Cut* Hal::TrackTpcToFCut::fToF
protected

Definition at line 18 of file TrackTpcToFCut.h.

◆ fTofOpt

Bool_t Hal::TrackTpcToFCut::fTofOpt
protected

Definition at line 21 of file TrackTpcToFCut.h.

◆ fTpc

TrackTpcCut* Hal::TrackTpcToFCut::fTpc
protected

Definition at line 19 of file TrackTpcToFCut.h.


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