LCOV - code coverage report
Current view: top level - T0/T0base - AliT0LookUpKey.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 4 8 50.0 %
Date: 2016-06-14 17:26:59 Functions: 5 14 35.7 %

          Line data    Source code
       1             : #ifndef ALIT0LOOKUPKEY_H
       2             : #define ALIT0LOOKUPKEY_H
       3             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : #include "TObject.h"
       7             : #include "TString.h"
       8             : 
       9             : class AliT0LookUpKey: public TObject
      10             : {
      11             :  public:
      12             :   AliT0LookUpKey();
      13             :   AliT0LookUpKey(Int_t key); 
      14             :   AliT0LookUpKey(TString name); 
      15           0 :   AliT0LookUpKey& operator= (const AliT0LookUpKey &) { return *this;};
      16             :   AliT0LookUpKey(const AliT0LookUpKey &o);
      17           0 :   virtual ~AliT0LookUpKey() {};
      18         194 :   Int_t GetKey() const {return fKey;};
      19          48 :   void SetKey(Int_t n)  {fKey=n;};
      20           0 :   TString GetChannelName() {return fName;};
      21           0 :   void SetChannelName(TString name) {fName = name;};
      22             :   virtual Bool_t IsEqual(const TObject *obj) const;
      23             :   void Print(Option_t* opt= "") const;
      24         896 :   virtual ULong_t Hash() const {return 10000*fKey;}
      25             :   //    virtual ULong_t Hash(void) const {return TString::Hash(this, sizeof(*this));};
      26             :   //   virtual void Clear(void) {fKey=0;}
      27             :  protected:
      28             :   Int_t fKey;   //logical channel number
      29             :   TString fName; //logical channel name
      30             :   
      31         674 :    ClassDef(AliT0LookUpKey,1)  //Hits for detector T0
      32             : };
      33             : 
      34             : 
      35             : #endif

Generated by: LCOV version 1.11