]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/Cal/AliTRDCalPIDNN.h
- add protection against invalid sector/stack information in on-line track matching
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalPIDNN.h
CommitLineData
44dbae42 1#ifndef ALITRDCALPIDNN_H
2#define ALITRDCALPIDNN_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8////////////////////////////////////////////////////////////////////////////
9// //
10// PID distributions for the NN method //
11// //
12// Author: //
13// Alex Wilk <wilka@uni-muenster.de> //
14// //
15////////////////////////////////////////////////////////////////////////////
16
44dbae42 17#include "AliTRDCalPID.h"
44dbae42 18
19class AliTRDCalPIDNN : public AliTRDCalPID
20{
44dbae42 21 public:
22
28efdace 23 enum{
24 kMLPscale = 16000 // scaling of the MLP input to be smaller than 1
25 };
26
44dbae42 27 AliTRDCalPIDNN();
28 AliTRDCalPIDNN(const Text_t *name, const Text_t *title);
29 virtual ~AliTRDCalPIDNN();
30 Bool_t LoadReferences(Char_t *refFile);
31 TObject *GetModel(Int_t ip, Int_t iType, Int_t iPlane) const;
9ded305e 32 static Int_t GetModelID(Int_t mom, Int_t ii, Int_t plane);
2e32a5ae 33 Double_t GetProbability(Int_t spec, Float_t mom
34 , const Float_t * const dedx
35 , Float_t length, Int_t plane) const;
44dbae42 36
37 private:
38
39 AliTRDCalPIDNN(const AliTRDCalPIDNN &pd);
40 AliTRDCalPIDNN &operator=(const AliTRDCalPIDNN &c);
41
42 void Init();
44dbae42 43
44 ClassDef(AliTRDCalPIDNN, 1) // NN PID reference manager
45
46};
47#endif