X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSPreprocessor.h;h=027b8216676f9103578359bb31630fc0fb49de90;hb=86a04b66654e7cd685ac6f2ab7e57defcaf33bfa;hp=1a6f1f1d19ba5df9690eec015d7a5f06ffa6dfbe;hpb=1ab07e55b70712346ee9d8471c56c8f23878e177;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSPreprocessor.h b/PHOS/AliPHOSPreprocessor.h index 1a6f1f1d19b..027b8216676 100644 --- a/PHOS/AliPHOSPreprocessor.h +++ b/PHOS/AliPHOSPreprocessor.h @@ -11,19 +11,34 @@ #include "AliPreprocessor.h" +#include "TFile.h" + +class TList; +class AliPHOSEmcBadChannelsMap; +class AliPHOSEmcCalibData; class AliPHOSPreprocessor : public AliPreprocessor { -public: + public: AliPHOSPreprocessor(); - AliPHOSPreprocessor(const char* detector, AliShuttleInterface* shuttle); + AliPHOSPreprocessor(AliShuttleInterface* shuttle); -protected: + protected: - virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); virtual UInt_t Process(TMap* valueSet); + Bool_t ProcessLEDRun(); + Bool_t FindBadChannelsEmc(); + Bool_t CalibrateEmc(); + Float_t HG2LG(Int_t module, Int_t X, Int_t Z, TFile* f); + + private: + + Bool_t DoCalibrateEmc(Int_t system, TList* sources, const AliPHOSEmcBadChannelsMap* badMap, AliPHOSEmcCalibData& calibData); + Bool_t DoFindBadChannelsEmc(Int_t system, TList* sources, AliPHOSEmcBadChannelsMap& badMap); + Bool_t StoreReferenceEmc(Int_t system, TList* list); + Bool_t StoreReferenceLED(TList* list); - ClassDef(AliPHOSPreprocessor,0); + ClassDef(AliPHOSPreprocessor,4); };