]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TRD/AliHLTTRDCluster.h
Adding new component for TRD monitoring (Theodor)
[u/mrichter/AliRoot.git] / HLT / TRD / AliHLTTRDCluster.h
1 #ifndef ALIHLTTRDCLUSTER_H
2 #define ALIHLTTRDCLUSTER_H
3
4 #include "AliTRDcluster.h"
5 #include "AliHLTDataTypes.h"
6
7 class AliHLTTRDCluster
8 {
9  public:
10   AliHLTTRDCluster();
11   AliHLTTRDCluster(AliTRDcluster* inCluster);
12   void ExportTRDCluster(AliTRDcluster* outCluster);
13
14   AliHLTUInt8_t *GetEndPointer() // Returns pointer to the end of the cluster
15   { return ((AliHLTUInt8_t *) this + sizeof(*this)); };
16   AliHLTUInt32_t GetSize(){ return sizeof(*this); };
17   void Print();      
18   
19  private:
20   // From AliCluster
21   Float_t  fX;        // X of the cluster in the tracking c.s.
22   Float_t  fY;        // Y of the cluster in the tracking c.s.
23   Float_t  fZ;        // Z of the cluster in the tracking c.s.
24   Float_t  fQ;        //  Amplitude 
25
26   Bool_t  fIsInChamber;
27   Bool_t  fIsShared;
28   Short_t fDetector;       //  TRD detector number
29   Char_t  fLocalTimeBin;   //  T0-calibrated time bin number
30   UChar_t fClusterMasking; //  Bit field containing cluster status information;
31
32   // From AliTRDcluster
33   UChar_t fPadCol;         //  Central pad number in column direction 
34   UChar_t fPadRow;         //  Central pad number in row direction 
35   UChar_t fPadTime;        //  Uncalibrated time bin number 
36   //   Short_t fSignals[7];     //  Signals in the cluster 
37   //   UChar_t fNPads;          //  Number of pads in cluster 
38   //   Float_t fCenter;         //  Center of the cluster relative to the pad  
39    
40 };
41
42 #endif