LCOV - code coverage report
Current view: top level - ITSMFT/MFT/MFTsim - AliMFTHit.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 13 7.7 %
Date: 2016-06-14 17:26:59 Functions: 1 4 25.0 %

          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             : //====================================================================================================================================================
      17             : //
      18             : //      Hit description for the ALICE Muon Forward Tracker
      19             : //
      20             : //      Contact author: antonio.uras@cern.ch
      21             : //
      22             : //====================================================================================================================================================
      23             : 
      24             : #include "TLorentzVector.h"
      25             : #include "TParticle.h"
      26             : #include "AliHit.h"
      27             : #include "AliRun.h"
      28             : #include "AliMC.h"
      29             : 
      30             : #include "AliMFTHit.h"
      31             : 
      32          12 : ClassImp(AliMFTHit)
      33             : 
      34             : //====================================================================================================================================================
      35             : 
      36             : AliMFTHit::AliMFTHit():
      37           0 :   AliHit(),
      38           0 :   fStatus(0),
      39           0 :   fPlane(-1),
      40           0 :   fDetElemID(-1),
      41           0 :   fPx(0),
      42           0 :   fPy(0),
      43           0 :   fPz(0),
      44           0 :   fEloss(0),
      45           0 :   fTOF(0) 
      46           0 : {
      47             : 
      48             :   // default constructor 
      49             : 
      50           0 : }
      51             : 
      52             : //====================================================================================================================================================
      53             : 
      54             : TParticle* AliMFTHit::GetParticle() const {
      55             : 
      56             :     //   The TParticle of the track that created this hit.
      57             : 
      58           0 :     return gAlice->GetMCApp()->Particle(GetTrack());
      59             : 
      60             : }
      61             : 
      62             : //====================================================================================================================================================

Generated by: LCOV version 1.11