AliPHOSPIDv1


class description - source file - inheritance tree

class AliPHOSPIDv1 : public AliPHOSPID

    private:
Float_t GetDistance(AliPHOSEmcRecPoint* emc, AliPHOSRecPoint* cpv, Option_t* Axis) const TVector3 GetMomentumDirection(AliPHOSEmcRecPoint* emc, AliPHOSRecPoint* cpv, AliPHOSRecPoint* ppsd) const void MakeRecParticles() void PrintRecParticles(Option_t* option) public:
AliPHOSPIDv1 AliPHOSPIDv1() AliPHOSPIDv1 AliPHOSPIDv1(const char* headerFile, const char* tsBranchFile = 0) AliPHOSPIDv1 AliPHOSPIDv1(AliPHOSPIDv1&) virtual void ~AliPHOSPIDv1() static TClass* Class() virtual void Exec(Option_t* option) virtual char* GetRecParticlesBranch() const virtual char* GetTrackSegmentsBranch() const virtual void Init() virtual TClass* IsA() const virtual void PlotDispersionCuts() const virtual void Print(Option_t* option) const virtual Bool_t ReadTrackSegments() virtual void SetCpvtoEmcDistanceCut(Float_t cut) virtual void SetDispersionCut(Float_t cut) virtual void SetIdentificationMethod(char* option = CPV DISP) virtual void SetRecParticlesBranch(const char* file) virtual void SetShowerProfileCut(char* formula = 0.35*0.35 - (x-1.386)*(x-1.386) - 1.707*1.707*(y-1.008)*(y-1.008)) virtual void SetTrackSegmentsBranch(const char* file) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void WriteRecParticles()

Data Members

private:
TString fHeaderFileName TString fTSFileName TString fRecPointsFileName TString fRecparticlesFileName TString fIDOptions Int_t fNEvent TObjArray* fEmcRecPoints ! initial EMC RecPoints TObjArray* fCpvRecPoints ! initial CPV RecPoints TClonesArray* fTrackSegments ! initial list of TrackSegments TClonesArray* fRecParticles ! output AliPHOSClusterizer* fClusterizer ! AliPHOSTrackSegmentMaker* fTSMaker ! AliPHOSGeometry* fGeom !pointer to PHOS geometry TFormula* fFormula formula to define cut on the shouer elips axis Float_t fDispersion dispersion cut Float_t fCpvEmcDistance Bool_t fIsInitialized protected:
public:

Class Description

 Implementation version v1 of the PHOS particle identifier
 Particle identification based on the
     - CPV information,
     - Preshower information (in MIX or GPS2 geometries)
     - shower width.

AliPHOSPIDv1():AliPHOSPID()

AliPHOSPIDv1(const char * headeFile,const char * tsBranchFile):AliPHOSPID()

~AliPHOSPIDv1()

void Init()

Bool_t ReadTrackSegments()
Fist read Track Segment Branch and extract RecPointsBranch from fTSMaker

Float_t GetDistance(AliPHOSEmcRecPoint * emc,AliPHOSRecPoint * cpv, Option_t * Axis)const
 Calculates the distance between the EMC RecPoint and the PPSD RecPoint

void Exec(Option_t * option)

void MakeRecParticles()

void Print(Option_t * option) const
 Print the parameters used for the particle type identification

void SetTrackSegmentsBranch(const char* file)

void SetRecParticlesBranch (const char* file)

void SetShowerProfileCut(char * formula)
set shape of the cut on the axis of ellipce, drown around shouer
shower considered "narrow" if Formula(lambda[0],lambda[1]) > 0.

void WriteRecParticles()
Make branch in TreeR for TrackSegments

void PlotDispersionCuts()const

TVector3 GetMomentumDirection(AliPHOSEmcRecPoint * emc, AliPHOSRecPoint * cpv,AliPHOSRecPoint * ppsd)const
 Calculates the momentum direction:
   1. if only a EMC RecPoint, direction is given by IP and this RecPoint
   2. if a EMC RecPoint and one PPSD RecPoint, direction is given by the line through the 2 recpoints
   3. if a EMC RecPoint and two PPSD RecPoints, dirrection is given by the average line through
      the 2 pairs of recpoints
 However because of the poor position resolution of PPSD the direction is always taken as if we were
  in case 1.

void PrintRecParticles(Option_t * option)



Inline Functions


               char* GetRecParticlesBranch() const
               char* GetTrackSegmentsBranch() const
                void SetIdentificationMethod(char* option = CPV DISP)
                void SetDispersionCut(Float_t cut)
                void SetCpvtoEmcDistanceCut(Float_t cut)
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
        AliPHOSPIDv1 AliPHOSPIDv1(AliPHOSPIDv1&)


Copyright (c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *


ROOT page - Class index - 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.