1 #ifndef ALIITSDIGITZER_H
2 #define ALIITSDIGITZER_H
3 /* Copyright (c) 1998-2001, ALICE Experiment at CERN, All rights reserved *
4 * See cxx source for full Copyright notice */
12 #include <TClonesArray.h> // function of this class used in inline functions.
14 class AliRunDigitizer;
16 #include "AliDigitizer.h" // Base class from which this one is derived
17 #include "AliITS.h" // ITS class functions used in inline functions.
23 class AliITSDigitizer : public AliDigitizer{
26 AliITSDigitizer(AliRunDigitizer *manager);
27 virtual ~AliITSDigitizer();
29 virtual Bool_t Init();
30 virtual void Exec(Option_t* opt=0);
32 // Routines used internaly
33 TClonesArray* GetHits(){return fITS->Hits();}
34 AliITShit* GetHit(Int_t h){return (AliITShit*)(GetHits()->UncheckedAt(h));}
35 TObjArray* GetModules(){return fITS->GetModules();}
36 AliITSmodule* GetModule(Int_t i){return fITS->GetModule(i);}
37 AliRunDigitizer* GetManager(){return fManager;}
39 AliITS *fITS; //! local pointer to ITS
41 ClassDef(AliITSDigitizer,1) // Task to Digitize ITS from summable hits.