LCOV - code coverage report
Current view: top level - MUON/MUONrec - AliMUONTrackerDataSourceTypes.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 18 5.6 %
Date: 2016-06-14 17:26:59 Functions: 1 29 3.4 %

          Line data    Source code
       1             : #ifndef ALIMUONTRACKERDATASOURCETYPES_H
       2             : #define ALIMUONTRACKERDATASOURCETYPES_H
       3             : 
       4             : #ifndef ROOT_TObject
       5             : #  include "TObject.h"
       6             : #endif
       7             : 
       8             : /// \ingroup graphics
       9             : /// \class AliMUONTrackerDataSourceTypes
      10             : /// \brief Short names and aliases for data source types recognized by AliMUONTrackerData related classes.
      11             : ///
      12             : /// \author Laurent Aphecetche <laurent.aphecetche@cern.ch>, Subatech
      13             : ///
      14             : 
      15           0 : class AliMUONTrackerDataSourceTypes : public TObject
      16             : {
      17             : public:
      18             : 
      19           0 :   static const char* ShortNameForConfig() { return "CONF"; }
      20           0 :   static const char* AliasesForConfig() { return "CONF CONFIG Configuration"; }
      21             : 
      22           0 :   static const char* ShortNameForHV() { return "HV"; }
      23           0 :   static const char* AliasesForHV() { return "HV"; }
      24             : 
      25           0 :   static const char* ShortNameForLV() { return "LV"; }
      26           0 :   static const char* AliasesForLV() { return "LV"; }
      27             : 
      28           0 :   static const char* ShortNameForOccupancy() { return "OCC"; }
      29           0 :   static const char* AliasesForOccupancy() { return "OCC Occupancy"; }
      30             : 
      31           0 :   static const char* ShortNameForPedestals() { return "PED"; }
      32           0 :   static const char* AliasesForPedestals() { return "PED PEDESTAL Pedestals"; }
      33             : 
      34           0 :   static const char* ShortNameForRejectList() { return "RL"; }
      35           0 :   static const char* AliasesForRejectList() { return "RL RejectList"; }
      36             : 
      37           0 :   static const char* ShortNameForStatus() { return "STAT"; }
      38           0 :   static const char* AliasesForStatus() { return "STAT Status"; }
      39             : 
      40           0 :   static const char* ShortNameForStatusMap() { return "STATMAP"; }
      41           0 :   static const char* AliasesForStatusMap() { return "STATMAP StatusMap"; }
      42             : 
      43             :   static Bool_t IsConfig(const char* type);
      44             :   static Bool_t IsHV(const char* type);
      45             :   static Bool_t IsLV(const char* type);
      46             :   static Bool_t IsOccupancy(const char* type);
      47             :   static Bool_t IsPedestals(const char* type);
      48             :   static Bool_t IsRejectList(const char* type);
      49             :   static Bool_t IsStatus(const char* type);
      50             :   static Bool_t IsStatusMap(const char* type);
      51             : 
      52             : private:
      53             : 
      54             :   static Bool_t IsInAliasList(const char* type, const char* aliases);
      55             : 
      56             :   /// \cond CLASSIMP
      57          18 :   ClassDef(AliMUONTrackerDataSourceTypes,0);
      58             :   /// \endcond
      59             : };
      60             : 
      61             : #endif

Generated by: LCOV version 1.11