#include "T49CutV0.h"

T49CutV0


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

class T49CutV0 : public T49Cut

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

    protected:
Bool_t CheckArmenterosAlpha(T49VertexRoot* V0) Bool_t CheckArmenterosPt(T49VertexRoot* V0) Bool_t CheckCosTheta(T49VertexRoot* V0) Bool_t CheckCrossYZ(T49VertexRoot* V0) Bool_t CheckExcludedMass(T49VertexRoot* V0) Bool_t CheckGSIBham(T49VertexRoot* V0) Bool_t CheckIflag(T49VertexRoot* V0) Bool_t CheckLifetime(T49VertexRoot* V0) Bool_t CheckMass(T49VertexRoot* V0) Bool_t CheckNegTrack(T49VertexRoot* V0) Bool_t CheckOutsideTPC(T49VertexRoot* V0) Bool_t CheckPchi2(T49VertexRoot* V0) Bool_t CheckPosTrack(T49VertexRoot* V0) Bool_t CheckPsi(T49VertexRoot* V0) Bool_t CheckPt(T49VertexRoot* V0) Bool_t CheckRapidity(T49VertexRoot* V0) Bool_t CheckSameSide(T49VertexRoot* V0) Bool_t CheckX1minX2(T49VertexRoot* V0) Bool_t CheckXTarg(T49VertexRoot* V0) Bool_t CheckXV0(T49VertexRoot* V0) Bool_t CheckY1minY2(T49VertexRoot* V0) Bool_t CheckYTarg(T49VertexRoot* V0) Bool_t CheckYV0(T49VertexRoot* V0) Bool_t CheckZV0(T49VertexRoot* V0) public:
T49CutV0() T49CutV0(const Text_t* name, const Text_t* title) T49CutV0(const T49CutV0&) virtual ~T49CutV0() virtual Bool_t CheckV0(T49VertexRoot* V0) static TClass* Class() virtual void Copy(TObject& c) const virtual TPaveText* CreateCutList() virtual void DrawCutList() TObjArray* GetAcceptedV0Particle(TObjArray* V0List) TObjArray* GetAcceptedV0s(TObjArray* V0List) Float_t GetArmenterosAlphaMax() Float_t GetArmenterosAlphaMin() Float_t GetArmenterosPtMax() Float_t GetArmenterosPtMin() Float_t GetCosThetaMax() Float_t GetCosThetaMin() Float_t GetCrossYZ() Float_t GetExcludedMass() Float_t GetExcludedMassWindow() Int_t GetGSIBham() Int_t GetIflag() Float_t GetLifetimeMax() Float_t GetLifetimeMin() Float_t GetMass() Float_t GetMassWindow() Float_t GetMinPsi() T49CutTrack* GetNegTrackCut() TObjArray* GetNotAcceptedV0s(TObjArray* V0List) Float_t Getpchi2() T49CutTrack* GetPosTrackCut() Float_t GetPtMin() Float_t GetRapidityMax() Float_t GetRapidityMin() Float_t GetX1minX2() Float_t GetXTarg() Float_t GetXV0() Float_t GetY1minY2() Float_t GetYTarg() Float_t GetYV0() Float_t GetZV0() virtual TClass* IsA() const T49CutV0& operator=(const T49CutV0&) virtual void PrintCutList() virtual void PrintStatistics() virtual void Reset() virtual void ResetStatistics() void SetArmenterosAlpha(Float_t almin, Float_t almax) void SetArmenterosPt(Float_t ptmin, Float_t ptmax) void SetBham() void SetCosThetaAntiLambda(Float_t ctmin, Float_t ctmax, Bool_t minv = kFALSE) void SetCosThetaK0s(Float_t ctmin, Float_t ctmax, Bool_t minv = kFALSE) void SetCosThetaLambda(Float_t ctmin, Float_t ctmax, Bool_t minv = kFALSE) void SetCosThetaOmega(Float_t ctmin, Float_t ctmax, Bool_t minv = kFALSE) void SetCosThetaXi(Float_t ctmin, Float_t ctmax, Bool_t minv = kFALSE) void SetCrossYZ(Float_t zmin) void SetExcludedMass(Int_t type, Float_t mass, Float_t window) void SetExcludedMassAntiLambda(Float_t window = kAntiLambdaWidth) void SetExcludedMassK0s(Float_t window = kK0sWidth) void SetExcludedMassLambda(Float_t window = kLambdaWidth) void SetExcludedMassOmega(Float_t window = kOmegaWidth) void SetExcludedMassXi(Float_t window = kXiWidth) void SetFast() void SetGSI() void SetIflag(Int_t iflag = 0) void SetLifetimeAntiLambda(Float_t lmin, Float_t lmax) void SetLifetimeK0s(Float_t lmin, Float_t lmax) void SetLifetimeLambda(Float_t lmin, Float_t lmax) void SetLifetimeOmega(Float_t lmin, Float_t lmax) void SetLifetimeXi(Float_t lmin, Float_t lmax) void SetMass(Int_t type, Float_t mass, Float_t window) void SetMassAntiLambda(Float_t window = kAntiLambdaWidth) void SetMassK0s(Float_t window = kK0sWidth) void SetMassLambda(Float_t window = kLambdaWidth) void SetMassOmega(Float_t window = kOmegaWidth) void SetMassXi(Float_t window = kXiWidth) void SetNegTrackCut(T49CutTrack* cut) void SetOutsideTPC() void SetPchi2(Float_t pchi2) void SetPosTrackCut(T49CutTrack* cut) void SetPsi(Float_t psimin) void SetPt(Float_t ptmin) void SetRapidity(Int_t type, Float_t ymin, Float_t ymax) void SetRapidityAntiLambda(Float_t ymin, Float_t ymax) void SetRapidityK0s(Float_t ymin, Float_t ymax) void SetRapidityLambda(Float_t ymin, Float_t ymax) void SetRapidityOmega(Float_t ymin, Float_t ymax) void SetRapidityXi(Float_t ymin, Float_t ymax) void SetSameSide() void SetSlow() void SetStandardCutsBham() void SetStandardCutsGSI() void SetX1minX2(Float_t x1minx2) void SetXi() void SetXiDaughter() void SetXTarg(Float_t xtarg) void SetXV0(Float_t xv0) void SetY1minY2(Float_t y1miny2) void SetYTarg(Float_t ytarg) void SetYV0(Float_t yv0) void SetZV0(Float_t zv0) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual TObjArray* Vertex2Particle(TObjArray* V0List)

