fix in calling of gaussian spread function
[u/mrichter/AliRoot.git] / ITS / AliITSTransientDigit.h
CommitLineData
e869281d 1#ifndef ALIITSTRANSIENTDIGIT_H
2#define ALIITSTRANSIENTDIGIT_H
3/* Copyright(c) 2004-2006, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6#include <AliITSdigitSDD.h>
7
8//______________________________________________________________________
9class AliITSTransientDigit : public AliITSdigitSDD {
10
11 public:
e56160b8 12 AliITSTransientDigit() : fTrackList(0) {}
e869281d 13 // Standard constructor with digits and "phys"
14 AliITSTransientDigit(Float_t phys,const Int_t *digits);
15 virtual ~AliITSTransientDigit(){/*destructor delets TObjArray fTracklist */
16 delete fTrackList;}
17 //copy constructor
18 AliITSTransientDigit(const AliITSTransientDigit &source);
19 //assignment operator
20 AliITSTransientDigit& operator=(const AliITSTransientDigit &source);
21 // returns pointer to the TObjArray of tracks and associated charges
22 TObjArray *TrackList() const {return fTrackList;}
23 //returns element i of fTrackList
24 TObject *TrackItem(Int_t i) const {return fTrackList->At(i);}
25 //put TObject into fTrackList at location i
26 void PutTrackItem(TObject *obj,Int_t i){fTrackList->AddAt(obj,i);}
27 void Print(ostream *os); // Class ascii print function
28 void Read(istream *os); // Class ascii read function
d2f55a22 29 virtual Int_t Read(const char *name) {return AliITSdigitSDD::Read(name);}
30 virtual void Print(Option_t *option="") const {AliITSdigitSDD::Print(option);}
e869281d 31 protected:
32 TObjArray *fTrackList; // track list
33
34 ClassDef(AliITSTransientDigit,1) // Transient digit for set: ITS
35
36};
37// Input and output functions for standard C++ input/output.
38ostream &operator<<(ostream &os,AliITSTransientDigit &source);
39istream &operator>>(istream &os,AliITSTransientDigit &source);
40
41#endif