#include <CalClustersAlg.h>
Inheritance diagram for CalClustersAlg:

Public Methods | |
| CalClustersAlg (const std::string& name, ISvcLocator* pSvcLocator) | |
| constructor. More... | |
| virtual | ~CalClustersAlg () |
| destructor. More... | |
| StatusCode | initialize () |
| StatusCode | execute () |
| StatusCode | finalize () |
| double | Leak (double sum,double elast) |
| Leakage corrections with last layer. More... | |
| void | Profile (double sum, CsICluster* cl) |
| Leakage corrections with profile fitting. More... | |
| Vector | Fit_Direction (std::vector<Vector> pos,std::vector<Vector> sigma2,int nlayers) |
| Direction reconstruction. More... | |
Protected Methods | |
| StatusCode | retrieve () |
Private Attributes | |
| ICalGeometrySvc* | m_CalGeo |
| CalRecLogs* | m_CalRecLogs |
| the log list, the input of the reconstruction. More... | |
| CsIClusterList* | m_CsIClusterList |
| the clusters list, the output of the reconstruction. More... | |
| Midnight* | minuit |
| the minimizer for Profile(). More... | |
| int | m_callNumber |
The reconstruction here uses CalRecLogs to produce a CsIClusterList. It evaluates the barycenter for each layer using the coordinates stored in the CalRecLogs, and tries to correct for energy leakage using two different methods:
For a comparison one can see on the following plots the results of this method on R138 data and a MC run of 20 GeV positrons
Definition at line 56 of file CalClustersAlg.h.
|
|
constructor.
Definition at line 427 of file CalClustersAlg.cpp. |
|
|
destructor.
Definition at line 64 of file CalClustersAlg.h. |
|
|
Direction reconstruction. Basic algorithm for now, since we need to have knowledge on longitudinal errors Simply reconstruct direction on both sides XZ and YZ Definition at line 337 of file CalClustersAlg.cpp. |
|
|
Leakage corrections with last layer. The second method uses the correlation between the escaping energy and the energy deposited in the last layer of the calorimeter. Indeed, the last layer carries the most important information concerning the leaking energy: the total number of particles escaping through the back should be nearly proportional to the energy deposited in the last layer. The measured signal in that layer can therefore be modified to account for the leaking energy. We used the Monte Carlo simulation of the GLAST beam test configuration to deter mine this correlation at several energies, from 2 GeV up to 40 GeV. For one par ticular incident energy, the bidimensionnal distribution of the energy escaping and the energy deposited in the last layer can be fitted by a simple linear function:
The
To improve the result, one can iterate using the new estimator to determine the correct values of
Definition at line 134 of file CalClustersAlg.cpp. |
|
|
Leakage corrections with profile fitting. It performs a longitudinal profile fitting using the incomplete gamma function ( gamma.cxx). The mean energy density per length unit is taken as:
Thus integrated on the i th Xtal pathlength it gives
the 2 shower parameters here alpha and lambda describes the maximum position and and the exponential decrease of the profile. Those parameters have been estimated using a MC and their dependance over E has been fitted by a power law. They are log-normally distributed with a very broad distribution ( hence some of the shower fluctuations ). Therefore they should not be included in the fitting process. Here we use 4 parameters: total energy starting point alpha lambda They can be fixed or released in Profile() The input is:
Definition at line 198 of file CalClustersAlg.cpp. |
|
|
Performs the reconstruction.
Definition at line 513 of file CalClustersAlg.cpp. |
|
|
Finalization of algorithm
Definition at line 698 of file CalClustersAlg.cpp. |
|
|
Definition at line 436 of file CalClustersAlg.cpp. |
|
|
Definition at line 469 of file CalClustersAlg.cpp. |
|
|
Definition at line 84 of file CalClustersAlg.h. |
|
|
the log list, the input of the reconstruction.
Definition at line 86 of file CalClustersAlg.h. |
|
|
the clusters list, the output of the reconstruction.
Definition at line 88 of file CalClustersAlg.h. |
|
|
Definition at line 91 of file CalClustersAlg.h. |
|
|
the minimizer for Profile().
Definition at line 90 of file CalClustersAlg.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000