Data Members


    protected:
Bool_t fFast Fast option: Cuts are only checked until the first failure Int_t fIdVtx Vertex ID (11: V0, 41 Xis/Omegas) Float_t fMinX1minX2 Track x-distance in the target plane Float_t fMinY1minY2 Track y-distance in the target plane Float_t fMaxXTarg Vertex x-position in the target plane Float_t fMaxYTarg Vertex y-position in the target plane Float_t fMinXV0 Vertex x-position Float_t fMinYV0 Vertex y-position Float_t fMinZV0 Vertex z-position Float_t fMinArmenterosPt Armenteros-Pt lower cut Float_t fMaxArmenterosPt Armenteros-Pt upper cut Float_t fMinArmenterosAlpha Armenteros-Alpha lower cut Float_t fMaxArmenterosAlpha Armenteros-Alpha upper cut Float_t fMinPchi2 P(chi2) of the V0-fit Int_t fValIflag V0 Iflag Float_t fMass V0 mass Float_t fMassWindow Mass window Float_t fExcludedMass Excluded V0 mass Float_t fExcludedMassWindow Excluded mass window Float_t fMinCosTheta Cos theta lower cut Float_t fMaxCosTheta Cos theta upper cut Float_t fMinLifetime Lifetime lower cut Float_t fMaxLifetime Lifetime upper cut Int_t fValGSIBham 1: GSI type V0, 2: Bham type V0 Float_t fMinCrossYZ Vertex z-position for the crossYZ cut Float_t fMinPt Transverse momentum lower cut Float_t fMinRapidity Rapidity lower cut Float_t fMaxRapidity Rapidity upper cut Float_t fMinPsi Lower cut on the angle of the V0 relative to the beam axis T49CutTrack* fPosTrackCuts The cuts on the positive tracks T49CutTrack* fNegTrackCuts The cuts on the negative tracks Int_t fV0TypeMass V0 type for the invariant mass cut Int_t fV0TypeCosTheta V0 type for the cos theta cut Int_t fV0TypeLifetime V0 type for the lifetime cut Int_t fV0TypeExcluded V0 type for the excluded invariant mass cut Int_t fV0TypeRapidity V0 type for the rapidity cut Bool_t fUseInvMassCosTheta Use invariant mass instead of constant mass Bool_t fCutX1minX2 Flags for the various cuts Bool_t fCutY1minY2 Bool_t fCutXTarg Bool_t fCutYTarg Bool_t fCutXV0 Bool_t fCutYV0 Bool_t fCutZV0 Bool_t fCutArmenterosPt Bool_t fCutArmenterosAlpha Bool_t fCutPchi2 Bool_t fCutIflag Bool_t fCutMass Bool_t fCutExcludedMass Bool_t fCutCosTheta Bool_t fCutLifetime Bool_t fCutGSIBham Bool_t fCutCrossYZ Bool_t fCutPt Bool_t fCutRapidity Bool_t fCutOutsideTPC Bool_t fCutPsi Bool_t fCutPosTrack Bool_t fCutNegTrack Bool_t fCutSameSide Int_t fCntInV0 Counters for the various cuts Int_t fCntOutV0 Int_t fCntX1minX2 Int_t fCntY1minY2 Int_t fCntXTarg Int_t fCntYTarg Int_t fCntXV0 Int_t fCntYV0 Int_t fCntZV0 Int_t fCntArmenterosPt Int_t fCntArmenterosAlpha Int_t fCntPchi2 Int_t fCntIflag Int_t fCntMass Int_t fCntExcludedMass Int_t fCntCosTheta Int_t fCntLifetime Int_t fCntGSIBham Int_t fCntCrossYZ Int_t fCntPt Int_t fCntRapidity Int_t fCntOutsideTPC Int_t fCntPsi Int_t fCntPosTrack Int_t fCntNegTrack Int_t fCntSameSide TObjArray* fAccV0List !List with all accepted V0s TObjArray* fNotAccV0List !List with all NOT accepted V0s TObjArray* fAccV0ParticleList !List with all accepted V0s stored as T49ParticleRoot

