#ifndef HGEOMTOF_H
#define HGEOMTOF_H
#include "hgeomset.h"
#include "TString.h"
class HGeomTof : public HGeomSet {
protected:
Char_t keepinName[5];
Char_t modName[6];
Char_t eleName[4];
public:
HGeomTof();
~HGeomTof() {}
const Char_t* getKeepinName(Int_t,Int_t);
const Char_t* getModuleName(Int_t);
const Char_t* getEleName(Int_t);
inline Int_t getSecNumInMod(const TString&);
inline Int_t getModNumInMod(const TString&);
Bool_t replaceTofKeepin();
void setNodeType(HGeomNode*);
ClassDef(HGeomTof,0)
};
#endif /* !HGEOMTOF_H */
inline Int_t HGeomTof::getSecNumInMod(const TString& name) {
return (Int_t)(name[4]-'0')-1;
}
inline Int_t HGeomTof::getModNumInMod(const TString& name) {
return (Int_t)(name[1]-'0')*10+(Int_t)(name[2]-'0')-1;
}
Last change: Sat May 22 12:56:43 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.