1 |
pam-fi |
1.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 |
pam-fi |
1.7 |
EffRigCollection::EffRigCollection(const char *collectionName, TString outFileBase, TString rigBinsFile, int errMethod, |
13 |
|
|
bool owns) : |
14 |
pam-fi |
1.9 |
BinnedEffCollection(collectionName, outFileBase, rigBinsFile, errMethod, owns) { |
15 |
pam-fi |
1.1 |
} |
16 |
|
|
|
17 |
pam-fi |
1.9 |
float EffRigCollection::GetBinValue(PamLevel2 *event) { |
18 |
pam-fi |
1.1 |
|
19 |
pam-fi |
1.9 |
return 1. / event->GetTrack(0)->GetTrkTrack()->GetDeflection(); |
20 |
pam-fi |
1.1 |
} |