]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDseed.h
Mods due to recently changed CDB interface
[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
ad670fba 7/* $Id$ */
8
9////////////////////////////////////////////////////////////////////////////
10// //
11// The TRD track seed //
12// //
13////////////////////////////////////////////////////////////////////////////
14
75bd7f81 15#include "TObject.h"
16
17class AliTRDcluster;
18
19class AliTRDseed : public TObject {
20
21 friend class AliTRDtracker;
22
23 public:
24
25 AliTRDseed();
ad670fba 26 AliTRDseed(const AliTRDseed &s);
75bd7f81 27 ~AliTRDseed() {};
28
ad670fba 29 AliTRDseed &operator=(const AliTRDseed &/*s*/) { return *this; }
30
31 static void EvaluateUni(Int_t nvectors, Double_t *data, Double_t &mean, Double_t &sigma, Int_t hh);
32 static Float_t FitRiemanTilt(AliTRDseed *seed, Bool_t error);
33 void UseClusters();
34 void Update();
35 void CookLabels();
36 void UpdateUsed();
37 void Reset();
38 Bool_t IsOK() const { return fN2 > 8; }
75bd7f81 39
40 private:
41
ad670fba 42 Float_t fTilt; // Tilting angle
43 Float_t fPadLength; // Pad length
44 Float_t fX0; // X0 position
45 Float_t fX[25]; //! X position
46 Float_t fY[25]; //! Y position
47 Float_t fZ[25]; //! Z position
48 Int_t fIndexes[25]; //! Indexes
49 AliTRDcluster *fClusters[25]; //! Clusters
50 Bool_t fUsable[25]; //! Indication - usable cluster
51 Float_t fYref[2]; // Reference y
52 Float_t fZref[2]; // Reference z
53 Float_t fYfit[2]; // Y fit position +derivation
54 Float_t fYfitR[2]; // Y fit position +derivation
55 Float_t fZfit[2]; // Z fit position
56 Float_t fZfitR[2]; // Z fit position
57 Float_t fSigmaY; // "Robust" sigma in Y - constant fit
58 Float_t fSigmaY2; // "Robust" sigma in Y - line fit
59 Float_t fMeanz; // Mean vaue of z
60 Float_t fZProb; // Max probbable z
61 Int_t fLabels[2]; // Labels
62 Int_t fN; // Number of associated clusters
63 Int_t fN2; // Number of not crossed
64 Int_t fNUsed; // Number of used clusters
65 Int_t fFreq; // Frequency
66 Int_t fNChange; // Change z counter
67 Float_t fMPads; // Mean number of pads per cluster
68
69 Float_t fC; // Curvature
70 Float_t fCC; // Curvature with constrain
71 Float_t fChi2; // Global chi2
72 Float_t fChi2Z; // Global chi2
73
74 ClassDef(AliTRDseed,1) // Seed for a local TRD track
75bd7f81 75
76};
ad670fba 77
75bd7f81 78#endif