X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSNeuralTrack.h;h=c924dc54a3c6dc27c2f3307961045b5b6fe9733a;hb=bd23a74c7475e7b37977b8b2f12de51852af4f6c;hp=a00d01471719e8b97368d20afe4ff9e7caa9c7df;hpb=853a0f192c5d193251da9d19e5c363b016c621fb;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSNeuralTrack.h b/ITS/AliITSNeuralTrack.h index a00d0147171..c924dc54a3c 100644 --- a/ITS/AliITSNeuralTrack.h +++ b/ITS/AliITSNeuralTrack.h @@ -1,6 +1,9 @@ #ifndef ALIITSNEURALTRACK_H #define ALIITSNEURALTRACK_H - +/////////////////////////////////////////////////// +// // +// Neural track class // +/////////////////////////////////////////////////// #include class TObjArray; @@ -11,9 +14,10 @@ class AliITSIOTrack; class AliITSNeuralTrack : public TObject { public: - AliITSNeuralTrack(); - AliITSNeuralTrack(AliITSNeuralTrack &track); - virtual ~AliITSNeuralTrack(); + AliITSNeuralTrack(); + AliITSNeuralTrack(const AliITSNeuralTrack &track); + AliITSNeuralTrack& operator=(const AliITSNeuralTrack& track ); + virtual ~AliITSNeuralTrack(); // Points insertion and goodness evaluation @@ -22,8 +26,8 @@ public: void CleanAllSlots(Bool_t del = kFALSE) {Int_t i; for(i=0;i<6;i++) CleanSlot(i,del);} void GetModuleData(Int_t i, Int_t &mod, Int_t &pos); void Insert(AliITSNeuralPoint *point); - Bool_t IsGood(Int_t min) {return (fCount >= min);} - Int_t OccupationMask(); + Bool_t IsGood(Int_t min) const {return (fCount >= min);} + Int_t OccupationMask() const; void PrintLabels(); // Fit procedures @@ -60,10 +64,10 @@ public: Double_t GetZ(Double_t r) const; // z = dz + (tanl / C) * asin(argz(rho)) Double_t GetP() {return GetPt() * (1.0 + fTanL * fTanL);} - Double_t GetPt() {return 0.299792658 * 0.2 * fField * fabs(1./fC/100.);} + Double_t GetPt() {return 0.299792658 * 0.2 * fField * TMath::Abs(1./fC/100.);} Double_t GetPz() {return GetPt() * fTanL;} - Double_t GetE() {return sqrt(fMass*fMass + GetPt()*GetPt());} - Double_t GetLambda() {return atan(fTanL);} + Double_t GetE() {return TMath::Sqrt(fMass*fMass + GetPt()*GetPt());} + Double_t GetLambda() {return TMath::ATan(fTanL);} Int_t GetPDGcode() const {return fPDG;} Double_t GetdEdX();