LCOV - code coverage report
Current view: top level - ITS/ITSrec - AliITSQASSDRefData.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 2 50.0 %
Date: 2016-06-14 17:26:59 Functions: 1 6 16.7 %

          Line data    Source code
       1             : #ifndef ALIITSQASSDREFDATA_H
       2             : #define ALIITSQASSDREFDATA_H
       3             : /* Copyright(c) 2009-2011, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : 
       7             : /* $Id$ */
       8             : 
       9             : //-------------------------------------------------------------------------
      10             : //                          Class AliITSQASSDRefData
      11             : //                     ITS SSD reference values for the QA
      12             : //
      13             : //         Origin: Panos.Christakoglou@cern.ch, NIKHEF-Utrecht University
      14             : //-------------------------------------------------------------------------
      15             : 
      16             : 
      17             : #include <TObject.h>
      18             : #include <TObjArray.h>
      19             : #include <TArrayD.h>
      20             : 
      21             : 
      22             : class AliITSQASSDRefData : public TObject {
      23             :   
      24             :  public:
      25             :   AliITSQASSDRefData(); 
      26             :   AliITSQASSDRefData(Int_t specie); 
      27             :   AliITSQASSDRefData(const char* path);
      28             :   AliITSQASSDRefData(const AliITSQASSDRefData& refData);   
      29             :   AliITSQASSDRefData& operator = (const AliITSQASSDRefData& refData);
      30             :   virtual ~AliITSQASSDRefData(); //destructor
      31             :   
      32             :   void AddReference(const char* name, Int_t id, Double_t value);
      33             :   Int_t GetID(const char*);
      34             :   
      35           0 :   Double_t *GetReferenceData() {return fRefList->GetArray();}
      36             :   Double_t GetReferenceValue(const char*);
      37             :   Double_t GetReferenceValue(Int_t id);
      38             : 
      39             :   void SetDefault(Int_t eventSpecie);
      40             : 
      41             :   void SetReferenceData(const char* path);
      42             :   void SetReferenceValue(const char* name, Double_t value);
      43             :   void SetReferenceValue(Int_t id, Double_t value);
      44             :   
      45             :   void PrintTable();
      46             :   
      47             :  private:
      48             :   TArrayD *fRefList;//* = new TArrayD(11,{0,500,0,50,0,100,0,50,0,100,5});
      49             :   TObjArray *fNameList;//* = new TObjArray(11);
      50             :   
      51         116 :   ClassDef(AliITSQASSDRefData,1)           // description 
      52             : };
      53             : 
      54             : 
      55             : #endif

Generated by: LCOV version 1.11