/* * File: ClusterChecker.h * Author: daniel * * Created on 15. Februar 2014, 15:22 */ #ifndef CLUSTERCHECKER_H #define CLUSTERCHECKER_H #include "TBAnalysis.h" class ClusterChecker: public TBAnalysis { private: std::map h_clusterMult; std::map h_nHits; std::map h_matchClusterSize; std::map h_matchClusterSizeX; std::map h_matchClusterSizeY; std::map h_unmatchClusterSize; std::map h_matchClusterLvl1; std::map h_matchClusterLvl1Map; std::map h_matchClusterToTCenterMap; public: ClusterChecker() { TBAnalysis::name = "ClusterChecker"; } virtual void init(const TBCore* core); virtual void event(const TBCore* core, const TBEvent* event); virtual void finalize(const TBCore* core); }; // class factories extern "C" TBAnalysis* create() { return new ClusterChecker; } extern "C" void destroy(TBAnalysis* tba) { delete tba; } #endif /* CLUSTERCHECKER_H */