X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSSDigitizer.h;h=c7c1ddb1017c99010b2722479e6dda2bfaf38010;hb=d3a1a0171084e0de40627dab75cafe3be23760c5;hp=11267c587cab106515ab222137cb81742d484521;hpb=702ab87e845509d9379dca12e47c7e8a37eba7f6;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSSDigitizer.h b/PHOS/AliPHOSSDigitizer.h index 11267c587ca..c7c1ddb1017 100644 --- a/PHOS/AliPHOSSDigitizer.h +++ b/PHOS/AliPHOSSDigitizer.h @@ -9,6 +9,24 @@ /* History of cvs commits: * * $Log$ + * Revision 1.29 2007/10/10 09:05:10 schutz + * Changing name QualAss to QA + * + * Revision 1.28 2007/09/30 17:08:20 schutz + * Introducing the notion of QA data acquisition cycle (needed by online) + * + * Revision 1.27 2007/08/07 14:12:03 kharlov + * Quality assurance added (Yves Schutz) + * + * Revision 1.26 2006/08/28 10:01:56 kharlov + * Effective C++ warnings fixed (Timur Pocheptsov) + * + * Revision 1.25 2005/11/30 18:56:26 schutz + * Small corrections to fix compilation errors + * + * Revision 1.24 2005/05/28 14:19:05 schutz + * Compilation warnings fixed by T.P. + * */ //_________________________________________________________________________ @@ -21,22 +39,25 @@ // --- ROOT system --- #include "TTask.h" +#include "AliConfig.h" class TFile ; + // --- Standard library --- // --- AliRoot header files --- +//class AliPHOSQADataMaker ; class AliPHOSSDigitizer: public TTask { public: AliPHOSSDigitizer() ; // ctor AliPHOSSDigitizer(const char * alirunFileName, const char * eventFolderName = AliConfig::GetDefaultEventFolderName()) ; - AliPHOSSDigitizer(const AliPHOSSDigitizer & sd) ; // cpy ctor + AliPHOSSDigitizer(const AliPHOSSDigitizer& sd) ; + AliPHOSSDigitizer& operator = (const AliPHOSSDigitizer& sd) ; + virtual ~AliPHOSSDigitizer(); // dtor - Float_t Calibrate(Int_t amp)const {return (amp - fA)/fB ; } - Int_t Digitize(Float_t Energy)const { return (Int_t ) ( fA + Energy*fB); } virtual void Exec(Option_t *option); Int_t GetSDigitsInRun() const {return fSDigitsInRun ;} virtual void Print(const Option_t * = "") const ; @@ -44,9 +65,10 @@ public: void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; } Bool_t operator == (const AliPHOSSDigitizer & sd) const ; - AliPHOSSDigitizer & operator = (const AliPHOSSDigitizer & /*sd*/) {return *this ;} - + + private: + void Init() ; void InitParameters() ; void PrintSDigits(Option_t * option) ; @@ -54,8 +76,6 @@ private: private: - Float_t fA ; // Pedestal parameter - Float_t fB ; // Slope Digitizition parameters Float_t fPrimThreshold ; // To store primari if Elos > threshold Bool_t fDefaultInit; //! Says if the task was created by defaut ctor (only parameters are initialized) TString fEventFolderName; // event folder name @@ -64,7 +84,7 @@ private: Int_t fFirstEvent; // first event to process Int_t fLastEvent; // last event to process - ClassDef(AliPHOSSDigitizer,3) // description + ClassDef(AliPHOSSDigitizer,5) // description };