LCOV - code coverage report
Current view: top level - AD/ADsim - AliADhit.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 40 2.5 %
Date: 2016-06-14 17:26:59 Functions: 1 8 12.5 %

          Line data    Source code
       1             : /**************************************************************************
       2             :  * Copyright(c) 1998-1999, 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             : /* $Id: AliADhit.cxx  $ */
      17             : 
      18             : //_________________________________________________________________________
      19             : //
      20             : //      Hit class for AD detector   
      21             : //  
      22             : //_________________________________________________________________________
      23             : 
      24             : 
      25             : #include "AliADhit.h"
      26             : 
      27          12 : ClassImp(AliADhit)
      28             : 
      29             : //_____________________________________________________________________________
      30             : AliADhit::AliADhit()
      31           0 :   : AliHit(), 
      32           0 :   fModule(0),
      33           0 :   fEk(0.),
      34           0 :   fPt(0.),
      35           0 :   fPx(0.),
      36           0 :   fPy(0.),
      37           0 :   fPz(0.),
      38           0 :   fTof(0.),
      39           0 :   fTleng(0.),
      40           0 :   fEloss(0.),
      41           0 :   fNphot(0),
      42           0 :   fCell(0),
      43           0 :   fPrimary(0),
      44           0 :   fPDG(0),
      45           0 :   fPDGMother(0)
      46           0 : {
      47             :    // Default constructor
      48           0 : }
      49             : 
      50             : //_____________________________________________________________________________
      51             : AliADhit::AliADhit(Int_t shunt, Int_t track, Int_t* vol, Float_t* hits)
      52           0 :   : AliHit(shunt, track),
      53           0 :   fModule(vol[4]),
      54           0 :   fEk(hits[3]),
      55           0 :   fPt(hits[4]),
      56           0 :   fPx(hits[5]),
      57           0 :   fPy(hits[6]),
      58           0 :   fPz(hits[7]),
      59           0 :   fTof(hits[8]),
      60           0 :   fTleng(hits[9]),
      61           0 :   fEloss(hits[10]),
      62           0 :   fNphot(vol[3]),
      63           0 :   fCell(vol[4]),         
      64           0 :   fPrimary(vol[0]),
      65           0 :   fPDG(vol[1]),
      66           0 :   fPDGMother(vol[2])
      67           0 : {
      68             :    // Constructor
      69           0 :    fX           = hits[0];      // X position of hit
      70           0 :    fY           = hits[1];      // Y position of hit
      71           0 :    fZ           = hits[2];      // Z position of hit   
      72           0 : }
      73             : //_____________________________________________________________________________
      74             : AliADhit::~AliADhit()
      75           0 : {
      76             :   //
      77             :   // Default destructor.
      78             :   //
      79           0 : }
      80             : 
      81             : 

Generated by: LCOV version 1.11