#ifndef HSTARTGEOMPAR_H
#define HSTARTGEOMPAR_H
#include "hdetgeompar.h"
class HStartGeomPar : public HDetGeomPar {
public:
HStartGeomPar(const Char_t* name="StartGeomPar",
const Char_t* title="Start geometry parameters",
const Char_t* context="GeomProduction");
~HStartGeomPar() {}
Bool_t init(HParIo*,Int_t*);
Int_t write(HParIo*);
inline Int_t getModNumInMod(const TString&);
inline Int_t getModNumInComp(const TString&);
inline Int_t getCompNum(const TString&);
ClassDef(HStartGeomPar,1)
};
inline Int_t HStartGeomPar::getModNumInMod(const TString& name) {
return (Int_t)(name[3]-'0');
}
inline Int_t HStartGeomPar::getModNumInComp(const TString& name) {
return (Int_t)(name[1]-'0');
}
inline Int_t HStartGeomPar::getCompNum(const TString& name) {
return ((Int_t)(name[2]-'0')*10+(Int_t)(name[3]-'0'));
}
#endif /* !HSTARTGEOMPAR_H */
Last change: Sat May 22 13:14:41 2010
Last generated: 2010-05-22 13:14
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.