12 #ifndef ROOT_TGeoMaterial 13 #define ROOT_TGeoMaterial 23 #ifndef ROOT_TGeoElement 158 void AverageProperties();
200 {
return AddElement(a,z,weight);}
202 {
return AddElement(elem,weight);}
virtual Int_t GetNelements() const
void DefineElement(Int_t iel, Double_t a, Double_t z, Double_t weight)
TGeoExtension * GetFWExtension() const
TGeoExtension * fFWExtension
Transient user-defined extension to materials.
Double_t * GetZmixt() const
Double_t GetPressure() const
void SetRadLen(Double_t radlen, Double_t intlen=0.)
Set radiation/absorption lengths.
Base class describing materials.
virtual Int_t GetDefaultColor() const
Get some default color related to this material.
virtual ~TGeoMaterial()
Destructor.
static const Double_t STP_pressure
virtual TGeoElement * GetElement(Int_t i=0) const
Get a pointer to the element this material is made of.
virtual Bool_t IsMixture() 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)
Double_t * GetWmixt() const
The TNamed class is the base class for all named ROOT classes.
void SetUserExtension(TGeoExtension *ext)
Connect user-defined extension to the material.
virtual Bool_t IsMixture() const
Base class for chemical elements.
void SetIndex(Int_t index)
TGeoElement * GetBaseElement() const
virtual Int_t GetByteCount() const
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 GetA() const
EGeoMaterialState GetState() const
Int_t GetIndex()
Retrieve material index in the list of materials.
virtual Double_t GetIntLen() const
Char_t GetTransparency() const
virtual Int_t GetNelements() const
TGeoMaterial()
Default constructor.
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.
char * GetPointerName() const
Provide a pointer name containing uid.
TGeoExtension * GrabUserExtension() const
Get a copy of the user extension pointer.
ABC for user objects attached to TGeoVolume or TGeoNode.
Double_t GetTemperature() const
Bool_t TestBit(UInt_t f) const
void SetDensity(Double_t density)
void SetFWExtension(TGeoExtension *ext)
Connect framework defined extension to the material.
void SetPressure(Double_t pressure)
static const Double_t STP_temperature
virtual TObject * GetCerenkovProperties() const
static Double_t ScreenFactor(Double_t z)
static function Compute screening factor for pair production and Bremsstrahlung REFERENCE : EGS MANUA...
void SetState(EGeoMaterialState state)
virtual Double_t GetSpecificActivity(Int_t) const
virtual void Print(const Option_t *option="") const
print characteristics of this material
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".
Double_t * GetAmixt() const
virtual Double_t GetZ() const
Mother of all ROOT objects.
you should not use this method at all Int_t Int_t z
virtual Double_t GetRadLen() const
void SetTemperature(Double_t temperature)
TGeoExtension * GetUserExtension() const
virtual Double_t GetDensity() const
void SetUsed(Bool_t flag=kTRUE)
TGeoExtension * fUserExtension
TGeoMaterial & operator=(const TGeoMaterial &)
assignment operator
virtual void SetCerenkovProperties(TObject *cerenkov)
void SetTransparency(Char_t transparency=0)
virtual Bool_t IsEq(const TGeoMaterial *other) const
return true if the other material has the same physical properties
TGeoExtension * GrabFWExtension() const
Get a copy of the framework extension pointer.
virtual Int_t GetByteCount() const
Style_t fFillStyle
Fill area style.