#include "T49CutTrack.h"

T49CutTrack


class description - source file - inheritance tree (.pdf)

class T49CutTrack : public T49Cut

Inheritance Chart:
TObject
<-
TNamed
<-
T49Cut
<-
T49CutTrack

    public:
T49CutTrack() T49CutTrack(const Text_t* name, const Text_t* title) T49CutTrack(const T49CutTrack&) ~T49CutTrack() Int_t CheckParticle(T49ParticleRoot* track) static TClass* Class() TObjArray* GetAcceptedParticles(TObjArray* ParticleList) TPaveText* GetCutList() TF1* GetFunDedxSigma() Double_t GetRap(Double_t mass, T49ParticleRoot* track) virtual TClass* IsA() const T49CutTrack& operator=(const T49CutTrack&) virtual void PrintCutList() void ReadTofCut(Char_t* fname) virtual void Reset() void SetBx(Double_t x, Double_t y) void SetBxByEllipse(Double_t x, Double_t y) void SetBxByEllipseCutOff() void SetBxCutOff() void SetBy(Double_t x, Double_t y) void SetByCutOff() void SetCharge(Int_t n) void SetChargeCutOff() void SetDedx(Double_t x, Double_t y) void SetDedxOff() void SetDedxSigma(Int_t data, Int_t pid, Int_t tpc, Double_t min, Double_t max) void SetDedxVarSigma(Int_t data, Int_t pid, Int_t tpc, Double_t min, Double_t max, TF1* sigma, Double_t pmin = 0.0) void SetElectronProbability(Double_t x) void SetElectronProbability(Double_t x, Int_t y) void SetElectronProbabilityCutOff() void SetIdDet(Int_t n) void SetIdDetCutOff() void SetIdDetList(TArrayI array) void SetIdDetListCutOff() void SetIflag(Int_t n) void SetIflagCutOff() void SetKaonProbability(Double_t x) void SetKaonProbability(Double_t x, Int_t y) void SetKaonProbabilityCutOff() void SetNDedxPoint(Int_t i, Int_t x, Int_t y) void SetNDedxPointCutOff(Int_t i) void SetNFitPoint(Int_t i, Int_t x, Int_t y) void SetNFitPointCutOff(Int_t i) void SetNMaxPoint(Int_t i, Int_t x, Int_t y) void SetNMaxPointCutOff(Int_t i) void SetNPoint(Int_t i, Int_t x, Int_t y) void SetNPointCutOff(Int_t i) void SetNPointToNMaxPoint(Int_t i, Double_t x) void SetNPointToNMaxPointCutOff(Int_t i) void SetP(Double_t x, Double_t y) void SetPchi2(Double_t x, Double_t y) void SetPchi2CutOff() void SetPCutOff() void SetPionProbability(Double_t x) void SetPionProbability(Double_t x, Int_t y) void SetPionProbabilityCutOff() void SetProbability(T49Prob* x) void SetProtonProbability(Double_t x) void SetProtonProbability(Double_t x, Int_t y) void SetProtonProbabilityCutOff() void SetPt(Double_t x, Double_t y) void SetPtCutOff() void SetPx(Double_t x, Double_t y) void SetPxCutOff() void SetPy(Double_t x, Double_t y) void SetPyCutOff() void SetPz(Double_t x, Double_t y) void SetPzCutOff() void SetRap(Int_t i, Double_t x, Double_t y) void SetStandardCutsPbPb() void SetStandardCutsPP() void SetStandardCutsPPb() void SetTmeanCharge(Int_t i, Int_t x, Int_t y) void SetTmeanChargeCutOff(Int_t i) void SetTofCharge(Double_t x, Double_t y) void SetTofChargeCutOff() void SetTofCutPoly(Char_t* fname) void SetTofId(Int_t n) void SetTofIdCutOff() void SetTofIflag(Int_t x, Int_t y) void SetTofIflagCutOff() void SetTofMass2(Double_t x, Double_t y) void SetTofMass2CutOff() void SetTofPathl(Double_t x, Double_t y) void SetTofPathlCutOff() void SetTofSigMass2(Double_t x, Double_t y) void SetTofSigMass2CutOff() void SetTofX(Double_t x, Double_t y) void SetTofXCutOff() void SetTofY(Double_t x, Double_t y) void SetTofYCutOff() void SetXFirst(Double_t x, Double_t y) void SetXFirstCutOff() void SetXLast(Double_t x, Double_t y) void SetXLastCutOff() void SetYFirst(Double_t x, Double_t y) void SetYFirstCutOff() void SetYLast(Double_t x, Double_t y) void SetYLastCutOff() void SetZFirst(Double_t x, Double_t y) void SetZFirstCutOff() void SetZLast(Double_t x, Double_t y) void SetZLastCutOff() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t fnumtrack number of tracks Int_t fnumgoodtrack number of accepted tracks TObjArray* fAcceptedParticleList ! List of accepted particles after quality cuts T49Prob* fProbability ! Int_t fFlagProbability TObjArray* fTofCutPoly tof dedx/mass2 polygon Int_t fFlagIflag flag of cut Int_t fnIflag number of not accepted tracks dou to this cut Int_t fIflag track iflag to cut on (usually fIflag == 0) Int_t fFlagCharge flag of cut Int_t fnCharge number of not accepted tracks dou to this cut Int_t fCharge -1 for neg particles +1 pos particles Int_t fFlagBx flag of cut Int_t fnBx number of not accepted tracks dou to this cut Double_t fMinBx Minumum bx at vertex Double_t fMaxBx Maximum bx at vertex Int_t fFlagBy flag of cut Int_t fnBy number of not accepted tracks dou to this cut Double_t fMinBy Minumum by at vertex Double_t fMaxBy Maximum by at vertex Int_t fFlagBxByEllipse flag of bxby elliptic cut Int_t fnBxByEllipse number of not accepted tracks dou to this cut Double_t fBxEllipse radius of bx Double_t fByEllipse radius of by Int_t fFlagIdDet flag of cut Int_t fnIdDet number of not accepted tracks dou to this cut Int_t fIdDet Int_t fFlagIdDetList flag of cut Int_t fnIdDetList TArrayI fIdDetList Int_t fFlagNPoint[4] flag of cut Int_t fnNPoint[4] number of not accepted tracks dou to this cut Int_t fMinNPoint[4] Minumum number of points for all tpcs fMinNPoint[3]=global Int_t fMaxNPoint[4] Maxumum number of points for all tpcs fManNPoint[3]=global Int_t fFlagNFitPoint[4] flag of cut Int_t fnNFitPoint[4] number of not accepted tracks dou to this cut Int_t fMinNFitPoint[4] Minumum number of fitted points for all fMinNFitPoint[3]=global Int_t fMaxNFitPoint[4] Maxumum number of fitted points for all fMaxNFitPoint[3]=global Int_t fFlagNMaxPoint[4] flag of cut Int_t fnNMaxPoint[4] number of not accepted tracks dou to this cut Int_t fMinNMaxPoint[4] Minumum number of fitted points for all fMinNFitPoint[3]=global Int_t fMaxNMaxPoint[4] Maxumum number of fitted points for all fMaxNFitPoint[3]=global Int_t fFlagNPointToNMaxPoint[4] flag of cut Int_t fnNPointToNMaxPoint[4] number of not accepted tracks dou to this cut Double_t fNPointToNMaxPoint[4] ratio number of points to max number of points Int_t fFlagPchi2 flag of cut Int_t fnPchi2 number of not accepted tracks due to this cut Double_t fMinPchi2 Minumum of chi2 from momentum fit Double_t fMaxPchi2 Maximum of chi2 from momentum fit Int_t fFlagP flag of cut Int_t fnP number of not accepted tracks due to this cut Double_t fMinP Minumum p Double_t fMaxP Maximum px Int_t fFlagPt flag of cut Int_t fnPt number of not accepted tracks due to this cut Double_t fMinPt Minumum pt Double_t fMaxPt Maximum pt Int_t fFlagPx flag of cut Int_t fnPx number of not accepted tracks due to this cut Double_t fMinPx Minumum px Double_t fMaxPx Maximum px Int_t fFlagPy flag of cut Int_t fnPy number of not accepted tracks due to this cut Double_t fMinPy Minumum px Double_t fMaxPy Maximum px Int_t fFlagPz flag of cut Int_t fnPz number of not accepted tracks due to this cut Double_t fMinPz Minumum px Double_t fMaxPz Maximum px Int_t fFlagXFirst flag of cut Int_t fnXFirst number of not accepted tracks due to this cut Double_t fMinXFirst Minumum XFirst Double_t fMaxXFirst Maximum XFirst Int_t fFlagXLast flag of cut Int_t fnXLast number of not accepted tracks due to this cut Double_t fMinXLast Minumum XLast Double_t fMaxXLast Maximum XLast Int_t fFlagYFirst flag of cut Int_t fnYFirst number of not accepted tracks due to this cut Double_t fMinYFirst Minumum YFirst Double_t fMaxYFirst Maximum YFirst Int_t fFlagYLast flag of cut Int_t fnYLast number of not accepted tracks due to this cut Double_t fMinYLast Minumum YLast Double_t fMaxYLast Maximum YLast Int_t fFlagZFirst flag of cut Int_t fnZFirst number of not accepted tracks due to this cut Double_t fMinZFirst Minumum ZFirst Double_t fMaxZFirst Maximum ZFirst Int_t fFlagZLast flag of cut Int_t fnZLast number of not accepted tracks due to this cut Double_t fMinZLast Minumum ZLast Double_t fMaxZLast Maximum ZLast Int_t fFlagNDedxPoint[4] flag of cut Int_t fnNDedxPoint[4] number of not accepted tracks due to this cut Int_t fMinNDedxPoint[4] Minumum of number of dedx points Int_t fMaxNDedxPoint[4] Maximum of number of dedx points Int_t fFlagTmeanCharge[4] flag of cut Int_t fnTmeanCharge[4] number of not accepted tracks due to this cut Int_t fMinTmeanCharge[4] Minumum of truncated mean charge Int_t fMaxTmeanCharge[4] Maximum of truncated mean charge Int_t fFlagRap flag of cut Int_t fnRap number of not accepted tracks due to this cut Int_t fRapParticleId el=0, pi=1, ka=2, pr=3 Double_t fMinRap min rapidity Double_t fMaxRap max rapidity Int_t fFlagTofIflag flag of cut Int_t fnTofIflag number of not accepted tracks due to this cut Int_t fMinTofIflag tof iflag to cut on (usually TofIflag > 0) Int_t fMaxTofIflag tof iflag to cut on (usually TofIflag > 0) Int_t fFlagTofId flag of cut Int_t fnTofId number of not accepted tracks due to this cut Int_t fTofId 32 = tofl, 128 tofr Int_t fFlagTofMass2 flag of cut Int_t fnTofMass2 number of not accepted tracks due to this cut Double_t fMinTofMass2 Minumum Mass2 Double_t fMaxTofMass2 Maximum Mass2 Int_t fFlagTofSigMass2 flag of cut Int_t fnTofSigMass2 number of not accepted tracks due to this cut Double_t fMinTofSigMass2 Minumum of sig of Mass2 Double_t fMaxTofSigMass2 Maximum of sig of Mass2 Int_t fFlagTofPathl flag of cut Int_t fnTofPathl number of not accepted tracks due to this cut Double_t fMinTofPathl Minumum pathlength Double_t fMaxTofPathl Maximum pathlength Int_t fFlagTofX flag of cut Int_t fnTofX number of not accepted tracks due to this cut Double_t fMinTofX Minumum x tof coordinate Double_t fMaxTofX Maximum x tof coordinate Int_t fFlagTofY flag of cut Int_t fnTofY number of not accepted tracks due to this cut Double_t fMinTofY Minumum y tof coordinate Double_t fMaxTofY Maximum y tof coordinate Int_t fFlagTofCharge flag of cut Int_t fnTofCharge number of not accepted tracks due to this cut Double_t fMinTofCharge Minumum QDC value Double_t fMaxTofCharge Maximum QDC value Int_t fFlagTofCutPoly flag of cut Int_t fnTofCutPoly number of not accepted tracks due to this cut Int_t fFlagDedx flag of cut Int_t fnDedx number of not accepted tracks due to this cut Double_t fMinDedx Minumum x dedx coordinate Double_t fMaxDedx Maximum x dedx coordinate Int_t fDedxTPC Int_t fDataTyp p+p = 0; pb+pb = 1; Int_t fParticleId el=0, pi=1, ka=2, pr=3 Int_t fDedxTpc vt1=0, vt2=1, mtpc=2, global=3 Int_t fFlagDedxSigma flag of cut Int_t fnDedxSigma number of not accepted tracks due to this cut Double_t fMinDedxSigma sigma * mean cut Double_t fMaxDedxSigma sigma * mean cut Int_t fFlagDedxVarSigma flag of cut TF1* fFunDedxSigma Function containing sigma(ptot) Double_t fDedxPmin Minimum momentum for which cut is applied Int_t fFlagProtonProbability flag of cut Int_t fnProtonProbability number of not accepted tracks due to this cut Double_t fMinProtonProbability Maximum of proton probability cut Int_t fFlagKaonProbability flag of cut Int_t fnKaonProbability number of not accepted tracks due to this cut Double_t fMinKaonProbability Maximum of Kaon probability cut Int_t fFlagPionProbability flag of cut Int_t fnPionProbability number of not accepted tracks due to this cut Double_t fMinPionProbability Maximum of Pion probability cut Int_t fFlagElectronProbability flag of cut Int_t fnElectronProbability number of not accepted tracks due to this cut Double_t fMinElectronProbability Maximum of Electron probability cut Double_t fp Double_t fdedx Double_t fmean

