]>
Commit | Line | Data |
---|---|---|
561b7b31 | 1 | #ifndef ALIESDPMDTRACK_H |
2 | #define ALIESDPMDTRACK_H | |
3 | ||
0742d588 | 4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | // Event Data Summary Class for pmd tracks | |
10 | // This is part of the reconstructed ESD events | |
11 | // for the PMD detector | |
12 | ||
561b7b31 | 13 | #include "TObject.h" |
14 | ||
15 | class AliESDPmdTrack : public TObject { | |
16 | public: | |
90e48c0c | 17 | AliESDPmdTrack(); |
4f036e6e | 18 | virtual ~AliESDPmdTrack(){;} |
561b7b31 | 19 | AliESDPmdTrack (const AliESDPmdTrack &PMDTrack); // copy constructor |
20 | AliESDPmdTrack &operator=(const AliESDPmdTrack &PMDTrack); // assignment op | |
732a24fe | 21 | virtual void Copy(TObject &obj) const; |
55853e31 | 22 | |
4f036e6e | 23 | void SetDetector(Int_t idet) {fDet = idet;} |
24 | ||
55853e31 | 25 | void SetClusterX(Float_t xglobal) {fX = xglobal;} |
26 | void SetClusterY(Float_t yglobal) {fY = yglobal;} | |
27 | void SetClusterZ(Float_t zglobal) {fZ = zglobal;} | |
561b7b31 | 28 | void SetClusterADC(Float_t cluadc) {fCluADC = cluadc;} |
4f036e6e | 29 | void SetClusterCells(Float_t ncell) {fNcell = (UChar_t)ncell;} |
561b7b31 | 30 | void SetClusterPID(Float_t clupid) {fCluPID = clupid;} |
31 | ||
4f036e6e | 32 | Double_t GetClusterX() const {return fX;} |
33 | Double_t GetClusterY() const {return fY;} | |
34 | Double_t GetClusterZ() const {return fZ;} | |
35 | Double_t GetClusterADC() const {return fCluADC;} | |
36 | Double_t GetClusterPID() const {return fCluPID;} | |
37 | UChar_t GetClusterCells() const {return fNcell;} | |
38 | UChar_t GetDetector() const {return fDet;} | |
39 | ||
561b7b31 | 40 | |
41 | protected: | |
4f036e6e | 42 | |
43 | Double32_t fX; // Cluster X position | |
44 | Double32_t fY; // Cluster Y position | |
45 | Double32_t fZ; // Cluster Z position (vertex uncorrected) | |
46 | Double32_t fCluADC; // Cluster Energy in ADC | |
47 | Double32_t fCluPID; //[0.,1.,8] Cluster probability, 1: Photon, 0: Hadron | |
48 | UChar_t fDet; // Detector, 0:PRE, 1:CPV | |
49 | UChar_t fNcell; // Cluster cells | |
50 | ||
51 | ClassDef(AliESDPmdTrack,4) //PMD ESD track class | |
52 | ||
561b7b31 | 53 | }; |
54 | ||
55 | #endif |