]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/MUONResoEffChamber.C
Revision of macros documentation
[u/mrichter/AliRoot.git] / MUON / MUONResoEffChamber.C
index de2362631c427b0282cf197a43b841390133f33d..6e0c37b305d4b80b9b6f27fa5bfcf4a76d8c66b5 100644 (file)
 
 /* $Id$ */
 
-//Macro to calculate the resolution and the efficiency of chamber(s) chosen in function
-//of Phi (angle on the chamber between the X axis and the straight line created by the
-//center of the chamber and the impact of particles on this chamber, the azimuthal angle)
-//and Theta (the polar angle), or in function of ThetaI (angle of incidence of particles
-//on the chamber)
-
-
+/// \ingroup macros
+/// \file MUONResoEffChamber.C
+/// \brief Macro to calculate the resolution and the efficiency of chamber(s)
+///
+/// Macro to calculate the resolution and the efficiency of chamber(s) chosen in function
+/// of Phi (angle on the chamber between the X axis and the straight line created by the
+/// center of the chamber and the impact of particles on this chamber, the azimuthal angle)
+/// and Theta (the polar angle), or in function of ThetaI (angle of incidence of particles
+/// on the chamber)
+///
+/// \author Nicolas Le Bris, Subatech
 
 #if !defined(__CINT__) || defined(__MAKECINT__)
 
@@ -277,7 +281,7 @@ void efficiencyThetaPhi( Int_t event2Check=0, char * filename="galice.root" )
       for ( iTrack = 0; iTrack < nTracks; ++iTrack )
       {
        track       = (AliMUONTrack*) tracks ->At(iTrack)          ;
-       trackParams =                 track  ->GetTrackParamAtHit();
+       trackParams =                 track  ->GetTrackParamAtCluster();
        hits        =                 track  ->GetHitForRecAtHit() ;
        chamber     = firstChamber-1;
        oldChamber  = -1;
@@ -542,7 +546,7 @@ void efficiencyThetaI( Int_t event2Check=0, char * filename="galice.root" )
       for ( iTrack = 0; iTrack < nTracks; ++iTrack )
       { 
        track       = (AliMUONTrack*) tracks ->At(iTrack)          ;
-       trackParams =                 track  ->GetTrackParamAtHit();
+       trackParams =                 track  ->GetTrackParamAtCluster();
        hits        =                 track  ->GetHitForRecAtHit() ;
        chamber     = firstChamber - 1;
        oldChamber  = -1;
@@ -765,7 +769,7 @@ void resolution( Int_t event2Check=0, char * filename="galice.root" )
       for ( iTrack = 0; iTrack < nTracks; ++iTrack )
       {
        track       = (AliMUONTrack*) tracks ->At(iTrack)          ;
-       trackParams =                 track  ->GetTrackParamAtHit();
+       trackParams =                 track  ->GetTrackParamAtCluster();
        hits        =                 track  ->GetHitForRecAtHit() ;
        
        //Loop on hits
@@ -921,7 +925,7 @@ void resolutionPhi( Int_t event2Check=0, char * filename="galice.root" )
       for ( iTrack = 0; iTrack < nTracks; ++iTrack )
       {
        track       = (AliMUONTrack*) tracks ->At(iTrack)          ;
-       trackParams =                 track  ->GetTrackParamAtHit();
+       trackParams =                 track  ->GetTrackParamAtCluster();
        hits        =                 track  ->GetHitForRecAtHit() ;
        
        //Loop on hits
@@ -1128,7 +1132,7 @@ void resolutionTheta( Int_t event2Check=0, char * filename="galice.root" )
       for ( iTrack = 0; iTrack < nTracks; ++iTrack )
       { 
        track       = (AliMUONTrack*) tracks ->At(iTrack)          ;
-       trackParams =                 track  ->GetTrackParamAtHit();
+       trackParams =                 track  ->GetTrackParamAtCluster();
        hits        =                 track  ->GetHitForRecAtHit() ;
        
        //Loop on hits
@@ -1339,7 +1343,7 @@ void resolutionThetaI( Int_t event2Check=0, char * filename="galice.root" )
       for ( iTrack = 0; iTrack < nTracks; ++iTrack )
       {
        track       = (AliMUONTrack*) tracks ->At(iTrack)          ;
-       trackParams =                 track  ->GetTrackParamAtHit();
+       trackParams =                 track  ->GetTrackParamAtCluster();
        hits        =                 track  ->GetHitForRecAtHit() ;
        
        //Loop on hits