Class Description

                                                      
              T49CutTrack Class                       
                                                      
  Cut on tracks in T49ParticleRoot format             
                                                      
  UpDate: 26.10.99                                    
                                                      
  c.markert@gsi.de                                    
                                                      


T49CutTrack():T49Cut()
 Default constructor


T49CutTrack(const Text_t *name, const Text_t *title) :T49Cut(name,title)

~T49CutTrack()

void Reset()

void SetStandardCutsPP()
 Sets the standard cuts for p+p events
           -5 < Bx < 5
           -2 < By < 2
           Npoints / Nmax-points (global) > 0.3


void SetStandardCutsPPb()
 Sets the standard cuts for p+Pb events
           -5 < Bx < 5
           -2 < By < 2
           Npoints / Nmax-points (global) > 0.3

void SetStandardCutsPbPb()
 Sets the standard cuts for Pb+Pb events
           -5 < Bx < 5
           -2 < By < 2
           Npoints / Nmax-points (global) > 0.3


void SetDedxVarSigma(Int_t data, Int_t pid, Int_t tpc , Double_t min, Double_t max , TF1 *sigma, Double_t pmin)
 Set the dedx-cut with variable sigma


Int_t CheckParticle(T49ParticleRoot *track)
 Checks whether a track passes all defined cuts


