/* * File: CheckAlign.h * Author: daniel * * Created on 17. Februar 2014, 19:42 */ #ifndef CHECKALIGN_H #define CHECKALIGN_H #include "TBPreprocess.h" class CheckAlign: public TBPreprocess { private: bool doCuts; std::map h_hitxVresx; std::map h_hityVresx; std::map h_hitxVresy; std::map h_hityVresy; std::map h_resX; std::map h_resY; std::vector badRuns; std::vector run; std::map > deltaX; std::map > deltaY; std::map matchX; std::map matchY; std::map scaleMatchX; std::map scaleMatchY; std::map matchXscaled; std::map matchYscaled; public: CheckAlign() { TBPreprocess::name = "CheckAlign"; } virtual void init(TBCore* core); virtual void initRun(TBCore* core); virtual void buildEvent(TBCore* core, TBEvent* event); virtual void finalizeRun(TBCore* core); virtual void finalize(TBCore* core); }; // class factories extern "C" TBPreprocess* create() { return new CheckAlign; } extern "C" void destroy(TBPreprocess* tbp) { delete tbp; } #endif /* CHECKALIGN_H */