ROOT logo
#ifndef HRPCDETECTOR_H
#define HRPCDETECTOR_H

#include "hdetector.h"
#include "haddef.h"
#include "TArrayI.h"

class HRpcDetector : public HDetector {

 private:
  Int_t maxColumns;
  Int_t maxCells;
  Int_t maxEmptyChannels;

 public:
  HRpcDetector(void);
  ~HRpcDetector(void);
  HCategory *buildCategory(Cat_t cat);
  HCategory *buildMatrixCategory(const Text_t *,Float_t );
  HCategory *buildLinearCategory(const Text_t *,Float_t );
  Bool_t init(void) {return kTRUE;}
  void activateParIo(HParIo* io);
  Bool_t write(HParIo* io);

  Int_t getMaxColumns()    {return maxColumns;}
  Int_t getMaxCells()      {return maxCells;}
  Int_t getEmptyChannels() {return maxEmptyChannels;}

  void setMaxColumns(Int_t amaxColumns)            {maxColumns       = amaxColumns; }
  void setMaxCells(Int_t amaxCells)                {maxCells         = amaxCells;   }
  void setMaxEmptyChannels(Int_t amaxChannels)     {maxEmptyChannels = amaxChannels;}

  ClassDef(HRpcDetector,2) // RPC detector class
};


#endif /* !HRPCDETECTOR_H */

    
 hrpcdetector.h:1
 hrpcdetector.h:2
 hrpcdetector.h:3
 hrpcdetector.h:4
 hrpcdetector.h:5
 hrpcdetector.h:6
 hrpcdetector.h:7
 hrpcdetector.h:8
 hrpcdetector.h:9
 hrpcdetector.h:10
 hrpcdetector.h:11
 hrpcdetector.h:12
 hrpcdetector.h:13
 hrpcdetector.h:14
 hrpcdetector.h:15
 hrpcdetector.h:16
 hrpcdetector.h:17
 hrpcdetector.h:18
 hrpcdetector.h:19
 hrpcdetector.h:20
 hrpcdetector.h:21
 hrpcdetector.h:22
 hrpcdetector.h:23
 hrpcdetector.h:24
 hrpcdetector.h:25
 hrpcdetector.h:26
 hrpcdetector.h:27
 hrpcdetector.h:28
 hrpcdetector.h:29
 hrpcdetector.h:30
 hrpcdetector.h:31
 hrpcdetector.h:32
 hrpcdetector.h:33
 hrpcdetector.h:34
 hrpcdetector.h:35
 hrpcdetector.h:36
 hrpcdetector.h:37
 hrpcdetector.h:38
 hrpcdetector.h:39