prepare PID LQ ref maker for production
[u/mrichter/AliRoot.git] / PWG1 / TRD / info / AliTRDpidInfo.h
CommitLineData
b91fdd71 1#ifndef ALITRDPIDINFO_H
2#define ALITRDPIDINFO_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7#ifndef ROOT_TObject
8#include "TObject.h"
9#endif
10
11class AliTRDpidInfo : public TObject
12{
13public:
14 struct AliTRDpidData {
15 AliTRDpidData();
16 virtual ~AliTRDpidData(){}
17 UChar_t fPLbin; // momentum / layer bin
18 Float_t fdEdx[8]; // dEdx array
19 ClassDef(AliTRDpidData, 1) // PID layer representation
20 };
21
22 AliTRDpidInfo();
23 virtual ~AliTRDpidInfo();
24 AliTRDpidData const* GetData() const { return fData;}
25 Int_t GetNtracklets() const { return fNtracklets;}
26 void PushBack(Int_t ly, Int_t p, Float_t *dedx);
27 void Reset();
28
29private:
30 Int_t fNtracklets; // number of tracklets
31 AliTRDpidData *fData; //[fNtracklets] PID data array
32
33 AliTRDpidInfo(const AliTRDpidInfo::AliTRDpidInfo& ref);
34 AliTRDpidInfo& operator=(const AliTRDpidInfo::AliTRDpidInfo& ref);
35
36 ClassDef(AliTRDpidInfo, 1) // track PID data representation
37};
38
39#endif
40