Class Description

                                                                   
    T49CutV0                                                       
                                                                   
    V0 cut class                                                   
                                                                   
    Author: Christoph Blume                                        
                                                                   


T49CutV0():T49Cut()
 T49CutV0 default constructor


T49CutV0(const Text_t *name, const Text_t *title) :T49Cut(name, title)
 T49CutV0 constructor with name and title


~T49CutV0()
 T49CutV0 destructor


void Copy(TObject &c) const
 Copy function


void SetStandardCutsBham()
 Sets the standard cuts for the Birmingham V0s:
             X1minX2 > 2.5
               XTarg < 1.5
               YTarg < 1.0
                 ZV0 > -555.0
               Iflag = 0


void SetStandardCutsGSI()
 Sets the standard cuts for the GSI V0s:
               XTarg < 1.0
               YTarg < 0.5
                 ZV0 > -555.0


void SetMassLambda(Float_t window)
 Switches on the invariant mass cut for the lambda. The default mass window
 is +-10 MeV.


void SetMassAntiLambda(Float_t window)
 Switches on the invariant mass cut for the anti-lambda. The default mass window
 is +-10 MeV.


void SetMassK0s(Float_t window)
 Switches on the invariant mass cut for the K0short. The default mass window
 is +-10 MeV.


void SetMassXi(Float_t window)
 Switches on the invariant mass cut for the Xi. The default mass window
 is +-10 MeV.


void SetMassOmega(Float_t window)
 Switches on the invariant mass cut for the Omega. The default mass window
 is +-10 MeV.


void SetMass(Int_t type, Float_t mass, Float_t window)
 Switches on the invariant mass cut for a specific V0-type.
               1 - lambda
               2 - anti-lambda
               3 - K0s
               4 - Xi
               5 - Omega
 This function can be used to set a mass window around an arbitrary mass.


void SetExcludedMassLambda(Float_t window)
 Cuts out a region in the lambda invariant mass. The default mass window
 is +-10 MeV.


