| 1 |
/* |
| 2 |
* EffRigCollection.cpp |
| 3 |
* |
| 4 |
* Created on: 10/ago/2009 |
| 5 |
* Author: Nicola Mori |
| 6 |
*/ |
| 7 |
|
| 8 |
/*! @file EffRigCollection.cpp The EffRigCollection class implementation file. */ |
| 9 |
|
| 10 |
#include "EffRigCollection.h" |
| 11 |
|
| 12 |
EffRigCollection::EffRigCollection(const char *collectionName, TString outFileBase, TString rigBinsFile, int errMethod, |
| 13 |
bool owns) : |
| 14 |
BinnedEffCollection(collectionName, outFileBase, rigBinsFile, errMethod, owns) { |
| 15 |
} |
| 16 |
|
| 17 |
float EffRigCollection::GetBinValue(PamLevel2 *event) { |
| 18 |
|
| 19 |
return 1. / event->GetTrack(0)->GetTrkTrack()->GetDeflection(); |
| 20 |
} |