]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSsDigitize.h
Fixes for invalid write, detected by valgrind
[u/mrichter/AliRoot.git] / ITS / AliITSsDigitize.h
CommitLineData
7537d03c 1#ifndef ALIITSSDIGITIZE_H
2#define ALIITSSDIGITIZE_H
d8b00ff7 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 */
7537d03c 9/////////////////////////////////////////////////////////
10// //
11// //
12// //
13/////////////////////////////////////////////////////////
d8b00ff7 14
f21fc003 15#include <TNamed.h>
d8b00ff7 16
17class TString;
18class AliITS;
19
f21fc003 20class AliITSsDigitize : public TNamed {
d8b00ff7 21 public:
22 AliITSsDigitize(); // default constructor
23 AliITSsDigitize(const char *filename); // standard constructor
24 virtual ~AliITSsDigitize();//Destructor
25 virtual Bool_t Init();
f21fc003 26 virtual void Digitize(const Option_t *opt="ALL");
d8b00ff7 27 private:
7537d03c 28 Bool_t InitSDig() const; // Standard SDigitization initilization.
d8b00ff7 29 private:
88cb7938 30// TFile *fFile; //! pointer to the file contatining the hits and
31// // and will contain the SDigits
7537d03c 32 AliITSsDigitize(const AliITSsDigitize &source); // copy constructor
33 AliITSsDigitize& operator=(const AliITSsDigitize &source); // operator=
34
88cb7938 35
d8b00ff7 36 Bool_t fDet[3]; //! logical specifing which detectors to reconstruct.
37 Bool_t fInit; //! True if Init was sucessfull, else false.
d8b00ff7 38 Int_t fEnt; //! Number of events to processevent index.
39 Int_t fEnt0; //! first event to process, default 0.
40 AliITS *fITS; //! Local pointer to ITS class.
88cb7938 41 AliRunLoader* fRunLoader;//!Run Loader
f21fc003 42 ClassDef(AliITSsDigitize,2) // Class to SDigitize ITS from Hits.
d8b00ff7 43
44};
45#endif