RC12, RC17 violation: suppression
[u/mrichter/AliRoot.git] / ITS / AliITSdigitSPD.h
CommitLineData
e869281d 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 */
7d62fb64 5/////////////////////////////////////////////////////////////
6// Digit class for SPD //
7/////////////////////////////////////////////////////////////
e869281d 8#include <AliITSdigit.h>
9
10//______________________________________________________________________
11class AliITSdigitSPD: public AliITSdigit {
12
13 public:
14 AliITSdigitSPD(); //default creator
15 AliITSdigitSPD(const Int_t *digits);//standard creator digits only
16 //standard creator with digits, tracks, and hits
17 AliITSdigitSPD(const Int_t *digits,const Int_t *tracks,const Int_t *hits);
18 virtual ~AliITSdigitSPD(){/*destructor*/}
e869281d 19 // returns the signal in electrons
20 Int_t GetSignalSPD() const {return fSignalSPD;}
e869281d 21 virtual Int_t GetListOfTracks(TArrayI &t);
e869281d 22 // set signal in electrons
23 void SetSignalSPD(Int_t sig) {fSignalSPD = sig;}
d2f55a22 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);}
e869281d 28
29 protected:
e869281d 30
e869281d 31 Int_t fSignalSPD; // Signal in electrons
32
0599a018 33 ClassDef(AliITSdigitSPD,3) // Simulated digit object for SPD
e869281d 34
35};
36// Input and output functions for standard C++ input/output.
37ostream &operator<<(ostream &os,AliITSdigitSPD &source);
38istream &operator>>(istream &os,AliITSdigitSPD &source);
39
40#endif