| 1 |
This class is done to fit an axis throught the calorimeter hit. |
| 2 |
It has to be applied to the x and y view independently. |
| 3 |
The axis fitting routine is optimized for two purpose: to fit non interacting patterns and to fit interacting patterns. |
| 4 |
|
| 5 |
|
| 6 |
USAGE: |
| 7 |
|
| 8 |
|
| 9 |
float toll = 0.8; tolerance around the track |
| 10 |
|
| 11 |
CaloAxis *cax = new CaloAxis(); |
| 12 |
cax->FitShower(event->GetCaloLevel1(), 0, toll); // non int. |
| 13 |
cax->FitAxis(event->GetCaloLevel1(), 0, toll); // int. |
| 14 |
|
| 15 |
CaloAxis *cay = new CaloAxis(); |
| 16 |
cay->FitShower(event->GetCaloLevel1(), 1, toll); // non int. |
| 17 |
cay->FitAxis(event->GetCaloLevel1(), 1, toll); // non int. |