TObjArray* GetAcceptedParticles(TObjArray *ParticleList)
 Returns a list of all tracks that pass the cuts


TPaveText* GetCutList()
 Creates a TPaveText with the defined cuts and the cut-statistics


void PrintCutList()
 Prints the defined cuts and the cut-statistic


void ReadTofCut(Char_t fname[256])
 Reads the TOF cut from a file


Double_t GetRap(Double_t mass, T49ParticleRoot *track)
 Calculate the rapidity of a particleq


void Streamer(TBuffer &R__b)
 Stream an object of class T49CutTrack.



Inline Functions


                void SetIflag(Int_t n)
                void SetCharge(Int_t n)
                void SetIdDet(Int_t n)
                void SetIdDetList(TArrayI array)
                void SetBx(Double_t x, Double_t y)
                void SetBy(Double_t x, Double_t y)
                void SetBxByEllipse(Double_t x, Double_t y)
                void SetNPoint(Int_t i, Int_t x, Int_t y)
                void SetNFitPoint(Int_t i, Int_t x, Int_t y)
                void SetNMaxPoint(Int_t i, Int_t x, Int_t y)
                void SetNPointToNMaxPoint(Int_t i, Double_t x)
                void SetPchi2(Double_t x, Double_t y)
                void SetP(Double_t x, Double_t y)
                void SetPt(Double_t x, Double_t y)
                void SetPx(Double_t x, Double_t y)
                void SetPy(Double_t x, Double_t y)
                void SetPz(Double_t x, Double_t y)
                void SetXFirst(Double_t x, Double_t y)
                void SetXLast(Double_t x, Double_t y)
                void SetYFirst(Double_t x, Double_t y)
                void SetYLast(Double_t x, Double_t y)
                void SetZFirst(Double_t x, Double_t y)
                void SetZLast(Double_t x, Double_t y)
                void SetNDedxPoint(Int_t i, Int_t x, Int_t y)
                void SetTmeanCharge(Int_t i, Int_t x, Int_t y)
                void SetRap(Int_t i, Double_t x, Double_t y)
                void SetTofIflag(Int_t x, Int_t y)
                void SetTofId(Int_t n)
                void SetTofMass2(Double_t x, Double_t y)
                void SetTofSigMass2(Double_t x, Double_t y)
                void SetTofPathl(Double_t x, Double_t y)
                void SetTofX(Double_t x, Double_t y)
                void SetTofY(Double_t x, Double_t y)
                void SetTofCharge(Double_t x, Double_t y)
                void SetTofCutPoly(Char_t* fname)
                void SetDedx(Double_t x, Double_t y)
                void SetDedxSigma(Int_t data, Int_t pid, Int_t tpc, Double_t min, Double_t max)
                void SetProbability(T49Prob* x)
                void SetProtonProbability(Double_t x)
                void SetKaonProbability(Double_t x)
                void SetPionProbability(Double_t x)
                void SetElectronProbability(Double_t x)
                void SetProtonProbability(Double_t x, Int_t y)
                void SetKaonProbability(Double_t x, Int_t y)
                void SetPionProbability(Double_t x, Int_t y)
                void SetElectronProbability(Double_t x, Int_t y)
                void SetIflagCutOff()
                void SetChargeCutOff()
                void SetIdDetCutOff()
                void SetIdDetListCutOff()
                void SetBxCutOff()
                void SetByCutOff()
                void SetBxByEllipseCutOff()
                void SetNPointCutOff(Int_t i)
                void SetNFitPointCutOff(Int_t i)
                void SetNMaxPointCutOff(Int_t i)
                void SetNPointToNMaxPointCutOff(Int_t i)
                void SetPchi2CutOff()
                void SetPCutOff()
                void SetPtCutOff()
                void SetPxCutOff()
                void SetPyCutOff()
                void SetPzCutOff()
                void SetXFirstCutOff()
                void SetXLastCutOff()
                void SetYFirstCutOff()
                void SetYLastCutOff()
                void SetZFirstCutOff()
                void SetZLastCutOff()
                void SetNDedxPointCutOff(Int_t i)
                void SetTmeanChargeCutOff(Int_t i)
                void SetTofIflagCutOff()
                void SetTofIdCutOff()
                void SetTofMass2CutOff()
                void SetTofSigMass2CutOff()
                void SetTofPathlCutOff()
                void SetTofXCutOff()
                void SetTofYCutOff()
                void SetTofChargeCutOff()
                void SetDedxOff()
                void SetProtonProbabilityCutOff()
                void SetKaonProbabilityCutOff()
                void SetPionProbabilityCutOff()
                void SetElectronProbabilityCutOff()
                TF1* GetFunDedxSigma()
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void StreamerNVirtual(TBuffer& b)
         T49CutTrack T49CutTrack(const T49CutTrack&)
        T49CutTrack& operator=(const T49CutTrack&)


Last update: Thu Aug 17 15:30:34 2006


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.