bug fixed
[u/mrichter/AliRoot.git] / PMD / AliPMDclupid.h
CommitLineData
7dcaf913 1#ifndef ALIPMDCLUPID_H
2#define ALIPMDCLUPID_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5//-----------------------------------------------------//
6// //
7// Date : March 22 2004 //
8// //
9// Store cluster informations for PMD //
10// after Discrimination //
11// //
12//-----------------------------------------------------//
a48edddd 13// Author - B.K. Nandi
14//
7dcaf913 15#include "Rtypes.h"
16#include "TObject.h"
17class TClonesArray;
18
19class AliPMDclupid : public TObject
20{
21 public:
22 AliPMDclupid();
b0e4d1e1 23 AliPMDclupid(Int_t idet, Int_t ismn, Int_t trno, Int_t trpid,
24 Int_t mstat,Float_t *clusdata);
a48edddd 25 AliPMDclupid(AliPMDclupid *pmdclupid);
7dcaf913 26 AliPMDclupid (const AliPMDclupid &pmdclupid); // copy constructor
27 AliPMDclupid &operator=(const AliPMDclupid &pmdclupid); // assignment op
28
29 virtual ~AliPMDclupid();
30
31 Int_t GetDetector() const;
32 Int_t GetSMN() const;
b0e4d1e1 33 Int_t GetClusTrackNo() const;
34 Int_t GetClusTrackPid() const;
35 Int_t GetClusMatching() const;
7dcaf913 36 Float_t GetClusX() const;
37 Float_t GetClusY() const;
38 Float_t GetClusADC() const;
39 Float_t GetClusCells() const;
b0e4d1e1 40 Float_t GetClusSigmaX() const;
41 Float_t GetClusSigmaY() const;
7dcaf913 42 Float_t GetClusPID() const;
43
44 protected:
45
46 Int_t fDet; // Detector No (0:PRE, 1:CPV)
47 Int_t fSMN; // Serial Module No.
b0e4d1e1 48 Int_t fTrNo; // Track number from simulation
49 Int_t fTrPid; // Pid from simulation
50 Int_t fMstatus; // matching status
51 Float_t fClusData[7]; // Array containing clupid information
52
7dcaf913 53 /*
54 fDet : Det (0:PRE, 1:CPV), fSMN : SerialModuleNo
55 fClusData[0] : Cluster x , fClusData[1] : Cluster y
56 fClusData[2] : Cluster adc , fClusData[3] : Cluster Cells
b0e4d1e1 57 fClusData[4] : Cluster sigmax , fClusData[5] : Cluster sigmay
58 fClusData[6] : Cluster pid
7dcaf913 59 */
60
b0e4d1e1 61 ClassDef(AliPMDclupid,3) // Keep Cluster information
7dcaf913 62};
63
64#endif