]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDseed.h
Move to numbers of atoms for gas mixture
[u/mrichter/AliRoot.git] / TRD / AliTRDseed.h
CommitLineData
75bd7f81 1#ifndef ALITRDSEED_H
2#define ALITRDSEED_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7#include "TObject.h"
8
9class AliTRDcluster;
10
11class AliTRDseed : public TObject {
12
13 friend class AliTRDtracker;
14
15 public:
16
17 AliTRDseed();
18 ~AliTRDseed() {};
19
20 static void EvaluateUni(Int_t nvectors, Double_t *data, Double_t &mean, Double_t &sigma, Int_t hh);
21 static Float_t FitRiemanTilt(AliTRDseed *seed, Bool_t error);
22 void UseClusters(); // use clusters
23 void Update(); // update information - without tilt correction
24 void CookLabels(); // cook label
25 void UpdateUsed();
26 void Reset(); // reset seed
27 Bool_t IsOK() const { return fN2 > 8;}
28
29 private:
30
31 Float_t fTilt; // tilting angle
32 Float_t fPadLength; // pad length
33 Float_t fX0; // x0 position
34 Float_t fX[25]; // !x position
35 Float_t fY[25]; // !y position
36 Float_t fZ[25]; // !z position
37 Int_t fIndexes[25]; // !indexes
38 AliTRDcluster *fClusters[25]; // !clusters
39 Bool_t fUsable[25]; // !indication - usable cluster
40 Float_t fYref[2]; // reference y
41 Float_t fZref[2]; // reference z
42 Float_t fYfit[2]; // y fit position +derivation
43 Float_t fYfitR[2]; // y fit position +derivation
44 Float_t fZfit[2]; // z fit position
45 Float_t fZfitR[2]; // z fit position
46 Float_t fSigmaY; // "robust" sigma in Y - constant fit
47 Float_t fSigmaY2; // "robust" sigma in Y - line fit
48 Float_t fMeanz; // mean vaue of z
49 Float_t fZProb; // max probbable z
50 Int_t fLabels[2]; // labels
51 Int_t fN; // number of associated clusters
52 Int_t fN2; // number of not crossed
53 Int_t fNUsed; // number of used clusters
54 Int_t fFreq; // freq
55 Int_t fNChange; // change z counter
56 Float_t fMPads; // mean number of pads per cluster
57 // global
58 //
59 Float_t fC; // curvature
60 Float_t fCC; // curvature with constrain
61 Float_t fChi2; // global chi2
62 Float_t fChi2Z; // global chi2
63
64 ClassDef(AliTRDseed,1) // Seed for a local TRD track
65
66};
67#endif