]>
Commit | Line | Data |
---|---|---|
a84c4b15 | 1 | #ifndef ALIITSDIGITSPD_H |
2 | #define ALIITSDIGITSPD_H | |
3 | /* Copyright(c) 2004-2006, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ///////////////////////////////////////////////////////////// | |
6 | // Digit class for SPD // | |
7 | ///////////////////////////////////////////////////////////// | |
8 | #include <AliITSdigit.h> | |
9 | ||
10 | //______________________________________________________________________ | |
451f5018 | 11 | class AliITSUDigitPix: public AliITSdigit { |
a84c4b15 | 12 | |
13 | public: | |
451f5018 | 14 | AliITSUDigitPix(); //default creator |
15 | AliITSUDigitPix(const Int_t *digits);//standard creator digits only | |
a84c4b15 | 16 | //standard creator with digits, tracks, and hits |
451f5018 | 17 | AliITSUDigitPix(const Int_t *digits,const Int_t *tracks,const Int_t *hits); |
18 | virtual ~AliITSUDigitPix(){/*destructor*/} | |
a84c4b15 | 19 | // returns the signal in electrons |
20 | Int_t GetSignalPix() const {return fSignalPix;} | |
21 | virtual Int_t GetListOfTracks(TArrayI &t); | |
22 | // set signal in electrons | |
23 | void SetSignalPix(Int_t sig) {fSignalPix = sig;} | |
24 | virtual void Print(ostream *os); // Class ascii print function | |
25 | virtual void Print(Option_t *option="") const {TObject::Print(option);} | |
26 | virtual void Read(istream *os); // Class ascii read function | |
27 | virtual Int_t Read(const char *name) {return TObject::Read(name);} | |
28 | ||
29 | protected: | |
30 | ||
31 | Int_t fSignalPix; // Signal in electrons | |
32 | ||
451f5018 | 33 | ClassDef(AliITSUDigitPix,1) // Simulated digit object for Pixels |
a84c4b15 | 34 | |
35 | }; | |
36 | // Input and output functions for standard C++ input/output. | |
451f5018 | 37 | ostream &operator<<(ostream &os,AliITSUDigitPix &source); |
38 | istream &operator>>(istream &os,AliITSUDigitPix &source); | |
a84c4b15 | 39 | |
40 | #endif |