#ifndef ALIHLTPHOSPROCESSOR_H #define ALIHLTPHOSPROCESSOR_H #include "AliHLTProcessor.h" #include "AliHLTPHOSConstants.h" #include "AliHLTPHOSCommonDefs.h" #include "TString.h" #include "AliHLTPHOSDefinitions.h" #include "Rtypes.h" #include using namespace PhosHLTConst; class AliHLTPHOSProcessor:public AliHLTProcessor { public: AliHLTPHOSProcessor(); virtual ~AliHLTPHOSProcessor(); virtual int DoInit(int argc, const char** argv) = 0; virtual int Deinit() = 0; virtual const char* GetComponentID() = 0; virtual void GetInputDataTypes( std::vector & list) =0; virtual AliHLTComponentDataType GetOutputDataType() =0; virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier) =0; virtual AliHLTComponent* Spawn() = 0; template void DumpData(T *array, int N, int nPerLine) { cout << "DumpData N= " << N < void Reset(T *array, int N) { for(int i= 0; i< N; i++) { array[i] = 0; } } protected: int fPhosEventCount; /**