/* * TrkDOFVsDeflHistoAction.cpp * * Created on: 01/set/2009 * Author: Nicola Mori */ /*! @file TrkDOFVsDeflHistoAction.cpp The TrkDOFVsDeflHistoAction class implementation file. */ #include "TrkDOFVsDeflHistoAction.h" TrkDOFVsDeflHistoAction::TrkDOFVsDeflHistoAction(const char *actionName, TString outFileBase, TString mode, bool outRoot, bool outText, TString title) : Histo2DAction (actionName, title, outFileBase, mode, outRoot, outText) { } void TrkDOFVsDeflHistoAction::OnGood(PamLevel2 *event) { Fill(event->GetTrack(0)->GetTrkTrack()->GetDeflection(), event->GetTrack(0)->GetTrkTrack()->GetNtot() - 5); }