38 for (
Int_t i = 0; i < 20; i++)
50 for (
Int_t i = 0; i < 20; i++)
53 for (
Int_t i = 0; i < 10; i++) {
71 for (
Int_t i = 0; i < 20; i++)
81 Error(
"TGeoMedium",
"%s, material number %d does not exist",
name, imat);
101 for (
Int_t i = 0; i < 20; i++)
113 for (
Int_t i = 0; i < 20; i++)
143 out <<
"// Medium: " <<
GetName() << std::endl;
144 out <<
" numed = " <<
fId <<
"; // medium number" << std::endl;
145 out <<
" par[0] = " <<
fParams[0] <<
"; // isvol" << std::endl;
146 out <<
" par[1] = " <<
fParams[1] <<
"; // ifield" << std::endl;
147 out <<
" par[2] = " <<
fParams[2] <<
"; // fieldm" << std::endl;
148 out <<
" par[3] = " <<
fParams[3] <<
"; // tmaxfd" << std::endl;
149 out <<
" par[4] = " <<
fParams[4] <<
"; // stemax" << std::endl;
150 out <<
" par[5] = " <<
fParams[5] <<
"; // deemax" << std::endl;
151 out <<
" par[6] = " <<
fParams[6] <<
"; // epsil" << std::endl;
152 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.
void SavePrimitive(std::ostream &out, Option_t *option="") override
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 ...
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a primitive as a C++ statement(s) on output stream "out".
TGeoMedium & operator=(const TGeoMedium &)
assignment operator
const char * GetPointerName() const
Provide a pointer name containing uid.
TGeoMedium()
Default constructor.
~TGeoMedium() override
Destructor.
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.