]>
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(); |
561b7b31 | 18 | virtual ~AliESDPmdTrack(){} |
19 | AliESDPmdTrack (const AliESDPmdTrack &PMDTrack); // copy constructor | |
20 | AliESDPmdTrack &operator=(const AliESDPmdTrack &PMDTrack); // assignment op | |
21 | ||
22 | void SetDetector(Int_t idet) {fDet = idet;} | |
55853e31 | 23 | |
24 | void SetClusterX(Float_t xglobal) {fX = xglobal;} | |
25 | void SetClusterY(Float_t yglobal) {fY = yglobal;} | |
26 | void SetClusterZ(Float_t zglobal) {fZ = zglobal;} | |
561b7b31 | 27 | void SetClusterADC(Float_t cluadc) {fCluADC = cluadc;} |
55853e31 | 28 | void SetClusterCells(Float_t ncell) {fNcell = ncell;} |
561b7b31 | 29 | void SetClusterPID(Float_t clupid) {fCluPID = clupid;} |
30 | ||
31 | Int_t GetDetector() const {return fDet;} | |
55853e31 | 32 | Float_t GetClusterX() const {return fX;} |
33 | Float_t GetClusterY() const {return fY;} | |
34 | Float_t GetClusterZ() const {return fZ;} | |
561b7b31 | 35 | Float_t GetClusterADC() const {return fCluADC;} |
55853e31 | 36 | Float_t GetClusterCells() const {return fNcell;} |
561b7b31 | 37 | Float_t GetClusterPID() const {return fCluPID;} |
38 | ||
39 | protected: | |
40 | Int_t fDet; // Detector, 0:PRE, 1:CPV | |
55853e31 | 41 | Float_t fX; // Cluster X position |
42 | Float_t fY; // Cluster Y position | |
43 | Float_t fZ; // Cluster Z position (vertex uncorrected) | |
561b7b31 | 44 | Float_t fCluADC; // Cluster Energy in ADC |
55853e31 | 45 | Float_t fNcell; // Cluster cells |
561b7b31 | 46 | Float_t fCluPID; // Cluster probability, 1: Photon, 0: Hadron |
47 | ||
55853e31 | 48 | ClassDef(AliESDPmdTrack,2) //PMD ESD track class |
561b7b31 | 49 | }; |
50 | ||
51 | #endif |