ROOT logo
#ifndef HGEOMSECTORS_H
#define HGEOMSECTORS_H

#include "hgeomset.h"
#include "TString.h"

class HGeomMedia;

class  HGeomSectors : public HGeomSet {
protected:
  Char_t modName[5];  // name of sector
public:
  HGeomSectors();
  ~HGeomSectors() {}
  const Char_t* getModuleName(Int_t);  
  inline Int_t getModNumInMod(const TString&);
  Bool_t read(fstream&,HGeomMedia*);
  void addRefNodes();
  ClassDef(HGeomSectors,0) // Class for geometry of Sectors
};

#endif  /* !HGEOMSECTORS_H */

inline Int_t HGeomSectors::getModNumInMod(const TString& name) {
  // returns the sector index retrieved from SECx 
  return (Int_t)(name[3]-'0')-1;
}
 hgeomsectors.h:1
 hgeomsectors.h:2
 hgeomsectors.h:3
 hgeomsectors.h:4
 hgeomsectors.h:5
 hgeomsectors.h:6
 hgeomsectors.h:7
 hgeomsectors.h:8
 hgeomsectors.h:9
 hgeomsectors.h:10
 hgeomsectors.h:11
 hgeomsectors.h:12
 hgeomsectors.h:13
 hgeomsectors.h:14
 hgeomsectors.h:15
 hgeomsectors.h:16
 hgeomsectors.h:17
 hgeomsectors.h:18
 hgeomsectors.h:19
 hgeomsectors.h:20
 hgeomsectors.h:21
 hgeomsectors.h:22
 hgeomsectors.h:23
 hgeomsectors.h:24
 hgeomsectors.h:25
 hgeomsectors.h:26
 hgeomsectors.h:27