For Pythia with tune don't switch off MI in ConfigHeavyFlavor
[u/mrichter/AliRoot.git] / ITS / AliITShitDigitizer.h
CommitLineData
9ed4b180 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 */
5
6/*
7 $Id$
8 */
9
10class TObjArray;
11
12#include <TClonesArray.h> // function of this class used in inline functions.
13
14class AliRunDigitizer;
15
16#include "AliDigitizer.h" // Base class from which this one is derived
17#include "AliITS.h" // ITS class functions used in inline functions.
18class AliITShit;
19class AliITSmodule;
20
21
22
23class AliITSDigitizer : public AliDigitizer{
24 public:
25 AliITSDigitizer();
26 AliITSDigitizer(AliRunDigitizer *manager);
27 virtual ~AliITSDigitizer();
28 // Standard routines.
29 virtual Bool_t Init();
30 virtual void Exec(Option_t* opt=0);
31 private:
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;}
38 private:
39 AliITS *fITS; //! local pointer to ITS
40
41 ClassDef(AliITSDigitizer,1) // Task to Digitize ITS from summable hits.
42};
43#endif