LCOV - code coverage report
Current view: top level - ITS/ITSrec - AliITSOnlineSPDHitEvent.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 3 33.3 %
Date: 2016-06-14 17:26:59 Functions: 1 11 9.1 %

          Line data    Source code
       1             : #ifndef ALI_ITS_ONLINESPDHITEVENT_H
       2             : #define ALI_ITS_ONLINESPDHITEVENT_H
       3             : 
       4             : /////////////////////////////////////////////////////////////////
       5             : // Author: Henrik Tydesjo                                      //
       6             : // This class is used as a container online.                   //
       7             : // One object for each half stave and step in a scan. It keeps //
       8             : // the nr of events with at least one pixel hit in each chip.  //
       9             : // It also keeps the value for the all the 10 chips together.  //
      10             : // This class should only be used through the interface of the //
      11             : // AliITSOnlineSPDscan class.                                  //
      12             : /////////////////////////////////////////////////////////////////
      13             : 
      14             : #include <TObject.h>
      15             : 
      16           0 : class AliITSOnlineSPDHitEvent : public TObject {
      17             : 
      18             :  public:
      19             :   AliITSOnlineSPDHitEvent();
      20           0 :   virtual ~AliITSOnlineSPDHitEvent(){}
      21             :   void   IncrementHitEvent(UInt_t chip);
      22             :   void   SetHitEvent(UInt_t chip, UInt_t events);
      23             :   UInt_t GetHitEvent(UInt_t chip) const;
      24             :   AliITSOnlineSPDHitEvent* CloneThis() const;
      25             : 
      26             :  private:
      27             :   UInt_t fHitEvent[11];  // nr of events with at least one hit in a chip
      28             :                          // index 10 is for all 10 chips together
      29             : 
      30         116 :   ClassDef(AliITSOnlineSPDHitEvent,1)
      31             :    };
      32             : 
      33             : #endif

Generated by: LCOV version 1.11