/* * CaloDedxVsBetaHistoAction.cpp * * Created on: 11/set/2009 * Author: Nicola Mori */ /*! @file CaloDedxVsBetaHistoAction.cpp The CaloDedxVsBetaHistoAction class implementation file. */ #include "CaloDedxVsBetaHistoAction.h" CaloDedxVsBetaHistoAction::CaloDedxVsBetaHistoAction(const char *actionName, unsigned int plane, unsigned int view, TString outFileBase, TString mode, bool outRoot, bool outText, TString title) : Histo2DAction (actionName, title, outFileBase, mode, outRoot, outText), _plane(plane), _view(view) { } void CaloDedxVsBetaHistoAction::OnGood(PamLevel2 *event) { //Fill(event->GetTrack(0)->GetToFTrack()->beta[12], event->GetCaloLevel1()->qtotpl(_view, _plane)); Fill(event->GetTrack(0)->GetToFTrack()->beta[12], event->GetCaloLevel2()->qtot); }