Integrating the Cooked Matrix tracker into the commom reconstruction framework
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSUDigitPix.h
CommitLineData
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 11class 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;}
b2679935 21 Int_t GetROCycle() const {return fROCycle;}
a84c4b15 22 virtual Int_t GetListOfTracks(TArrayI &t);
23 // set signal in electrons
24 void SetSignalPix(Int_t sig) {fSignalPix = sig;}
b2679935 25 void SetROCycle(Int_t cycle) {fROCycle = cycle;}
a84c4b15 26 virtual void Print(ostream *os); // Class ascii print function
27 virtual void Print(Option_t *option="") const {TObject::Print(option);}
28 virtual void Read(istream *os); // Class ascii read function
29 virtual Int_t Read(const char *name) {return TObject::Read(name);}
30
31 protected:
32
33 Int_t fSignalPix; // Signal in electrons
b2679935 34 Int_t fROCycle; // readout cycle
451f5018 35 ClassDef(AliITSUDigitPix,1) // Simulated digit object for Pixels
a84c4b15 36
37};
38// Input and output functions for standard C++ input/output.
451f5018 39ostream &operator<<(ostream &os,AliITSUDigitPix &source);
40istream &operator>>(istream &os,AliITSUDigitPix &source);
a84c4b15 41
42#endif