void SetExcludedMassAntiLambda(Float_t window)
 Cuts out a region in the anti-lambda invariant mass. The default mass window
 is +-10 MeV.


void SetExcludedMassK0s(Float_t window)
 Cuts out a region in the K0s invariant mass. The default mass window
 is +-10 MeV.


void SetExcludedMassXi(Float_t window)
 Cuts out a region in the Xi invariant mass. The default mass window
 is +-10 MeV.


void SetExcludedMassOmega(Float_t window)
 Cuts out a region in the Omega invariant mass. The default mass window
 is +-10 MeV.


void SetExcludedMass(Int_t type, Float_t mass, Float_t window)
 Cuts out a region in the invariant mass of a specific V0 type.
               1 - lambda
               2 - anti-lambda
               3 - K0s
               4 - Xi
               5 - Omega
 This function can be used to set a mass window around an arbitrary mass.


Bool_t CheckGSIBham(T49VertexRoot *V0)
 Cut on the GSI/Bham flag


Bool_t CheckX1minX2(T49VertexRoot *V0)
 Cut on X1minX2


Bool_t CheckY1minY2(T49VertexRoot *V0)
 Cut on Y1minY2


Bool_t CheckXTarg(T49VertexRoot *V0)
 Cut on XTarg


Bool_t CheckYTarg(T49VertexRoot *V0)
 Cut on YTarg


Bool_t CheckXV0(T49VertexRoot *V0)
 Cut on the V0 x-position


Bool_t CheckYV0(T49VertexRoot *V0)
 Cut on the V0 y-position


Bool_t CheckZV0(T49VertexRoot *V0)
 Cut on the V0 z-position


Bool_t CheckPt(T49VertexRoot *V0)
 Cut on the V0 Pt


Bool_t CheckRapidity(T49VertexRoot *V0)
 Cut on the V0 rapidity


Bool_t CheckArmenterosPt(T49VertexRoot *V0)
 Cut on the V0 Armenteros-Pt (only for (anti-)lambda and K0s)


Bool_t CheckArmenterosAlpha(T49VertexRoot *V0)
 Cut on the V0 Armenteros-alpha (only for (anti-)lambda and K0s)


Bool_t CheckPchi2(T49VertexRoot *V0)
 Cut on the P(chi2)


Bool_t CheckIflag(T49VertexRoot *V0)
 Cut on the vertex IFLAG


Bool_t CheckCosTheta(T49VertexRoot *V0)
 Cut on the V0 cos(theta)


Bool_t CheckLifetime(T49VertexRoot *V0)
 Cut on the V0 lifetime


Bool_t CheckMass(T49VertexRoot *V0)
 Cut on the V0 invariant mass


Bool_t CheckExcludedMass(T49VertexRoot *V0)
 Cut to exclude an invariant mass region of a V0


Bool_t CheckCrossYZ(T49VertexRoot *V0)
 Cut on the crossing in the YZ-plane


Bool_t CheckOutsideTPC(T49VertexRoot *V0)
 Cut on V0 vertices inside the VTPCs


Bool_t CheckPsi(T49VertexRoot *V0)
 Cut on the angle of the V0 relative to the beam axis


Bool_t CheckPosTrack(T49VertexRoot *V0)
 Checks the cuts on the positive daughter track


Bool_t CheckNegTrack(T49VertexRoot *V0)
 Checks the cuts on the negative daughter track


Bool_t CheckSameSide(T49VertexRoot *V0)
 Checks whether the V0 daughters are on the same detector side


Bool_t CheckV0(T49VertexRoot *V0)
 Applies the cuts to a given V0


TObjArray* Vertex2Particle(TObjArray *V0List)
 Converts a list of T49VertexRoot objects into a TObjArray
 of T49ParticleRoot objects. The vertex position is stored in
 the first point coordinates.


TObjArray* GetAcceptedV0s(TObjArray *V0List)
 Creates a new vertex list with all V0s that have passed the cuts


TObjArray* GetNotAcceptedV0s(TObjArray *V0List)
 Creates a new vertex list with all V0s that have NOT passed the cuts


