Since it contains fixes of coding rule violations, all classes are involved. Further...
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEpidTOF.h
CommitLineData
75d81601 1#ifndef ALIHFEPIDTOF_H
2#define ALIHFEPIDTOF_H
809a4336 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
75d81601 18#ifndef ALIHFEPIDBASE_H
809a4336 19#include "AliHFEpidBase.h"
20#endif
21
22class TList;
23class TH2F;
24
25class AliVParticle;
26
27class AliHFEpidTOF : public AliHFEpidBase{
28 typedef enum{
29 kHistTOFpidFlags = 0,
75d81601 30 kHistTOFpidBetavP = 1,
809a4336 31 kHistTOFsignal = 2,
32 kHistTOFlength =3,
75d81601 33 kHistTOFpid0 = 4,
34 kHistTOFpid1 = 5,
35 kHistTOFpid2 = 6,
36 kHistTOFpid3 = 7,
37 kHistTOFpid4 = 8
809a4336 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