LCOV - code coverage report
Current view: top level - ITSMFT/MFT/MFTrec - AliMuonForwardTrack.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 19 5.3 %
Date: 2016-06-14 17:26:59 Functions: 1 9 11.1 %

          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             : //      Description of an ALICE muon forward track, combining the information of the Muon Spectrometer and the Muon Forward Tracker
      19             : //
      20             : //      Contact author: antonio.uras@cern.ch
      21             : //
      22             : //====================================================================================================================================================
      23             : 
      24             : #include "AliMUONTrackParam.h"
      25             : #include "AliMUONRawCluster.h"
      26             : #include "AliMuonForwardTrack.h"
      27             : 
      28          12 : ClassImp(AliMuonForwardTrack)
      29             : 
      30             : //====================================================================================================================================================
      31             : 
      32             : AliMuonForwardTrack::AliMuonForwardTrack():
      33           0 : AliMUONTrack()
      34           0 : {
      35             : 
      36             :   // default constructor
      37             :   
      38           0 : }
      39             : 
      40             : //====================================================================================================================================================
      41             : 
      42             : AliMuonForwardTrack::AliMuonForwardTrack(AliMUONTrack& muonTrack):
      43           0 : AliMUONTrack(muonTrack)
      44           0 : {
      45             : 
      46           0 :   fTrackMCId = -1;
      47             : 
      48           0 : }
      49             : 
      50             : //====================================================================================================================================================
      51             : 
      52             : AliMuonForwardTrack::AliMuonForwardTrack(const AliMuonForwardTrack& track): 
      53           0 : AliMUONTrack(track),
      54           0 : fTrackMCId(track.fTrackMCId)
      55           0 : {
      56             : 
      57             :   // copy constructor
      58             : 
      59           0 : }
      60             : 
      61             : 
      62             : //====================================================================================================================================================
      63             : 
      64             : AliMuonForwardTrack& AliMuonForwardTrack::operator=(const AliMuonForwardTrack& track) 
      65             : {
      66             : 
      67             :   // assignment operator
      68             : 
      69             :   // check assignement to self
      70           0 :   if (this == &track) return *this;
      71             : 
      72             :   // base class assignement
      73           0 :   AliMUONTrack::operator=(track);
      74             : 
      75           0 :   fTrackMCId = track.fTrackMCId;
      76             :   
      77           0 : }
      78             : 
      79             : //====================================================================================================================================================
      80             : 
      81             : void AliMuonForwardTrack::AddTrackParamAtMFTCluster(AliMUONTrackParam &trackParam, AliMUONVCluster &muonCluster, const Int_t mftid) {
      82             : 
      83           0 :   trackParam.SetUniqueID(5000000+mftid); 
      84           0 :   AddTrackParamAtCluster(trackParam, muonCluster, kTRUE);
      85             : 
      86           0 : }
      87             : 

Generated by: LCOV version 1.11