changed according to alice coding convention
[u/mrichter/AliRoot.git] / PMD / AliPMDsdigit.h
CommitLineData
b9746a9e 1#ifndef ALIPMDSDIGIT_H
2#define ALIPMDSDIGIT_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
ec3caada 5//-----------------------------------------------------//
6// //
7// //
8// Date : August 05 2003 //
9// used to store the info into TreeS //
10// //
11//-----------------------------------------------------//
12
ec3caada 13#include "TObject.h"
b9746a9e 14class TClonesArray;
ec3caada 15
16class AliPMDsdigit : public TObject
17{
ec3caada 18
19 public:
20 AliPMDsdigit();
b9746a9e 21 AliPMDsdigit(Int_t trnumber, Int_t det, Int_t smn,
22 Int_t cellnumber, Float_t edep);
ec3caada 23 AliPMDsdigit(AliPMDsdigit *pmdsdigit) {*this = *pmdsdigit;}
b9746a9e 24 AliPMDsdigit (const AliPMDsdigit &pmdsdigit); // copy constructor
25 AliPMDsdigit &operator=(const AliPMDsdigit &pmdsdigit); // assignment op
26
ec3caada 27 virtual ~AliPMDsdigit();
28
29 Int_t GetTrackNumber() const;
30 Int_t GetDetector() const;
31 Int_t GetSMNumber() const;
32 Int_t GetCellNumber() const;
33 Float_t GetCellEdep() const;
b9746a9e 34
35
36 protected:
37 Int_t fTrNumber; // Parent Track Number
38 Int_t fDet; // Detector Number (0:PRE, 1:CPV)
39 Int_t fSMN; // Serial Module Number
40 Int_t fCellNumber; // Cell Number (row(0-47)*96 + col(0-95))
41 Float_t fEdep; // Energy deposition in a hexagonal cell
ec3caada 42
b9746a9e 43 ClassDef(AliPMDsdigit,2) // SDigits object for Detector set:PMD
ec3caada 44};
45
46#endif