]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSPreprocessor.h
Commit new class - for external track comparison
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPreprocessor.h
index 394c4ce7655289ec5bb83954956ca55f51a781db..af99c1e6f0b7fe346c2e0d0830891f07a8ff5456 100644 (file)
 
 
 #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 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);
 
-  ClassDef(AliPHOSPreprocessor,0);
+  ClassDef(AliPHOSPreprocessor,2);
 
 };