LCOV - code coverage report
Current view: top level - ITS/ITSbase - AliITSclusterTable.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 12 22 54.5 %
Date: 2016-06-14 17:26:59 Functions: 3 5 60.0 %

          Line data    Source code
       1             : /**************************************************************************
       2             :  * Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
       3             :  *                                                                        *
       4             :  * Author: The ALICE Off-line Project.                                    *
       5             :  * Contributors are mentioned in the code where appropriate.              *
       6             :  *                                                                        *
       7             :  * Permission to use, copy, modify and distribute this software and its   *
       8             :  * documentation strictly for non-commercial purposes is hereby granted   *
       9             :  * without fee, provided that the above copyright notice appears in all   *
      10             :  * copies and that both the copyright notice and this permission notice   *
      11             :  * appear in the supporting documentation. The authors make no claims     *
      12             :  * about the suitability of this software for any purpose. It is          *
      13             :  * provided "as is" without express or implied warranty.                  *
      14             :  **************************************************************************/
      15             : 
      16             : //////////////////////////////////////////////////////////////////////////
      17             : // Class used to simplify some operations with clusters.                 //
      18             : // -Function FillArray fills an array wich contains, for each            //
      19             : //  ITS module, an array with the indices of all the clusters detected   //
      20             : //  by the module. The indices correspond to the cluster indices in class// 
      21             : //  AliITSlayer of AliITStrackerV2.                                      //
      22             : //  This function is used in AliITStrackerSA::FindTracks.                // 
      23             : // -Function FillArrayLabel fills an array wich contains, for each       //
      24             : //  particle label, and for each layer, the information on clusters:     //
      25             : //  0 if there is no cluster, 1 if there is a cluster with this label.   //
      26             : //  This function is used to define trackable tracks.                    //
      27             : // -Function FillArrayCoorAngles fills arrays wich contains, for each    //
      28             : //  layer, the global coordinates, errors on x,y,z and angles lambda     //
      29             : //  and phi for each cluster                                             //
      30             : ///////////////////////////////////////////////////////////////////////////
      31             : 
      32             : 
      33             : #include <stdlib.h>
      34             : #include "AliITSclusterTable.h"
      35         118 : ClassImp(AliITSclusterTable)
      36             : 
      37             : //_______________________________________________________________
      38           0 : AliITSclusterTable::AliITSclusterTable():TObject(),
      39           0 : fX(0),
      40           0 : fY(0),
      41           0 : fZ(0),
      42           0 : fSx(0),
      43           0 : fSy(0),
      44           0 : fSz(0),
      45           0 : fPhi(0),
      46           0 : fLam(0){
      47             :   //Default constructor
      48             : 
      49           0 : }
      50             : //_______________________________________________________________
      51         248 : AliITSclusterTable::AliITSclusterTable(Double_t x, Double_t y, Double_t z, Double_t sx, Double_t sy, Double_t sz, Double_t phi, Double_t lambda, Int_t index):
      52         248 : fX(x),
      53         248 : fY(y),
      54         248 : fZ(z),
      55         248 : fSx(sx),
      56         248 : fSy(sy),
      57         248 : fSz(sz),
      58         248 : fPhi(phi),
      59        1488 : fLam(lambda){
      60             :   //Default constructor
      61         248 :   SetUniqueID(index);
      62         496 : }
      63             : 
      64             : 

Generated by: LCOV version 1.11