/* * File: SumToT.h * Author: daniel * * Created on 24. Februar 2014, 19:37 */ #ifndef SUMTOT_H #define SUMTOT_H #include "TBAnalysis.h" class SumToT: public TBAnalysis { private: std::map h_fullChipTot; std::map h_fullChipQ; std::map h_maxClusterTot; std::map h_maxClusterQ; std::map h_maxCellTot; std::map h_maxCellQ; std::map h_matchClusterTot; std::map h_matchClusterQ; std::map h_matchClusterQ_1; std::map h_matchClusterQ_2; std::map h_matchClusterQ_3; std::map h_matchClusterQ_4; std::map h_matchClusterQ_5plus; std::map h_clusterq_no_bg; std::map h_matchClusterTotMap; std::map h_matchClusterQMap; std::map > h_elecMap; std::map > h_elecMapTot; std::map > h_elecDist; std::map > h_elecDistTot; //std::map h_mapElec2; bool doCharge; void ElecDistToT(const TBCore* core, const char* histoTitle, const char* histoName, TH2D* elecDistTot); public: SumToT() { TBAnalysis::name= "SumToT"; } 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 SumToT; } extern "C" void destroy(TBAnalysis* tba) { delete tba; } #endif //SUMTOT_H