ROOT logo
#ifndef ALI_ITS_ONLINESPDPHYSINFO_H
#define ALI_ITS_ONLINESPDPHYSINFO_H

/////////////////////////////////////////////////////////////////
// Author: Henrik Tydesjo                                      //
// This class is used as a container online.                   //
// It holds information needed for a physics run.              //
// This class should only be used through the interface of the //
// AliITSOnlineSPDphys class.                                  //
/////////////////////////////////////////////////////////////////

#include <TObject.h>
#include <TArrayI.h>

class AliITSOnlineSPDphysInfo :  public TObject {

 public:
  AliITSOnlineSPDphysInfo();
  virtual ~AliITSOnlineSPDphysInfo();

  virtual void   ClearThis();
  // SET METHODS ***********************************
  void     AddRunNr(UInt_t val);
  void     SetEqNr(UInt_t val) {fEqNr=val;}
  void     SetNrEvents(UInt_t val) {fNrEvents=val;}
  void     AddNrEvents(Int_t val);
  void     IncrementNrEvents() {fNrEvents++;}

  // GET METHODS ***********************************
  UInt_t   GetNrRuns() const {return fNrRuns;}
  UInt_t   GetRunNr(UInt_t posi) const ;
  UInt_t   GetEqNr() const {return fEqNr;}
  UInt_t   GetNrEvents() const {return fNrEvents;}

 protected:
  UInt_t   fNrRuns;               // nr of runs used to fill hitmap
  TArrayI  fRunNrs;               // list of run nrs for the hitmap
  UInt_t   fEqNr;                 // eq nr
  UInt_t   fNrEvents;             // number of events

  ClassDef(AliITSOnlineSPDphysInfo,1)
    };
    
#endif
 AliITSOnlineSPDphysInfo.h:1
 AliITSOnlineSPDphysInfo.h:2
 AliITSOnlineSPDphysInfo.h:3
 AliITSOnlineSPDphysInfo.h:4
 AliITSOnlineSPDphysInfo.h:5
 AliITSOnlineSPDphysInfo.h:6
 AliITSOnlineSPDphysInfo.h:7
 AliITSOnlineSPDphysInfo.h:8
 AliITSOnlineSPDphysInfo.h:9
 AliITSOnlineSPDphysInfo.h:10
 AliITSOnlineSPDphysInfo.h:11
 AliITSOnlineSPDphysInfo.h:12
 AliITSOnlineSPDphysInfo.h:13
 AliITSOnlineSPDphysInfo.h:14
 AliITSOnlineSPDphysInfo.h:15
 AliITSOnlineSPDphysInfo.h:16
 AliITSOnlineSPDphysInfo.h:17
 AliITSOnlineSPDphysInfo.h:18
 AliITSOnlineSPDphysInfo.h:19
 AliITSOnlineSPDphysInfo.h:20
 AliITSOnlineSPDphysInfo.h:21
 AliITSOnlineSPDphysInfo.h:22
 AliITSOnlineSPDphysInfo.h:23
 AliITSOnlineSPDphysInfo.h:24
 AliITSOnlineSPDphysInfo.h:25
 AliITSOnlineSPDphysInfo.h:26
 AliITSOnlineSPDphysInfo.h:27
 AliITSOnlineSPDphysInfo.h:28
 AliITSOnlineSPDphysInfo.h:29
 AliITSOnlineSPDphysInfo.h:30
 AliITSOnlineSPDphysInfo.h:31
 AliITSOnlineSPDphysInfo.h:32
 AliITSOnlineSPDphysInfo.h:33
 AliITSOnlineSPDphysInfo.h:34
 AliITSOnlineSPDphysInfo.h:35
 AliITSOnlineSPDphysInfo.h:36
 AliITSOnlineSPDphysInfo.h:37
 AliITSOnlineSPDphysInfo.h:38
 AliITSOnlineSPDphysInfo.h:39
 AliITSOnlineSPDphysInfo.h:40
 AliITSOnlineSPDphysInfo.h:41
 AliITSOnlineSPDphysInfo.h:42
 AliITSOnlineSPDphysInfo.h:43
 AliITSOnlineSPDphysInfo.h:44