TObjArray* GetAcceptedV0Particle(TObjArray *V0List)
 Creates a new list of T49ParticleRoot with all V0s that have passed the cuts


void DrawCutList()
 Draws a TPaveText with the defined cuts.


TPaveText* CreateCutList()
 Creates a TPaveText with the defined cuts.


void PrintCutList()
 Prints the defined cuts.


void ResetStatistics()

void Reset()

void PrintStatistics()
 Prints the cut statistic


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




Inline Functions


                void SetFast()
                void SetSlow()
                void SetGSI()
                void SetBham()
                void SetXi()
                void SetXiDaughter()
                void SetX1minX2(Float_t x1minx2)
                void SetY1minY2(Float_t y1miny2)
                void SetXTarg(Float_t xtarg)
                void SetYTarg(Float_t ytarg)
                void SetXV0(Float_t xv0)
                void SetYV0(Float_t yv0)
                void SetZV0(Float_t zv0)
                void SetArmenterosPt(Float_t ptmin, Float_t ptmax)
                void SetArmenterosAlpha(Float_t almin, Float_t almax)
                void SetPchi2(Float_t pchi2)
                void SetIflag(Int_t iflag = 0)
                void SetCosThetaLambda(Float_t ctmin, Float_t ctmax, Bool_t minv = kFALSE)
                void SetCosThetaAntiLambda(Float_t ctmin, Float_t ctmax, Bool_t minv = kFALSE)
                void SetCosThetaK0s(Float_t ctmin, Float_t ctmax, Bool_t minv = kFALSE)
                void SetCosThetaXi(Float_t ctmin, Float_t ctmax, Bool_t minv = kFALSE)
                void SetCosThetaOmega(Float_t ctmin, Float_t ctmax, Bool_t minv = kFALSE)
                void SetLifetimeLambda(Float_t lmin, Float_t lmax)
                void SetLifetimeAntiLambda(Float_t lmin, Float_t lmax)
                void SetLifetimeK0s(Float_t lmin, Float_t lmax)
                void SetLifetimeXi(Float_t lmin, Float_t lmax)
                void SetLifetimeOmega(Float_t lmin, Float_t lmax)
                void SetCrossYZ(Float_t zmin)
                void SetPt(Float_t ptmin)
                void SetRapidity(Int_t type, Float_t ymin, Float_t ymax)
                void SetRapidityLambda(Float_t ymin, Float_t ymax)
                void SetRapidityAntiLambda(Float_t ymin, Float_t ymax)
                void SetRapidityK0s(Float_t ymin, Float_t ymax)
                void SetRapidityXi(Float_t ymin, Float_t ymax)
                void SetRapidityOmega(Float_t ymin, Float_t ymax)
                void SetOutsideTPC()
                void SetPsi(Float_t psimin)
                void SetPosTrackCut(T49CutTrack* cut)
                void SetNegTrackCut(T49CutTrack* cut)
                void SetSameSide()
             Float_t GetX1minX2()
             Float_t GetY1minY2()
             Float_t GetXTarg()
             Float_t GetYTarg()
             Float_t GetXV0()
             Float_t GetYV0()
             Float_t GetZV0()
             Float_t GetArmenterosPtMin()
             Float_t GetArmenterosPtMax()
             Float_t GetArmenterosAlphaMin()
             Float_t GetArmenterosAlphaMax()
             Float_t Getpchi2()
               Int_t GetIflag()
             Float_t GetCosThetaMin()
             Float_t GetCosThetaMax()
             Float_t GetMass()
             Float_t GetMassWindow()
             Float_t GetExcludedMass()
             Float_t GetExcludedMassWindow()
             Float_t GetLifetimeMin()
             Float_t GetLifetimeMax()
               Int_t GetGSIBham()
             Float_t GetCrossYZ()
             Float_t GetPtMin()
             Float_t GetRapidityMin()
             Float_t GetRapidityMax()
             Float_t GetMinPsi()
        T49CutTrack* GetPosTrackCut()
        T49CutTrack* GetNegTrackCut()
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void StreamerNVirtual(TBuffer& b)
            T49CutV0 T49CutV0(const T49CutV0&)
           T49CutV0& operator=(const T49CutV0&)


Last update: Thu Aug 17 15:30:43 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.