AliFMDdigit.cxx and AliFMDSDigitizer.cxx added to the Makefile, the correspondent...
[u/mrichter/AliRoot.git] / FMD / AliFMDSDigitizer.h
CommitLineData
963d4d30 1#ifndef ALIFMDSDigitizer_H
2#define ALIFMDSDigitizer_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8//_________________________________________________________________________
9// Task Class for making SDigits in FMD
10//
11//-- Author: Alla Maevskaia(INR)
12
13
14// --- ROOT system ---
15#include "TTask.h"
16#include "TString.h"
17#include "AliFMD.h"
18#include "AliDetector.h"
19
20// --- Standard library ---
21
22// --- AliRoot header files ---
23
24class AliFMDSDigitizer: public TTask {
25
26public:
27 AliFMDSDigitizer() ; // ctor
28 AliFMDSDigitizer(char* HeaderFile,char *SdigitsFile = 0) ;
29
30 virtual ~AliFMDSDigitizer() ; // dtor
63a8fec1 31 // Int_t Digitize(Float_t Energy);
963d4d30 32
33 char *GetSDigitsFile()const{return (char*) fSDigitsFile.Data();}
34 virtual void Exec(Option_t *option);
35 void SetNEvents(Int_t Nevents){fNevents = Nevents;}
36 Stat_t GetNEvents(){return fNevents;}
37 void SetSDigitsFile(char * file ) ;
38 virtual void Print(Option_t* option) const ;
39
40private:
41 Int_t fNevents ; // Number of events to digitize
42 TString fSDigitsFile ; //output file
43 TString fHeadersFile ; //input file
44
45
46 ClassDef(AliFMDSDigitizer,2) // description
47
48};
49
50#endif // AliFMDSDigitizer_H