/* * File: BeamProfile.h * Author: daniel * * Created on 9. Februar 2014, 05:13 */ #ifndef BEAMPROFILE_H #define BEAMPROFILE_H #include "TBAnalysis.h" class BeamProfile: public TBAnalysis { private: std::map h_beamProfile; std::map h_beamProfileZoom; std::map h_beamProfileMasked; std::map h_chi2; std::map h_chi2Zoom; std::map h_chi2ZoomMatchedTracks; std::map h_dutHit; std::map h_angle; std::map h_angle_normalcuts; std::map h_beamProfile_noAngleCut; std::map h_TrackShift_XY; std::map h_corr_PosVsAngle_XX; std::map h_corr_PosVsAngle_XY; std::map h_corr_PosVsAngle_YX; std::map h_corr_PosVsAngle_YY; public: BeamProfile() { TBAnalysis::name = "BeamProfile"; } 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 BeamProfile; } extern "C" void destroy(TBAnalysis* tba) { delete tba; } #endif /* BEAMPROFILE_H */