1 #ifndef ALIPHOSSDigitizer_H
2 #define ALIPHOSSDigitizer_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 /* History of cvs commits:
12 * Revision 1.29 2007/10/10 09:05:10 schutz
13 * Changing name QualAss to QA
15 * Revision 1.28 2007/09/30 17:08:20 schutz
16 * Introducing the notion of QA data acquisition cycle (needed by online)
18 * Revision 1.27 2007/08/07 14:12:03 kharlov
19 * Quality assurance added (Yves Schutz)
21 * Revision 1.26 2006/08/28 10:01:56 kharlov
22 * Effective C++ warnings fixed (Timur Pocheptsov)
24 * Revision 1.25 2005/11/30 18:56:26 schutz
25 * Small corrections to fix compilation errors
27 * Revision 1.24 2005/05/28 14:19:05 schutz
28 * Compilation warnings fixed by T.P.
32 //_________________________________________________________________________
33 // Class for making SDigits in PHOS
34 // A Summable Digits is the sum of all hits originating
35 // from one primary in one active cell
37 //*-- Author: Dmitri Peressounko(SUBATECH & KI)
40 // --- ROOT system ---
42 #include "AliConfig.h"
46 // --- Standard library ---
48 // --- AliRoot header files ---
49 //class AliPHOSQADataMaker ;
51 class AliPHOSSDigitizer: public TNamed {
54 AliPHOSSDigitizer() ; // ctor
55 AliPHOSSDigitizer(const char * alirunFileName, const char * eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
56 AliPHOSSDigitizer(const AliPHOSSDigitizer& sd) ;
57 AliPHOSSDigitizer& operator = (const AliPHOSSDigitizer& sd) ;
59 virtual ~AliPHOSSDigitizer(); // dtor
61 virtual void Digitize(Option_t *option);
62 Int_t GetSDigitsInRun() const {return fSDigitsInRun ;}
63 virtual void Print(const Option_t * = "") const ;
64 void SetEventFolderName(TString name) { fEventFolderName = name ; }
65 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
67 Bool_t operator == (const AliPHOSSDigitizer & sd) const ;
73 void InitParameters() ;
74 void PrintSDigits(Option_t * option) ;
79 Float_t fPrimThreshold ; // To store primari if Elos > threshold
80 Bool_t fDefaultInit; //! Says if the task was created by defaut ctor (only parameters are initialized)
81 TString fEventFolderName; // event folder name
82 Bool_t fInit ; //! tells if initialisation wennt OK, will revent exec if not
83 Int_t fSDigitsInRun ; //! Total number of sdigits in one run
84 Int_t fFirstEvent; // first event to process
85 Int_t fLastEvent; // last event to process
87 ClassDef(AliPHOSSDigitizer,6) // description
91 #endif // AliPHOSSDigitizer_H