//======================================================================== // Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. // See cxx source for full Copyright notice //======================================================================== // // Class AliEMCALTrack // --------------------- // Implementation of a track to be used for EMCAL track matching. // This object is used to find track intersection with EMCAL surface // in order to find the most well matched EMCAL cluster to associate to it. // NO Kalman-like parameter updating is done. // // ------------------------------------------------------------------------ // author: A. Pulvirenti (alberto.pulvirenti@ct.infn.it) //========================================================================= #ifndef AliEMCALTRACK_H #define AliEMCALTRACK_H #include "AliExternalTrackParam.h" class AliESDtrack; class AliEMCALTrack : public AliExternalTrackParam { public: AliEMCALTrack(); AliEMCALTrack(const AliEMCALTrack& t); AliEMCALTrack(const AliESDtrack& t); AliEMCALTrack& operator=(const AliEMCALTrack &t); Int_t Compare(const TObject *o) const; Double_t GetBz() const; Int_t GetClusterIndex() const {return fClusterIndex;} Double_t GetClusterDist() const {return fClusterDist;} Double_t GetMass() const {return fMass;} Int_t GetSeedIndex() const {return fSeedIndex;} Int_t GetSeedLabel() const {return fSeedLabel;} Bool_t IsSortable() const {return kTRUE;} Bool_t PropagateTo(Double_t xr, Double_t d, Double_t x0=21.82); void SetClusterIndex(Int_t idx) {fClusterIndex=idx;} void SetClusterDist(Double_t dist) {fClusterDist=dist;} void SetMass(Double_t mass) {fMass=mass;} void SetSeedIndex(Int_t index) {fSeedIndex=index;} void SetSeedLabel(Int_t label) {fSeedLabel=label;} static void SetUseOuterParams(Bool_t doit=kTRUE) {fgUseOuterParams=doit;} protected: static Bool_t fgUseOuterParams; // use outer parameters from AliESDtrack? Int_t fClusterIndex; // index of matched cluster (if any) Double_t fClusterDist; // distance between track propagation and matched cluster Double_t fMass; // mass hypothesis (in GeV/c2) Int_t fSeedIndex; // index of imported ESD track in its owner AliESD Int_t fSeedLabel; // label of imported ESD track private: ClassDef(AliEMCALTrack, 0) // track implementation for EMCAL matching }; #endif