1 #ifndef ALITRDCALPIDLQ_H
2 #define ALITRDCALPIDLQ_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 ////////////////////////////////////////////////////////////////////////////
11 // PID distributions for the LQ method //
14 // Alex Bercuci <A.Bercuci@gsi.de> //
16 ////////////////////////////////////////////////////////////////////////////
18 #include "AliTRDCalPID.h"
20 class AliTRDCalPIDLQ : public AliTRDCalPID
30 AliTRDCalPIDLQ(const Text_t *name, const Text_t *title);
31 virtual ~AliTRDCalPIDLQ();
33 Bool_t LoadReferences(Char_t* refFile);
34 TObject* GetModel(Int_t ip, Int_t iType, Int_t iPlane) const;
35 static Double_t GetLength(Int_t il) { return (il<0 || il>=kNLength) ? -1. : fgTrackSegLength[il]; }
36 Double_t GetProbability(Int_t spec, Float_t mom, Float_t *dedx
37 , Float_t length, Int_t plane) const;
41 static Float_t fgTrackSegLength[kNLength]; // Track segment lengths
45 AliTRDCalPIDLQ(const AliTRDCalPIDLQ& pd);
46 AliTRDCalPIDLQ& operator=(const AliTRDCalPIDLQ &c);
49 Int_t GetModelID(Int_t mom, Int_t spec, Int_t ii) const;
51 ClassDef(AliTRDCalPIDLQ, 2) // LQ PID reference manager