LCOV - code coverage report
Current view: top level - ITS/ITSbase - AliITSMap.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 3 3 100.0 %
Date: 2016-06-14 17:26:59 Functions: 3 11 27.3 %

          Line data    Source code
       1             : #ifndef ALIITSMAP_H
       2             : #define ALIITSMAP_H
       3             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice     */
       5             : /* $Id$ */
       6             : ////////////////////////////////////////////////
       7             : //  Map Class for ITS.                        //
       8             : ////////////////////////////////////////////////
       9             : 
      10             : #include <TObject.h>
      11             : #include <TArrayI.h>
      12             : typedef enum {kEmptyITS, kUsedITS, kUnusedITS} FlagTypeITS;
      13             : 
      14             : //___________________________________________________________________________
      15             : 
      16          12 : class AliITSMap : public TObject {
      17             : 
      18             :  public:
      19          12 :     virtual ~AliITSMap() {}
      20             :     // Fill hits from list of digits into hit map
      21             :     virtual  void  FillMap()                                       =0;
      22             :     virtual  void  FillMap2()                                      =0;
      23             :     // Clear the map
      24             :     virtual  void  ClearMap()                                      =0;
      25             :     // Set a single hit
      26             :     virtual  void  SetHit(Int_t iz, Int_t ix, Int_t idigit)        =0;
      27             :     // Set threshold for the signal
      28             :     virtual  void  SetThreshold(Int_t)                             =0;
      29             :     virtual  void  SetThresholdArr(TArrayI)                        =0;
      30             :     // Delete a single hit
      31             :     virtual  void  DeleteHit(Int_t iz, Int_t ix)                   =0;
      32             :     // Flag a hit as used
      33             :     virtual  void  FlagHit(Int_t iz, Int_t ix)                     =0;    
      34             :     // Get index of hit in the list of digits
      35             :     virtual Int_t  GetHitIndex(Int_t iz, Int_t ix) const           =0;
      36             :     // Get pointer to digit
      37             :     virtual TObject * GetHit(Int_t iz, Int_t ix) const             =0;
      38             :     // Test hit status
      39             :     virtual FlagTypeITS TestHit(Int_t iz, Int_t ix)                =0;
      40             :     // Get signal from map
      41             :     virtual Double_t  GetSignal(Int_t iz, Int_t ix) const          =0;
      42             : 
      43         118 :     ClassDef(AliITSMap,1) //virtual base class for ITS Hit/Digit Map
      44             : 
      45             : };
      46             : 
      47             : #endif  
      48             : 
      49             : 
      50             : 
      51             : 

Generated by: LCOV version 1.11