Since it contains fixes of coding rule violations, all classes are involved. Further...
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEpidTOF.h
1 #ifndef ALIHFEPIDTOF_H
2 #define ALIHFEPIDTOF_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice   */   
6
7 /************************************************************************
8  *                                                                      *
9  * Class for TOF PID                                                    *
10  * Implements the abstract base class AliHFEpidBase                     *
11  * IsInitialized() does the PID decision                                *
12  *                                                                      *
13  * Authors:                                                             *
14  *   Markus Fasel  <M.Fasel@gsi.de>                                     *
15  *   Matus Kalisky <matus.kalisky@cern.ch>  (contact)                   *
16  ************************************************************************/
17  
18 #ifndef ALIHFEPIDBASE_H
19 #include "AliHFEpidBase.h"
20 #endif
21
22 class TList;
23 class TH2F;
24
25 class AliVParticle;
26
27 class AliHFEpidTOF : public AliHFEpidBase{
28   typedef enum{
29     kHistTOFpidFlags = 0,
30       kHistTOFpidBetavP = 1,
31       kHistTOFsignal = 2,
32       kHistTOFlength =3,
33       kHistTOFpid0 = 4,
34       kHistTOFpid1 = 5,
35       kHistTOFpid2 = 6,
36       kHistTOFpid3 = 7,
37       kHistTOFpid4 = 8
38       
39       } QAHist_t;
40  public:
41   AliHFEpidTOF(const Char_t *name);
42   virtual ~AliHFEpidTOF();
43   AliHFEpidTOF(const AliHFEpidTOF &c);
44   AliHFEpidTOF &operator=(const AliHFEpidTOF &c);
45   
46   virtual Bool_t    InitializePID();
47   virtual Int_t     IsSelected(AliVParticle *track);
48   virtual Bool_t    HasQAhistos() const { return kTRUE; };
49   
50   
51  protected:
52   void Copy(TObject &ref) const;
53   void AddQAhistograms(TList *qaHist);
54   
55  private:
56   
57   AliPID *fPID;           //! PID Object
58   TList *fQAList;         //! QA histograms
59   ClassDef(AliHFEpidTOF, 1)
60 };
61
62 #endif