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

Public Member Functions

 TrackTpcCut (const TrackTpcCut &other)
 
virtual Bool_t Pass (Track *track)
 
virtual Bool_t Init (Int_t task_id)
 
void SetModeGood ()
 
void SetModeNotBad ()
 
void SetSigma (Double_t min, Double_t max, TString sigma)
 
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)
 
Int_t GetActiveSigma () const
 
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 ()
 

Protected Member Functions

Bool_t Verify ()
 
- 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
 

Static Protected Attributes

static const int fgSigmaPionId = 2
 
static const int fgSigmaKaonId = 3
 
static const int fgSigmaProtonId = 4
 
static const int fgSigmaElectronId = 5
 
static const int fgTpcHitsId = 0
 
static const int fgChargeId = 1
 
static const int fgDeDxId = 6
 

Additional Inherited Members

- 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 25 of file TrackTpcCut.h.

Constructor & Destructor Documentation

◆ TrackTpcCut() [1/2]

Hal::TrackTpcCut::TrackTpcCut ( )

Definition at line 34 of file TrackTpcCut.cxx.

◆ TrackTpcCut() [2/2]

Hal::TrackTpcCut::TrackTpcCut ( const TrackTpcCut & other)

Definition at line 151 of file TrackTpcCut.cxx.

◆ ~TrackTpcCut()

Hal::TrackTpcCut::~TrackTpcCut ( )
virtual

Definition at line 105 of file TrackTpcCut.cxx.

Member Function Documentation

◆ Charge()

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

Definition at line 111 of file TrackTpcCut.h.

◆ DeDx()

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

Definition at line 116 of file TrackTpcCut.h.

◆ ElectronSigma()

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

Definition at line 101 of file TrackTpcCut.h.

◆ GetActiveSigma()

Int_t Hal::TrackTpcCut::GetActiveSigma ( ) const
inline
Returns
active sigma Id

Definition at line 121 of file TrackTpcCut.h.

◆ Init()

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

initialize object

Parameters
format_idid of format used in current task

Reimplemented from Hal::TrackExpCut.

Definition at line 53 of file TrackTpcCut.cxx.

◆ KaonSigma()

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

Definition at line 91 of file TrackTpcCut.h.

◆ Pass()

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

Implements Hal::TrackCut.

Definition at line 107 of file TrackTpcCut.cxx.

◆ PionSigma()

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

Definition at line 86 of file TrackTpcCut.h.

◆ ProtonSigma()

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

Definition at line 96 of file TrackTpcCut.h.

◆ Report()

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

Reimplemented from Hal::TrackCut.

Definition at line 78 of file TrackTpcCut.cxx.

◆ SetActiveSigma()

void Hal::TrackTpcCut::SetActiveSigma ( TString flag)

set type of particles considered as "good particles"

Parameters
flagpi/K/p/e for pion/kaon/proton/electron respectively

Definition at line 154 of file TrackTpcCut.cxx.

◆ SetCharge()

void Hal::TrackTpcCut::SetCharge ( Int_t i)

set charge cut

Parameters
iaccepted charge

Definition at line 74 of file TrackTpcCut.cxx.

◆ SetDeDx()

void Hal::TrackTpcCut::SetDeDx ( Double_t min,
Double_t max )

Definition at line 103 of file TrackTpcCut.cxx.

◆ SetModeGood()

void Hal::TrackTpcCut::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 50 of file TrackTpcCut.h.

◆ SetModeNotBad()

void Hal::TrackTpcCut::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 55 of file TrackTpcCut.h.

◆ SetNHits()

void Hal::TrackTpcCut::SetNHits ( Int_t min,
Int_t max )

set TPC hits

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

Definition at line 76 of file TrackTpcCut.cxx.

◆ SetSigma()

void Hal::TrackTpcCut::SetSigma ( Double_t min,
Double_t max,
TString sigma )

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 60 of file TrackTpcCut.cxx.

◆ TpcHits()

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

Definition at line 106 of file TrackTpcCut.h.

◆ Verify()

Bool_t Hal::TrackTpcCut::Verify ( )
protected

Definition at line 120 of file TrackTpcCut.cxx.

Member Data Documentation

◆ fgChargeId

const Int_t Hal::TrackTpcCut::fgChargeId = 1
staticprotected

Definition at line 36 of file TrackTpcCut.h.

◆ fgDeDxId

const Int_t Hal::TrackTpcCut::fgDeDxId = 6
staticprotected

Definition at line 37 of file TrackTpcCut.h.

◆ fgSigmaElectronId

const Int_t Hal::TrackTpcCut::fgSigmaElectronId = 5
staticprotected

Definition at line 34 of file TrackTpcCut.h.

◆ fgSigmaKaonId

const Int_t Hal::TrackTpcCut::fgSigmaKaonId = 3
staticprotected

Definition at line 32 of file TrackTpcCut.h.

◆ fgSigmaPionId

const Int_t Hal::TrackTpcCut::fgSigmaPionId = 2
staticprotected

Definition at line 31 of file TrackTpcCut.h.

◆ fgSigmaProtonId

const Int_t Hal::TrackTpcCut::fgSigmaProtonId = 4
staticprotected

Definition at line 33 of file TrackTpcCut.h.

◆ fgTpcHitsId

const Int_t Hal::TrackTpcCut::fgTpcHitsId = 0
staticprotected

Definition at line 35 of file TrackTpcCut.h.


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