LCOV - code coverage report
Current view: top level - MUON/MUONmapping - AliMpStationType.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 4 7 57.1 %
Date: 2016-06-14 17:26:59 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       2             :  * See cxx source for full Copyright notice                               */
       3             : 
       4             : // $Id$
       5             : // $MpId: AliMpStationType.h,v 1.9 2006/05/24 13:58:07 ivana Exp $
       6             : 
       7             : //-----------------------------------------------------------------------------
       8             : // \enum AliMpStationType
       9             : // Enumeration for refering to a MUON station
      10             : //
      11             : // Author: David Guez, Ivana Hrivnacova; IPN Orsay
      12             : //-----------------------------------------------------------------------------
      13             :  
      14             : #include "AliMpStationType.h"
      15             : 
      16             : #include "AliLog.h" 
      17             : 
      18             : //_____________________________________________________________________________
      19             : TString AliMp::StationTypeName(AliMp::StationType stationType)
      20             : {
      21             : /// Return the station name for given station type
      22             : 
      23      201936 :   switch ( stationType ) {
      24       42912 :     case kStation12:      return "st12";    break;
      25       58056 :     case kStation345:     return "slat";    break;
      26           0 :     case kStationTrigger: return "trigger"; break;
      27             :   }
      28             :   
      29             :   // Cannot reach this line
      30           0 :   AliFatalGeneral("AliMpStationType.h", "Unknown station type"); 
      31           0 :   return "invalidStation";
      32      100968 : }

Generated by: LCOV version 1.11