| 1 |
/* |
| 2 |
* SVCVsLHistoAction.cpp |
| 3 |
* |
| 4 |
* Created on: 14/jan/2010 |
| 5 |
* Author: S. Ricciarini |
| 6 |
*/ |
| 7 |
|
| 8 |
/*! @file SVCVsLHistoAction.cpp The SVCVsLHistoAction class implementation file. */ |
| 9 |
|
| 10 |
#include "SVCVsLHistoAction.h" |
| 11 |
|
| 12 |
SVCVsLHistoAction::SVCVsLHistoAction(const char *actionName, TString outFileBase, TString mode, |
| 13 |
bool outRoot, bool outText, TString title) : |
| 14 |
Histo2DAction<Float_t> (actionName, title, outFileBase, mode, outRoot, outText) { |
| 15 |
|
| 16 |
SetXAxis("L ",5000,0,100); |
| 17 |
SetYAxis("SVC ",5000,0,100); |
| 18 |
|
| 19 |
} |
| 20 |
|
| 21 |
void SVCVsLHistoAction::OnGood(PamLevel2 *event) { |
| 22 |
|
| 23 |
Fill(event->GetOrbitalInfo()->L, |
| 24 |
event->GetOrbitalInfo()->GetCutoffSVL()); |
| 25 |
|
| 26 |
} |