Reducing the search window used to find the max in the ADC samples. Needed because...
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPreprocessor.h
1 #ifndef ALIPHOSPREPROCESSOR_H
2 #define ALIPHOSPREPROCESSOR_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 // Class AliPHOSPreprocessor
10 ///////////////////////////////////////////////////////////////////////////////
11
12
13 #include "AliPreprocessor.h"
14 #include "TFile.h"
15
16 class TList;
17 class AliPHOSEmcBadChannelsMap;
18 class AliPHOSEmcCalibData;
19
20 class AliPHOSPreprocessor : public AliPreprocessor {
21  public:
22
23   AliPHOSPreprocessor();
24   AliPHOSPreprocessor(AliShuttleInterface* shuttle);
25
26  protected:
27
28   virtual UInt_t Process(TMap* valueSet);
29   Bool_t ProcessLEDRun();
30   Bool_t FindBadChannelsEmc();
31   Bool_t CalibrateEmc();
32   Float_t HG2LG(Int_t module, Int_t X, Int_t Z, TFile* f);
33
34  private:
35
36   Bool_t DoCalibrateEmc(Int_t system, TList* sources, const AliPHOSEmcBadChannelsMap* badMap, AliPHOSEmcCalibData& calibData);
37   Bool_t DoFindBadChannelsEmc(Int_t system, TList* sources, AliPHOSEmcBadChannelsMap& badMap);
38   Bool_t StoreReferenceEmc(Int_t system, TList* list);
39   Bool_t StoreReferenceLED(TList* list);
40
41   ClassDef(AliPHOSPreprocessor,4);
42
43 };
44
45 #endif