track number and pid propagated to clusters
[u/mrichter/AliRoot.git] / PMD / AliPMDrecdata.h
CommitLineData
b0e4d1e1 1#ifndef ALIPMDRECDATA_H
2#define ALIPMDRECDATA_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5//-----------------------------------------------------//
6// //
7// //
8// Date : May 27, 2009 //
9// //
10// Store reconstructed points, track no and trackpid //
11// corresponding to the cluster for PMD //
12// //
13//-----------------------------------------------------//
14
15#include "Rtypes.h"
16#include "TObject.h"
17class TClonesArray;
18
19class AliPMDrecdata : public TObject
20{
21
22 public:
23 AliPMDrecdata();
24 AliPMDrecdata(Int_t idet, Int_t ismn, Int_t trno, Int_t trpid, Float_t *clusdata);
25 AliPMDrecdata(AliPMDrecdata *pmdrecdata);
26 AliPMDrecdata (const AliPMDrecdata &pmdrecdata); // copy constructor
27 AliPMDrecdata &operator=(const AliPMDrecdata &pmdrecdata); // assignment op
28
29 virtual ~AliPMDrecdata();
30
31 Int_t GetDetector() const;
32 Int_t GetSMNumber() const;
33 Int_t GetClusTrackNo() const;
34 Int_t GetClusTrackPid() const;
35 Float_t GetClusX() const;
36 Float_t GetClusY() const;
37 Float_t GetClusADC() const;
38 Float_t GetClusCells() const;
39 Float_t GetClusSigmaX() const;
40 Float_t GetClusSigmaY() const;
41
42 protected:
43
44 Int_t fDet; // Detector No (0:PRE, 1:CPV)
45 Int_t fSMN; // Serial Module No.
46 Int_t fTrackNo; // Track number of the cluster
47 Int_t fTrackPid; // Cluster Track pid
48 Float_t fClusData[6]; // Array containing cluster information
49 /*
50 fDet : Detector Number, fSMN : Serial Module Number
51 fClusData[0] : Cluster x , fClusData[1] : Cluster y
52 fClusData[2] : Cluster adc , fClusData[3] : Cluster Cells
53 fClusData[4] : Cluster SigmaX , fClusData[5] : Cluster SigmaY
54 */
55
56 ClassDef(AliPMDrecdata,0) // keep reconstructed points info
57};
58
59#endif