Cleanup the code. Fix memory leak. Now inherit from AliAnalysisTaskSE (Antoine, Phili...
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEpidITS.h
CommitLineData
27de2dfb 1#ifndef ALIHFEPIDITS_H
2#define ALIHFEPIDITS_H
3
e8a6457a 4/**************************************************************************
5 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * *
7 * Author: The ALICE Off-line Project. *
8 * Contributors are mentioned in the code where appropriate. *
9 * *
10 * Permission to use, copy, modify and distribute this software and its *
11 * documentation strictly for non-commercial purposes is hereby granted *
12 * without fee, provided that the above copyright notice appears in all *
13 * copies and that both the copyright notice and this permission notice *
14 * appear in the supporting documentation. The authors make no claims *
15 * about the suitability of this software for any purpose. It is *
16 * provided "as is" without express or implied warranty. *
17 **************************************************************************/
27de2dfb 18
19/* $Id$ */
20
50685501 21//
22// PID development class for ITS
23// does proton rejection via dE/dx
24// For more information see implementation file
e8a6457a 25
26#ifndef ALIHFEPIDBASE_H
27#include "AliHFEpidBase.h"
28#endif
29
e8a6457a 30class AliVParticle;
3a72645a 31class AliHFEpidQAmanager;
e8a6457a 32
33class AliHFEpidITS : public AliHFEpidBase{
e8a6457a 34 public:
35 AliHFEpidITS(const Char_t *name);
36 AliHFEpidITS(const AliHFEpidITS &ref);
37 AliHFEpidITS& operator=(const AliHFEpidITS &ref);
38 virtual ~AliHFEpidITS();
39
40 virtual Bool_t InitializePID();
6555e2ad 41 virtual Int_t IsSelected(const AliHFEpidObject *track, AliHFEpidQAmanager *pidqa) const;
e8a6457a 42
3a72645a 43 Double_t GetITSSignalV1(AliVParticle *track);
44 Double_t GetITSSignalV2(AliVParticle *track);
e8a6457a 45 protected:
e8a6457a 46 void Copy(TObject &o) const;
e8a6457a 47 private:
50685501 48 enum{
49 kITSsigV1 = 0,
3a72645a 50 kITSsigV2 = 1
50685501 51 };
e8a6457a 52
53 ClassDef(AliHFEpidITS, 0) // PID class for ITS
54};
55#endif
56