#ifndef HGEOMRPC_H
#define HGEOMRPC_H

#include "hgeomset.h"

class  HGeomRpc : public HGeomSet {
protected:
  Char_t modName[6];  // name of module
  Char_t eleName[2];  // substring for elements in module
public:
  HGeomRpc();
  ~HGeomRpc() {}
  const Char_t* getModuleName(Int_t) {return modName;}
  const Char_t* getEleName(Int_t) {return eleName;}
  Int_t getSecNumInMod(const TString&);
  ClassDef(HGeomRpc,0) // Class for RPC
};

inline Int_t HGeomRpc::getSecNumInMod(const TString& name) {
  // returns the sector index retrieved from EBOXx
  return (Int_t)(name[4]-'0')-1;
}
#endif  /* !HGEOMRPC_H */

Last change: Sat May 22 12:56:34 2010
Last generated: 2010-05-22 12:56

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.