CbmRoot
CbmLitMath.h
Go to the documentation of this file.
1 #ifndef CBMLITMATH_H_
2 #define CBMLITMATH_H_
3 
5 
6 class CbmLitHit;
7 class CbmLitStripHit;
8 class CbmLitPixelHit;
9 class CbmLitTrack;
10 
11 namespace lit {
12 
13  /* Calculates chi square
14  * @param par Pointer to the updated or smoothed track parameter
15  * @param hit Pointer to the hit
16  * @return chi square contribution for this hit */
17  litfloat ChiSq(const CbmLitTrackParam* par, const CbmLitHit* hit);
18 
19  /* Calculates chi square for strip hits
20  * @param par Pointer to the updated or smoothed track parameter
21  * @param hit Pointer to the strip hit
22  * @return chi square contribution for this strip hit */
23  litfloat ChiSq(const CbmLitTrackParam* par, const CbmLitStripHit* hit);
24 
25  /* Calculates chi square for pixel hits
26  * @param par Pointer to the updated or smoothed track parameter
27  * @param hit Pointer to the pixel hit
28  * @return chi square contribution for this pixel hit */
29  litfloat ChiSq(const CbmLitTrackParam* par, const CbmLitPixelHit* hit);
30 
31  /* Calculates number of degrees of freedom
32  * @param track Pointer to the track */
33  int NDF(const CbmLitTrack* track);
34 
35 } // namespace lit
36 #endif /*CBMLITMATH_H_*/
CbmLitTrackParam.h
Data class for track parameters.
litfloat
double litfloat
Definition: CbmLitFloat.h:15
CbmLitTrackParam
Data class for track parameters.
Definition: CbmLitTrackParam.h:29
lit::ChiSq
litfloat ChiSq(const CbmLitTrackParam *par, const CbmLitHit *hit)
Definition: CbmLitMath.cxx:14
lit::NDF
Int_t NDF(const CbmLitTrack *track)
Definition: CbmLitMath.cxx:79
CbmLitHit
Base data class for hits.
Definition: CbmLitHit.h:26
CbmLitTrack
Base data class for track.
Definition: CbmLitTrack.h:30
CbmLitPixelHit
Base data class for pixel hits.
Definition: CbmLitPixelHit.h:22
CbmLitStripHit
Base data class for strip hits.
Definition: CbmLitStripHit.h:22
lit
Definition: LitTrackFinderNNVecElectron.h:19