fixing small memory leak
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPreprocessor.h
CommitLineData
1ab07e55 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"
450717bc 14#include "TFile.h"
1ab07e55 15
5db29457 16class TList;
17class AliPHOSEmcBadChannelsMap;
18class AliPHOSEmcCalibData;
19
1ab07e55 20class AliPHOSPreprocessor : public AliPreprocessor {
5db29457 21 public:
1ab07e55 22
23 AliPHOSPreprocessor();
81587b1e 24 AliPHOSPreprocessor(AliShuttleInterface* shuttle);
1ab07e55 25
5db29457 26 protected:
1ab07e55 27
1ab07e55 28 virtual UInt_t Process(TMap* valueSet);
eba66a50 29 Bool_t ProcessLEDRun();
9f43d7da 30 Bool_t FindBadChannelsEmc();
31 Bool_t CalibrateEmc();
450717bc 32 Float_t HG2LG(Int_t module, Int_t X, Int_t Z, TFile* f);
1ab07e55 33
5db29457 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);
d70d764a 38 Bool_t StoreReferenceEmc(Int_t system, TList* list);
6b23b304 39 Bool_t StoreReferenceLED(TList* list);
5db29457 40
6b23b304 41 ClassDef(AliPHOSPreprocessor,4);
1ab07e55 42
43};
44
45#endif