/* * File: HotPixelFinder.h * Author: daniel * * Created on 28. Januar 2014, 11:05 */ #ifndef HOTPIXELFINDER_H #define HOTPIXELFINDER_H #include "TBPreprocess.h" class HotPixelFinder: public TBPreprocess { private: // one histogram for each dut std::map h_rawhitmap; std::map h_hitmap; std::map h_masked; std::map h_outOfTime; std::map h_lv1; std::map h_noiseOccupancy; std::map h_allMask; std::map eventCount; std::map lv1Min; std::map lv1Max; std::map maxOutOfTime; void checkDead(DUT* dut); void checkNoise(DUT* dut); void getAllMask(DUT* dut); public: HotPixelFinder() { TBPreprocess::name = "HotPixelFinder"; } virtual void init(TBCore* core); virtual void buildEvent(TBCore* core, TBEvent* event); virtual void finalize(TBCore* core); }; // class factories extern "C" TBPreprocess* create() { return new HotPixelFinder; } extern "C" void destroy(TBPreprocess* tbp) { delete tbp; } #endif /* HOTPIXELFINDER_H */