ROOT logo
#ifndef HRPCCELLSTATUSPAR_H
#define HRPCCELLSTATUSPAR_H

#include "TArrayI.h"
#include "hparcond.h"

class HParamList;

class HRpcCellStatusPar : public HParCond {
protected:
  TArrayI cellStatus; // Status of cell: 0=dead/off, 1=on
public:
  HRpcCellStatusPar(const Char_t* name   ="RpcCellStatusPar",
                    const Char_t* title  ="Cell status parameters for the Rpc Detector",
                    const Char_t* context="RpcCellStatusProduction");
  ~HRpcCellStatusPar() {;}

  Int_t getCellStatus(Int_t sec, Int_t col, Int_t cell) {return cellStatus[192*sec+32*col+cell];}
  void  setCellStatus(Int_t sec, Int_t col, Int_t cell, Int_t a);
  void  printCellParams();

  void   clear();
  void   putParams(HParamList*);
  Bool_t getParams(HParamList*);

  ClassDef(HRpcCellStatusPar,1) // Container for Rpc cell status parameters 
};

#endif /* !HRPCCELLSTATUSPAR_H */
 hrpccellstatuspar.h:1
 hrpccellstatuspar.h:2
 hrpccellstatuspar.h:3
 hrpccellstatuspar.h:4
 hrpccellstatuspar.h:5
 hrpccellstatuspar.h:6
 hrpccellstatuspar.h:7
 hrpccellstatuspar.h:8
 hrpccellstatuspar.h:9
 hrpccellstatuspar.h:10
 hrpccellstatuspar.h:11
 hrpccellstatuspar.h:12
 hrpccellstatuspar.h:13
 hrpccellstatuspar.h:14
 hrpccellstatuspar.h:15
 hrpccellstatuspar.h:16
 hrpccellstatuspar.h:17
 hrpccellstatuspar.h:18
 hrpccellstatuspar.h:19
 hrpccellstatuspar.h:20
 hrpccellstatuspar.h:21
 hrpccellstatuspar.h:22
 hrpccellstatuspar.h:23
 hrpccellstatuspar.h:24
 hrpccellstatuspar.h:25
 hrpccellstatuspar.h:26
 hrpccellstatuspar.h:27
 hrpccellstatuspar.h:28
 hrpccellstatuspar.h:29