53 for (
Int_t i=0;i<10;i++) {
54 if (params)
fParams[i] = params[i];
77 Error(
"TGeoMedium",
"%s, material number %d does not exist",
name,imat);
98 fMaterial(gm.fMaterial)
141 out <<
"// Medium: " <<
GetName() << std::endl;
142 out <<
" numed = " <<
fId <<
"; // medium number" << std::endl;
143 out <<
" par[0] = " <<
fParams[0] <<
"; // isvol" << std::endl;
144 out <<
" par[1] = " <<
fParams[1] <<
"; // ifield" << std::endl;
145 out <<
" par[2] = " <<
fParams[2] <<
"; // fieldm" << std::endl;
146 out <<
" par[3] = " <<
fParams[3] <<
"; // tmaxfd" << std::endl;
147 out <<
" par[4] = " <<
fParams[4] <<
"; // stemax" << std::endl;
148 out <<
" par[5] = " <<
fParams[5] <<
"; // deemax" << std::endl;
149 out <<
" par[6] = " <<
fParams[6] <<
"; // epsil" << std::endl;
150 out <<
" par[7] = " <<
fParams[7] <<
"; // stmin" << std::endl;
R__EXTERN TGeoManager * gGeoManager
TList * GetListOfMedia() const
TList * GetListOfMaterials() const
Base class describing materials.
const char * GetPointerName() const
Provide a pointer name containing uid.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a primitive as a C++ statement(s) on output stream "out".
Media are used to store properties related to tracking and which are useful only when using geometry ...
TGeoMedium & operator=(const TGeoMedium &)
assignment operator
virtual ~TGeoMedium()
Destructor.
const char * GetPointerName() const
Provide a pointer name containing uid.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a primitive as a C++ statement(s) on output stream "out".
TGeoMedium()
Default constructor.
void Add(TObject *obj) override
The TNamed class is the base class for all named ROOT classes.
const char * GetName() const override
Returns name of object.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
virtual UInt_t GetUniqueID() const
Return the unique object id.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
TSubString Strip(EStripType s=kTrailing, char c=' ') const
Return a substring of self stripped at beginning and/or end.
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.