12 #ifndef ROOT_TGeoMaterial 13 #define ROOT_TGeoMaterial 152 void AverageProperties();
195 {
return AddElement(a,z,weight);}
197 {
return AddElement(elem,weight);}
void DefineElement(Int_t iel, Double_t a, Double_t z, Double_t weight)
virtual void SetA(Double_t a)
EGeoMaterialState GetState() const
virtual Bool_t IsMixture() const
TGeoExtension * fFWExtension
Transient user-defined extension to materials.
virtual Double_t GetDensity() const
Bool_t TestBit(UInt_t f) const
virtual void SetA(Double_t a)
virtual Double_t GetSpecificActivity(Int_t) const
Double_t * GetWmixt() const
void SetRadLen(Double_t radlen, Double_t intlen=0.)
Set radiation/absorption lengths.
Base class describing materials.
virtual void SetZ(Double_t z)
virtual ~TGeoMaterial()
Destructor.
TGeoExtension * GetFWExtension() const
static const Double_t STP_pressure
TGeoElement * GetBaseElement() const
virtual Int_t GetByteCount() const
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
Fill Area Attributes class.
#define ClassDef(name, id)
TGeoExtension * GrabFWExtension() const
Get a copy of the framework extension pointer.
The TNamed class is the base class for all named ROOT classes.
void SetUserExtension(TGeoExtension *ext)
Connect user-defined extension to the material.
Char_t GetTransparency() const
Base class for chemical elements.
virtual Double_t GetA() const
virtual Double_t GetIntLen() const
void SetIndex(Int_t index)
virtual void GetElementProp(Double_t &a, Double_t &z, Double_t &w, Int_t i=0)
Single interface to get element properties.
virtual void FillMaterialEvolution(TObjArray *population, Double_t precision=0.001)
Fills a user array with all the elements deriving from the possible decay of the top element composin...
static Double_t Coulomb(Double_t z)
static function Compute Coulomb correction for pair production and Brem REFERENCE : EGS MANUAL SLAC 2...
virtual Double_t GetZ() const
Int_t GetIndex()
Retrieve material index in the list of materials.
virtual Int_t GetNelements() const
TGeoMaterial()
Default constructor.
Double_t GetPressure() const
virtual TGeoMaterial * DecayMaterial(Double_t time, Double_t precision=0.001)
Create the material representing the decay product of this material at a given time.
virtual TObject * GetCerenkovProperties() const
Double_t GetTemperature() const
ABC for user objects attached to TGeoVolume or TGeoNode.
TGeoExtension * GetUserExtension() const
char * GetPointerName() const
Provide a pointer name containing uid.
virtual Int_t GetNelements() const
void SetFWExtension(TGeoExtension *ext)
Connect framework defined extension to the material.
void SetPressure(Double_t pressure)
virtual void SetDensity(Double_t density)
static const Double_t STP_temperature
virtual TGeoElement * GetElement(Int_t i=0) const
Get a pointer to the element this material is made of.
static Double_t ScreenFactor(Double_t z)
static function Compute screening factor for pair production and Bremsstrahlung REFERENCE : EGS MANUA...
Double_t * GetAmixt() const
virtual Bool_t IsMixture() const
void SetState(EGeoMaterialState state)
virtual void GetElementProp(Double_t &a, Double_t &z, Double_t &w, Int_t i=0)
Single interface to get element properties.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a primitive as a C++ statement(s) on output stream "out".
virtual Int_t GetDefaultColor() const
Get some default color related to this material.
Mother of all ROOT objects.
you should not use this method at all Int_t Int_t z
void SetTemperature(Double_t temperature)
void SetUsed(Bool_t flag=kTRUE)
TGeoExtension * fUserExtension
virtual void SetZ(Double_t z)
virtual void SetDensity(Double_t density)
Double_t * GetZmixt() const
virtual Int_t GetByteCount() const
TGeoMaterial & operator=(const TGeoMaterial &)
assignment operator
virtual void SetCerenkovProperties(TObject *cerenkov)
virtual Double_t GetRadLen() const
void SetTransparency(Char_t transparency=0)
TGeoExtension * GrabUserExtension() const
Get a copy of the user extension pointer.
virtual void Print(const Option_t *option="") const
print characteristics of this material
virtual Bool_t IsEq(const TGeoMaterial *other) const
return true if the other material has the same physical properties
Style_t fFillStyle
Fill area style.