Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TGeoManager Class Reference

Definition at line 46 of file TGeoManager.h.

Public Types

enum  { kSingleKey = (1ULL << (0)) , kOverwrite = (1ULL << (1)) , kWriteDelete = (1ULL << (2)) }
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
enum  EDefaultUnits { kG4Units = 0 , kRootUnits = 1 }
enum  EDeprecatedStatusBits { kObjInCanvas = (1ULL << (3)) }
enum  EStatusBits {
  kCanDelete = (1ULL << (0)) , kMustCleanup = (1ULL << (3)) , kIsReferenced = (1ULL << (4)) , kHasUUID = (1ULL << (5)) ,
  kCannotPick = (1ULL << (6)) , kNoContextMenu = (1ULL << (8)) , kInvalidObject = (1ULL << (13))
}

Public Member Functions

 TGeoManager ()
 TGeoManager (const char *name, const char *title)
 ~TGeoManager () override
void AbstractMethod (const char *method) const
 Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it.
void AddBorderSurface (TGeoBorderSurface *surf)
void AddGDMLMatrix (TGDMLMatrix *mat)
Int_t AddMaterial (const TGeoMaterial *material)
TGeoNavigatorAddNavigator ()
void AddOpticalSurface (TGeoOpticalSurface *optsurf)
Int_t AddOverlap (const TNamed *ovlp)
Bool_t AddProperty (const char *property, Double_t value)
Int_t AddRegion (TGeoRegion *region)
Int_t AddShape (const TGeoShape *shape)
void AddSkinSurface (TGeoSkinSurface *surf)
Int_t AddTrack (Int_t id, Int_t pdgcode, TObject *particle=nullptr)
Int_t AddTrack (TVirtualGeoTrack *track)
Int_t AddTransformation (const TGeoMatrix *matrix)
Int_t AddVolume (TGeoVolume *volume)
void AnimateTracks (Double_t tmin=0, Double_t tmax=5E-8, Int_t nframes=200, Option_t *option="/*")
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
void BombTranslation (const Double_t *tr, Double_t *bombtr)
void Browse (TBrowser *b) override
 Browse object. May be overridden for another default action.
void BuildDefaultMaterials ()
virtual Bool_t cd (const char *path="")
void CdDown (Int_t index)
void CdNext ()
void CdNode (Int_t nodeid)
void CdTop ()
void CdUp ()
void CheckBoundaryErrors (Int_t ntracks=1000000, Double_t radius=-1.)
void CheckBoundaryReference (Int_t icheck=-1)
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
void CheckGeometry (Option_t *option="")
void CheckGeometryFull (Int_t ntracks=1000000, Double_t vx=0., Double_t vy=0., Double_t vz=0., Option_t *option="ob")
void CheckOverlaps (Double_t ovlp=0.1, Option_t *option="")
void CheckOverlapsBySampling (Double_t ovlp, Int_t npoints)
Bool_t CheckPath (const char *path) const
void CheckPoint (Double_t x=0, Double_t y=0, Double_t z=0, Option_t *option="", Double_t safety=0.)
void CheckShape (TGeoShape *shape, Int_t testNo, Int_t nsamples, Option_t *option)
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
void CleanGarbage ()
void Clear (Option_t *option="") override
 Set name and title to empty strings ("").
void ClearAttributes ()
void ClearNavigators ()
void ClearOverlaps ()
void ClearPhysicalNodes (Bool_t mustdelete=kFALSE)
void ClearShape (const TGeoShape *shape)
void ClearThreadData () const
void ClearTracks ()
TObjectClone (const char *newname="") const override
 Make a clone of an object using the Streamer facility.
void CloseGeometry (Option_t *option="d")
Int_t Compare (const TObject *obj) const override
 Compare two TNamed objects.
void ConvertReflections ()
void Copy (TObject &named) const override
 Copy this to obj.
void CountLevels ()
Int_t CountNodes (const TGeoVolume *vol=nullptr, Int_t nlevels=10000, Int_t option=0)
TGeoParallelWorldCreateParallelWorld (const char *name)
void CreateThreadData () const
TGeoNodeCrossBoundaryAndLocate (Bool_t downwards, TGeoNode *skipnode)
void DefaultAngles ()
void DefaultColors (const TGeoColorScheme *cs=nullptr)
virtual void Delete (Option_t *option="")
 Delete this object.
void DisableInactiveVolumes ()
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
TGeoVolumeDivision (const char *name, const char *mother, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step, Int_t numed=0, Option_t *option="")
void DoBackupState ()
void DoRestoreState ()
virtual void Draw (Option_t *option="")
 Default Draw method for all objects.
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
void DrawCurrentPoint (Int_t color=2)
void DrawPath (const char *path, Option_t *option="")
void DrawTracks (Option_t *option="")
virtual void Dump () const
 Dump contents of object on stdout.
virtual void Edit (Option_t *option="")
void EnableInactiveVolumes ()
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 Execute method on this object with the given parameter string, e.g.
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 Execute method on this object with parameters stored in the TObjArray.
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
 Execute action corresponding to an event at (px,py).
virtual Int_t Export (const char *filename, const char *name="", Option_t *option="vg")
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer.
TGeoMaterialFindDuplicateMaterial (const TGeoMaterial *mat) const
TGeoNodeFindNextBoundary (Double_t stepmax=TGeoShape::Big(), const char *path="", Bool_t frombdr=kFALSE)
TGeoNodeFindNextBoundaryAndStep (Double_t stepmax=TGeoShape::Big(), Bool_t compsafe=kFALSE)
TGeoNodeFindNextDaughterBoundary (Double_t *point, Double_t *dir, Int_t &idaughter, Bool_t compmatrix=kFALSE)
TGeoNodeFindNode (Bool_t safe_start=kTRUE)
TGeoNodeFindNode (Double_t x, Double_t y, Double_t z)
Double_tFindNormal (Bool_t forward=kTRUE)
Double_tFindNormalFast ()
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
TVirtualGeoTrackFindTrackWithId (Int_t id) const
TGeoVolumeFindVolumeFast (const char *name, Bool_t multi=kFALSE)
TGeoPNEntryGetAlignableEntry (const char *name) const
TGeoPNEntryGetAlignableEntry (Int_t index) const
TGeoPNEntryGetAlignableEntryByUID (Int_t uid) const
UChar_tGetBits ()
void GetBombFactors (Double_t &bombx, Double_t &bomby, Double_t &bombz, Double_t &bombr) const
Int_t GetBombMode () const
TGeoBorderSurfaceGetBorderSurface (const char *name) const
void GetBranchNames (Int_t *names) const
void GetBranchNumbers (Int_t *copyNumbers, Int_t *volumeNumbers) const
void GetBranchOnlys (Int_t *isonly) const
virtual Int_t GetByteCount (Option_t *option=nullptr)
TGeoNodeCacheGetCache () const
TVirtualGeoCheckerGetChecker () const
const Double_tGetCldir () const
const Double_tGetCldirChecked () const
TGeoShapeGetClippingShape () const
const Double_tGetCurrentDirection () const
TGeoHMatrixGetCurrentMatrix () const
TGeoNavigatorGetCurrentNavigator () const
TGeoNodeGetCurrentNode () const
Int_t GetCurrentNodeId () const
const Double_tGetCurrentPoint () const
TVirtualGeoTrackGetCurrentTrack ()
TGeoVolumeGetCurrentVolume () const
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
TGeoElementTableGetElementTable ()
TGDMLMatrixGetGDMLMatrix (const char *name) const
TVirtualGeoCheckerGetGeomChecker ()
TVirtualGeoPainterGetGeomPainter ()
TGeoHMatrixGetGLMatrix () const
TGeoHMatrixGetHMatrix ()
virtual const char * GetIconName () const
 Returns mime type name of object.
const Double_tGetLastPoint () const
Double_t GetLastSafety () const
TVirtualGeoTrackGetLastTrack ()
Int_t GetLevel () const
TObjArrayGetListOfBorderSurfaces () const
TObjArrayGetListOfGDMLMatrices () const
TObjArrayGetListOfGShapes () const
TObjArrayGetListOfGVolumes () const
TListGetListOfMaterials () const
TObjArrayGetListOfMatrices () const
TListGetListOfMedia () const
TGeoNavigatorArrayGetListOfNavigators () const
TObjArrayGetListOfNodes ()
TObjArrayGetListOfOpticalSurfaces () const
TObjArrayGetListOfOverlaps ()
TObjArrayGetListOfPhysicalNodes ()
TObjArrayGetListOfRegions () const
TObjArrayGetListOfShapes () const
TObjArrayGetListOfSkinSurfaces () const
TObjArrayGetListOfTracks () const
TObjArrayGetListOfUVolumes () const
TObjArrayGetListOfVolumes () const
TGeoVolumeGetMasterVolume () const
TGeoMaterialGetMaterial (const char *matname) const
TGeoMaterialGetMaterial (Int_t id) const
Int_t GetMaterialIndex (const char *matname) const
Int_t GetMaxLevel () const
Int_t GetMaxThreads () const
Int_t GetMaxVisNodes () const
TGeoMediumGetMedium (const char *medium) const
TGeoMediumGetMedium (Int_t numed) const
TGeoNodeGetMother (Int_t up=1) const
TGeoHMatrixGetMotherMatrix (Int_t up=1) const
Int_t GetNAlignable (Bool_t with_uid=kFALSE) const
const char * GetName () const override
 Returns name of object.
TGeoNodeGetNextNode () const
Int_t GetNmany () const
Int_t GetNNodes ()
TGeoNodeGetNode (Int_t level) const
Int_t GetNodeId () const
const Double_tGetNormal () const
Int_t GetNproperties () const
int GetNregions () const
Int_t GetNsegments () const
Int_t GetNtracks () const
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
TGeoOpticalSurfaceGetOpticalSurface (const char *name) const
virtual Option_tGetOption () const
TVirtualGeoPainterGetPainter () const
TGeoVolumeGetPaintVolume () const
TGeoParallelWorldGetParallelWorld () const
TVirtualGeoTrackGetParentTrackOfId (Int_t id) const
const char * GetParticleName () const
const char * GetPath () const
const char * GetPdgName (Int_t pdg) const
TGeoPhysicalNodeGetPhysicalNode (Int_t i) const
Double_t GetProperty (const char *name, Bool_t *error=nullptr) const
Double_t GetProperty (size_t i, TString &name, Bool_t *error=nullptr) const
TGeoRegionGetRegion (int i)
Int_t GetRTmode () const
Double_t GetSafeDistance () const
Int_t GetSafeLevel () const
TGeoSkinSurfaceGetSkinSurface (const char *name) const
Int_t GetStackLevel () const
Double_t GetStep () const
const char * GetTitle () const override
 Returns title of object.
Double_t GetTmax () const
Bool_t GetTminTmax (Double_t &tmin, Double_t &tmax) const
TGeoNodeGetTopNode () const
TGeoVolumeGetTopVolume () const
TVirtualGeoTrackGetTrack (Int_t index)
Int_t GetTrackIndex (Int_t id) const
TVirtualGeoTrackGetTrackOfId (Int_t id) const
Int_t GetUID (const char *volname) const
virtual UInt_t GetUniqueID () const
 Return the unique object id.
TGeoVolumeGetUserPaintVolume () const
Int_t GetVirtualLevel ()
Double_t GetVisDensity () const
Int_t GetVisLevel () const
Int_t GetVisOption () const
TGeoVolumeGetVolume (const char *name) const
TGeoVolumeGetVolume (Int_t uid) const
Bool_t GotoSafeLevel ()
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
ULong_t Hash () const override
 Return hash value for this object.
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
TGeoNodeInitTrack (const Double_t *point, const Double_t *dir)
TGeoNodeInitTrack (Double_t x, Double_t y, Double_t z, Double_t nx, Double_t ny, Double_t nz)
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
void InspectState () const
void InvalidateMeshCaches ()
void InvertBit (UInt_t f)
TClassIsA () const override
Bool_t IsActivityEnabled () const
Bool_t IsAnimatingTracks () const
Bool_t IsCheckingOverlaps () const
Bool_t IsCleaning () const
Bool_t IsClosed () const
Bool_t IsCurrentOverlapping () const
Bool_t IsDestructed () const
 IsDestructed.
Bool_t IsDrawingExtra () const
Bool_t IsEntering () const
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
Bool_t IsExiting () const
Bool_t IsFolder () const override
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
Bool_t IsInPhiRange () const
Bool_t IsMatrixReflection () const
Bool_t IsMatrixTransform () const
Bool_t IsMultiThread () const
Bool_t IsNodeSelectable () const
Bool_t IsNullStep () const
Bool_t IsOnBoundary () const
Bool_t IsOnHeap () const
Bool_t IsOutside () const
Bool_t IsParallelWorldNav () const
Bool_t IsSameLocation () const
Bool_t IsSameLocation (Double_t x, Double_t y, Double_t z, Bool_t change=kFALSE)
Bool_t IsSamePoint (Double_t x, Double_t y, Double_t z) const
Bool_t IsSortable () const override
Bool_t IsStartSafe () const
Bool_t IsStepEntering () const
Bool_t IsStepExiting () const
Bool_t IsStreamingVoxels () const
Bool_t IsVisLeaves () const
Bool_t IsZombie () const
void LocalToMaster (const Double_t *local, Double_t *master) const
void LocalToMasterBomb (const Double_t *local, Double_t *master) const
void LocalToMasterVect (const Double_t *local, Double_t *master) const
void ls (Option_t *option="") const override
 List TNamed name and title.
TGeoPhysicalNodeMakeAlignablePN (const char *name)
TGeoPhysicalNodeMakeAlignablePN (TGeoPNEntry *entry)
TGeoVolumeMakeArb8 (const char *name, TGeoMedium *medium, Double_t dz, Double_t *vertices=nullptr)
TGeoVolumeMakeBox (const char *name, TGeoMedium *medium, Double_t dx, Double_t dy, Double_t dz)
TGeoVolumeMakeCone (const char *name, TGeoMedium *medium, Double_t dz, Double_t rmin1, Double_t rmax1, Double_t rmin2, Double_t rmax2)
TGeoVolumeMakeCons (const char *name, TGeoMedium *medium, Double_t dz, Double_t rmin1, Double_t rmax1, Double_t rmin2, Double_t rmax2, Double_t phi1, Double_t phi2)
TGeoVolumeMakeCtub (const char *name, TGeoMedium *medium, Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2, Double_t lx, Double_t ly, Double_t lz, Double_t tx, Double_t ty, Double_t tz)
TGeoVolumeMakeEltu (const char *name, TGeoMedium *medium, Double_t a, Double_t b, Double_t dz)
TGeoVolumeMakeGtra (const char *name, TGeoMedium *medium, Double_t dz, Double_t theta, Double_t phi, Double_t twist, Double_t h1, Double_t bl1, Double_t tl1, Double_t alpha1, Double_t h2, Double_t bl2, Double_t tl2, Double_t alpha2)
TGeoVolumeMakeHype (const char *name, TGeoMedium *medium, Double_t rin, Double_t stin, Double_t rout, Double_t stout, Double_t dz)
TGeoVolumeMakePara (const char *name, TGeoMedium *medium, Double_t dx, Double_t dy, Double_t dz, Double_t alpha, Double_t theta, Double_t phi)
TGeoVolumeMakeParaboloid (const char *name, TGeoMedium *medium, Double_t rlo, Double_t rhi, Double_t dz)
TGeoVolumeMakePcon (const char *name, TGeoMedium *medium, Double_t phi, Double_t dphi, Int_t nz)
TGeoVolumeMakePgon (const char *name, TGeoMedium *medium, Double_t phi, Double_t dphi, Int_t nedges, Int_t nz)
TGeoPhysicalNodeMakePhysicalNode (const char *path=nullptr)
TGeoVolumeMakeSphere (const char *name, TGeoMedium *medium, Double_t rmin, Double_t rmax, Double_t themin=0, Double_t themax=180, Double_t phimin=0, Double_t phimax=360)
TGeoVolumeMakeTorus (const char *name, TGeoMedium *medium, Double_t r, Double_t rmin, Double_t rmax, Double_t phi1=0, Double_t dphi=360)
TVirtualGeoTrackMakeTrack (Int_t id, Int_t pdgcode, TObject *particle)
TGeoVolumeMakeTrap (const char *name, TGeoMedium *medium, Double_t dz, Double_t theta, Double_t phi, Double_t h1, Double_t bl1, Double_t tl1, Double_t alpha1, Double_t h2, Double_t bl2, Double_t tl2, Double_t alpha2)
TGeoVolumeMakeTrd1 (const char *name, TGeoMedium *medium, Double_t dx1, Double_t dx2, Double_t dy, Double_t dz)
TGeoVolumeMakeTrd2 (const char *name, TGeoMedium *medium, Double_t dx1, Double_t dx2, Double_t dy1, Double_t dy2, Double_t dz)
TGeoVolumeMakeTube (const char *name, TGeoMedium *medium, Double_t rmin, Double_t rmax, Double_t dz)
TGeoVolumeMakeTubs (const char *name, TGeoMedium *medium, Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2)
TGeoVolumeAssemblyMakeVolumeAssembly (const char *name)
TGeoVolumeMultiMakeVolumeMulti (const char *name, TGeoMedium *medium)
TGeoVolumeMakeXtru (const char *name, TGeoMedium *medium, Int_t nz)
void MasterToLocal (const Double_t *master, Double_t *local) const
void MasterToLocalBomb (const Double_t *master, Double_t *local) const
void MasterToLocalVect (const Double_t *master, Double_t *local) const
void MasterToTop (const Double_t *master, Double_t *top) const
TGeoMaterialMaterial (const char *name, Double_t a, Double_t z, Double_t dens, Int_t uid, Double_t radlen=0, Double_t intlen=0)
void Matrix (Int_t index, Double_t theta1, Double_t phi1, Double_t theta2, Double_t phi2, Double_t theta3, Double_t phi3)
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
TGeoMediumMedium (const char *name, Int_t numed, Int_t nmat, Int_t isvol, Int_t ifield, Double_t fieldm, Double_t tmaxfd, Double_t stemax, Double_t deemax, Double_t epsil, Double_t stmin)
TGeoMaterialMixture (const char *name, Double_t *a, Double_t *z, Double_t dens, Int_t nelem, Double_t *wmat, Int_t uid)
TGeoMaterialMixture (const char *name, Float_t *a, Float_t *z, Double_t dens, Int_t nelem, Float_t *wmat, Int_t uid)
void ModifiedPad () const
void Node (const char *name, Int_t nr, const char *mother, Double_t x, Double_t y, Double_t z, Int_t irot, Bool_t isOnly, Double_t *upar, Int_t npar=0)
void Node (const char *name, Int_t nr, const char *mother, Double_t x, Double_t y, Double_t z, Int_t irot, Bool_t isOnly, Float_t *upar, Int_t npar=0)
virtual Bool_t Notify ()
 This method must be overridden to handle object notification (the base implementation is no-op).
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
void operator delete (void *, size_t)
 Operator delete for sized deallocation.
void operator delete (void *ptr)
 Operator delete.
void operator delete (void *ptr, void *vp)
 Only called by placement new when throwing an exception.
void operator delete[] (void *, size_t)
 Operator delete [] for sized deallocation.
void operator delete[] (void *ptr)
 Operator delete [].
void operator delete[] (void *ptr, void *vp)
 Only called by placement new[] when throwing an exception.
void * operator new (size_t sz)
void * operator new (size_t sz, void *vp)
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, void *vp)
void OptimizeVoxels (const char *filename="tgeovox.C")
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself.
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
void PopDummy (Int_t ipop=9999)
Bool_t PopPath ()
Bool_t PopPath (Int_t index)
Bool_t PopPoint ()
Bool_t PopPoint (Int_t index)
void Print (Option_t *option="") const override
 Print TNamed name and title.
void PrintOverlaps () const
Int_t PushPath (Int_t startlevel=0)
Int_t PushPoint (Int_t startlevel=0)
void RandomPoints (const TGeoVolume *vol, Int_t npoints=10000, Option_t *option="")
void RandomRays (Int_t nrays=1000, Double_t startx=0, Double_t starty=0, Double_t startz=0, const char *target_vol=nullptr, Bool_t check_norm=kFALSE)
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
void RebuildVoxels ()
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
void RefreshPhysicalNodes (Bool_t lock=kTRUE)
void RegisterMatrix (const TGeoMatrix *matrix)
void RemoveMaterial (Int_t index)
void RemoveNavigator (const TGeoNavigator *nav)
Int_t ReplaceVolume (TGeoVolume *vorig, TGeoVolume *vnew)
void ResetBit (UInt_t f)
void ResetState ()
void ResetUserData ()
void RestoreMasterVolume ()
Double_t Safety (Bool_t inside=kFALSE)
TGeoNodeSamplePoints (Int_t npoints, Double_t &dist, Double_t epsil=1E-5, const char *g3path="")
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
void SaveAttributes (const char *filename="tgeoatt.C")
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out".
TGeoNodeSearchNode (Bool_t downwards=kFALSE, const TGeoNode *skipnode=nullptr)
void SelectTrackingMedia ()
TGeoPNEntrySetAlignableEntry (const char *unique_name, const char *path, Int_t uid=-1)
void SetAllIndex ()
void SetAnimateTracks (Bool_t flag=kTRUE)
void SetBit (UInt_t f)
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
void SetBombFactors (Double_t bombx=1.3, Double_t bomby=1.3, Double_t bombz=1.3, Double_t bombr=1.3)
void SetCheckedNode (TGeoNode *node)
void SetCheckingOverlaps (Bool_t flag=kTRUE)
void SetCldirChecked (Double_t *dir)
void SetClipping (Bool_t flag=kTRUE)
void SetClippingShape (TGeoShape *clip)
void SetCurrentDirection (Double_t *dir)
void SetCurrentDirection (Double_t nx, Double_t ny, Double_t nz)
Bool_t SetCurrentNavigator (Int_t index)
void SetCurrentPoint (Double_t *point)
void SetCurrentPoint (Double_t x, Double_t y, Double_t z)
void SetCurrentTrack (Int_t i)
void SetCurrentTrack (TVirtualGeoTrack *track)
void SetDrawExtraPaths (Bool_t flag=kTRUE)
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
void SetExplodedView (Int_t iopt=0)
void SetLastPoint (Double_t x, Double_t y, Double_t z)
void SetMatrixReflection (Bool_t flag=kTRUE)
void SetMatrixTransform (Bool_t on=kTRUE)
void SetMaxThreads (Int_t nthreads)
void SetMaxVisNodes (Int_t maxnodes=10000)
virtual void SetName (const char *name)
 Set the name of the TNamed.
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title).
void SetNmeshPoints (Int_t npoints=1000)
void SetNodeSelectable (Bool_t flag=kTRUE)
void SetNsegments (Int_t nseg)
void SetOutside (Bool_t flag=kTRUE)
void SetPaintVolume (TGeoVolume *vol)
void SetParticleName (const char *pname)
void SetPdgName (Int_t pdg, const char *name)
void SetPhiRange (Double_t phimin=0., Double_t phimax=360.)
void SetRTmode (Int_t mode)
void SetStartSafe (Bool_t flag=kTRUE)
void SetStep (Double_t step)
virtual void SetTitle (const char *title="")
 Set the title of the TNamed.
void SetTminTmax (Double_t tmin=0, Double_t tmax=999)
void SetTopVisible (Bool_t vis=kTRUE)
void SetTopVolume (TGeoVolume *vol)
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
void SetUseParallelWorldNav (Bool_t flag)
void SetUserPaintVolume (TGeoVolume *vol)
void SetVisDensity (Double_t dens=0.01)
void SetVisibility (TObject *obj, Bool_t vis)
void SetVisLevel (Int_t level=3)
void SetVisOption (Int_t option=0)
void SetVolumeAttribute (const char *name, const char *att, Int_t val)
virtual ULong_t SizeOf (const TGeoNode *node, Option_t *option)
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject.
void SortOverlaps ()
TGeoNodeStep (Bool_t is_geom=kTRUE, Bool_t cross=kTRUE)
void Streamer (TBuffer &) override
 Stream an object of class TObject.
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
void Test (Int_t npoints=1000000, Option_t *option="")
Bool_t TestBit (UInt_t f) const
Int_t TestBits (UInt_t f) const
void TestOverlaps (const char *path="")
void TopToMaster (const Double_t *top, Double_t *master) const
Int_t TransformVolumeToAssembly (const char *vname)
void UnbombTranslation (const Double_t *tr, Double_t *bombtr)
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
void ViewLeaves (Bool_t flag=kTRUE)
TGeoVolumeVolume (const char *name, const char *shape, Int_t nmed, Double_t *upar, Int_t npar=0)
TGeoVolumeVolume (const char *name, const char *shape, Int_t nmed, Float_t *upar, Int_t npar=0)
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
Double_t Weight (Double_t precision=0.01, Option_t *option="va")
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.

Static Public Member Functions

static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static void ClearThreadsMap ()
static const char * DeclFileName ()
static EDefaultUnits GetDefaultUnits ()
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
static UInt_t GetExportPrecision ()
static Int_t GetMaxDaughters ()
static Int_t GetMaxLevels ()
static Int_t GetMaxXtruVert ()
static Int_t GetNumThreads ()
static Bool_t GetObjectStat ()
 Get status of object stat flag.
static Int_t GetVerboseLevel ()
static TGeoManagerImport (const char *filename, const char *name="", Option_t *option="")
static Bool_t IsLocked ()
static Bool_t LockDefaultUnits (Bool_t new_value)
static void LockGeometry ()
static Int_t Parse (const char *expr, TString &expr1, TString &expr2, TString &expr3)
static void SetDefaultUnits (EDefaultUnits new_value)
static void SetDtorOnly (void *obj)
 Set destructor only flag.
static void SetExportPrecision (UInt_t prec)
static void SetNavigatorsLock (Bool_t flag)
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
static void SetVerboseLevel (Int_t vl)
static Int_t ThreadId ()
static void UnlockGeometry ()

Protected Types

enum  { kOnlyPrepStep = (1ULL << (3)) }

Protected Member Functions

 TGeoManager (const TGeoManager &)=delete
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected).
void MakeZombie ()
TGeoManageroperator= (const TGeoManager &)=delete
void SavePrimitiveNameTitle (std::ostream &out, const char *variable_name)
 Save object name and title into the output stream "out".

Static Protected Member Functions

static void SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
 Save object constructor in the output stream "out".
static void SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr)
 Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.
static TString SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Int_t flag=0)
 Save array in the output stream "out" as vector.

Protected Attributes

TString fName
TString fTitle

Static Protected Attributes

static EDefaultUnits fgDefaultUnits
 ! Default units in GDML if not explicit in some tags
static UInt_t fgExportPrecision
 ! Precision to be used in ASCII exports
static Bool_t fgLock
 ! Lock preventing a second geometry to be loaded
static Int_t fgMaxDaughters
 ! Maximum number of daughters
static Int_t fgMaxLevel
 ! Maximum level in geometry
static Int_t fgMaxXtruVert
 ! Maximum number of Xtru vertices
static std::mutex fgMutex
 ! mutex for navigator booking in MT mode
static Int_t fgVerboseLevel
 ! Verbosity level for Info messages (no IO).

Private Types

typedef std::map< std::string, Double_tConstPropMap_t
typedef std::map< std::thread::id, TGeoNavigatorArray * > NavigatorsMap_t
typedef NavigatorsMap_t::iterator NavigatorsMapIt_t
typedef std::map< std::thread::id, Int_tThreadsMap_t
typedef ThreadsMap_t::const_iterator ThreadsMapIt_t

Private Member Functions

void Init ()
Bool_t InitArrayPNE () const
Bool_t InsertPNEId (Int_t uid, Int_t ientry)
Bool_t IsLoopingVolumes () const
void SetLoopVolumes (Bool_t flag=kTRUE)
void UpdateElements ()
void Voxelize (Option_t *option=nullptr)

Static Private Member Functions

static void AddToTObjectTable (TObject *)
 Private helper function which will dispatch to TObjectTable::AddObj.

Private Attributes

Bool_t fActivity
 ! switch ON/OFF volume activity (default OFF - all volumes active))
TObjArrayfArrayPNE
 ! array of physical node entries
UChar_tfBits
 ! bits used for voxelization
TObjArrayfBorderSurfaces
TVirtualGeoCheckerfChecker
 ! current checker
TGeoShapefClippingShape
 ! clipping shape for raytracing
Bool_t fClosed
 ! flag that geometry is closed
TGeoNavigatorfCurrentNavigator
 ! current navigator
TVirtualGeoTrackfCurrentTrack
 ! current track
TGeoVolumefCurrentVolume
 ! current volume
Bool_t fDrawExtra
 ! flag that the list of physical nodes has to be drawn
TGeoElementTablefElementTable
 ! table of elements
Int_t fExplodedView
TObjArrayfGDMLMatrices
TGeoHMatrixfGLMatrix
TObjArrayfGShapes
 ! list of runtime shapes
TObjArrayfGVolumes
 ! list of runtime volumes
THashListfHashGVolumes
 ! hash list of group volumes providing fast search
THashListfHashPNE
THashListfHashVolumes
 ! hash list of volumes providing fast search
Bool_t fIsGeomCleaning
 ! flag to notify that the manager is being destructed
Bool_t fIsGeomReading
 ! flag set when reading geometry
Bool_t fIsNodeSelectable
 ! flag that nodes are the selected objects in pad rather than volumes
Int_tfKeyPNEId
Bool_t fLoopVolumes
 ! flag volume lists loop
TGeoVolumefMasterVolume
TListfMaterials
TObjArrayfMatrices
Bool_t fMatrixReflection
 ! flag for GL reflections
Bool_t fMatrixTransform
 ! flag for using GL matrix
Int_t fMaxThreads
 ! Max number of threads
Int_t fMaxVisNodes
TListfMedia
Bool_t fMultiThread
 ! Flag for multi-threading
NavigatorsMap_t fNavigators
 ! Map between thread id's and navigator arrays
Int_t fNLevel
Int_t fNNodes
TObjArrayfNodes
Int_t fNpdg
Int_t fNPNEId
Int_t fNsegments
Int_t fNtracks
TObjArrayfOpticalSurfaces
TObjArrayfOverlaps
TVirtualGeoPainterfPainter
 ! current painter
TGeoVolumefPaintVolume
 ! volume currently painted
TGeoParallelWorldfParallelWorld
TString fParticleName
 ! particles to be drawn
TString fPath
 ! path to current node
Int_t fPdgId [1024]
TObjArrayfPdgNames
Bool_t fPhiCut
Double_t fPhimax
 ! highest range for phi cut
Double_t fPhimin
 ! lowest range for phi cut
TObjArrayfPhysicalNodes
ConstPropMap_t fProperties
Int_t fRaytraceMode
 ! Raytrace mode: 0=normal, 1=pass through, 2=transparent
TObjArrayfRegions
TObjArrayfShapes
Int_t fSizePNEId
TObjArrayfSkinSurfaces
Bool_t fStreamVoxels
Bool_t fTimeCut
Double_t fTmax
 ! upper time limit for tracks drawing
Double_t fTmin
 ! lower time limit for tracks drawing
TGeoNodefTopNode
 ! top physical node
TGeoVolumefTopVolume
 ! top level volume in geometry
TObjArrayfTracks
UInt_t fUniqueID
 object unique identifier
TObjArrayfUniqueVolumes
Bool_t fUsePWNav
TGeoVolumefUserPaintVolume
 !
Int_tfValuePNEId
Double_t fVisDensity
Int_t fVisLevel
Int_t fVisOption
TObjArrayfVolumes

Static Private Attributes

static Longptr_t fgDtorOnly = 0
 object for which to call dtor only (i.e. no delete)
static Bool_t fgLockNavigators
 ! Lock existing navigators
static Int_t fgNumThreads
 ! Number of registered threads
static Bool_t fgObjectStat = kTRUE
 if true keep track of objects in TObjectTable
static ThreadsMap_tfgThreadId
 ! Thread id's map
Inheritance diagram for TGeoManager:
TNamed TObject

Member Typedef Documentation

◆ ConstPropMap_t

typedef std::map<std::string, Double_t> TGeoManager::ConstPropMap_t
private

Definition at line 123 of file TGeoManager.h.

◆ NavigatorsMap_t

typedef std::map<std::thread::id, TGeoNavigatorArray *> TGeoManager::NavigatorsMap_t
private

Definition at line 118 of file TGeoManager.h.

◆ NavigatorsMapIt_t

typedef NavigatorsMap_t::iterator TGeoManager::NavigatorsMapIt_t
private

Definition at line 119 of file TGeoManager.h.

◆ ThreadsMap_t

typedef std::map<std::thread::id, Int_t> TGeoManager::ThreadsMap_t
private

Definition at line 120 of file TGeoManager.h.

◆ ThreadsMapIt_t

typedef ThreadsMap_t::const_iterator TGeoManager::ThreadsMapIt_t
private

Definition at line 121 of file TGeoManager.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protectedinherited
Enumerator
kOnlyPrepStep 

Used to request that the class specific implementation of TObject::Write just prepare the objects to be ready to be written but do not actually write them into the TBuffer.

This is just for example by TBufferMerger to request that the TTree inside the file calls TTree::FlushBaskets (outside of the merging lock) and TBufferMerger will later ask for the write (inside the merging lock). To take advantage of this feature the class needs to overload TObject::Write and use this enum value accordingly. (See TTree::Write and TObject::Write) Do not use, this feature will be migrate to the Merge function (See TClass and TTree::Merge)

Definition at line 106 of file TObject.h.

◆ anonymous enum

anonymous enum
inherited
Enumerator
kSingleKey 

write collection with single key

kOverwrite 

overwrite existing object with same name

kWriteDelete 

write object, then delete previous key with same name

Definition at line 99 of file TObject.h.

◆ anonymous enum

anonymous enum
inherited
Enumerator
kIsOnHeap 

object is on heap

kNotDeleted 

object has not been deleted

kZombie 

object ctor failed

kInconsistent 

class overload Hash but does call RecursiveRemove in destructor

kBitMask 

Definition at line 89 of file TObject.h.

◆ EDefaultUnits

Enumerator
kG4Units 
kRootUnits 

Definition at line 48 of file TGeoManager.h.

◆ EDeprecatedStatusBits

Enumerator
kObjInCanvas 

for backward compatibility only, use kMustCleanup

Definition at line 84 of file TObject.h.

◆ EStatusBits

enum TObject::EStatusBits
inherited
Enumerator
kCanDelete 

if object in a list can be deleted

kMustCleanup 

if object destructor must call RecursiveRemove()

kIsReferenced 

if object is referenced by a TRef or TRefArray

kHasUUID 

if object has a TUUID (its fUniqueID=UUIDNumber)

kCannotPick 

if object in a pad cannot be picked

kNoContextMenu 

if object does not want context menu

kInvalidObject 

if object ctor succeeded but object should not be used

Definition at line 70 of file TObject.h.

Constructor & Destructor Documentation

◆ TGeoManager() [1/3]

TGeoManager::TGeoManager ( const TGeoManager & )
protecteddelete

◆ TGeoManager() [2/3]

TGeoManager::TGeoManager ( )

◆ TGeoManager() [3/3]

TGeoManager::TGeoManager ( const char * name,
const char * title )

◆ ~TGeoManager()

TGeoManager::~TGeoManager ( )
override

Member Function Documentation

◆ AbstractMethod()

void TObject::AbstractMethod ( const char * method) const
inherited

Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it.

In other word, this method acts as a "runtime purely virtual" warning instead of a "compiler purely virtual" error.

Warning
This interface is a legacy function that is no longer recommended to be used by new development code.
Note
The name "AbstractMethod" does not imply that it's an abstract method in the strict C++ sense.

Definition at line 1149 of file TObject.cxx.

◆ AddBorderSurface()

void TGeoManager::AddBorderSurface ( TGeoBorderSurface * surf)

◆ AddGDMLMatrix()

void TGeoManager::AddGDMLMatrix ( TGDMLMatrix * mat)

◆ AddMaterial()

Int_t TGeoManager::AddMaterial ( const TGeoMaterial * material)

◆ AddNavigator()

TGeoNavigator * TGeoManager::AddNavigator ( )

◆ AddOpticalSurface()

void TGeoManager::AddOpticalSurface ( TGeoOpticalSurface * optsurf)

◆ AddOverlap()

Int_t TGeoManager::AddOverlap ( const TNamed * ovlp)

◆ AddProperty()

Bool_t TGeoManager::AddProperty ( const char * property,
Double_t value )

◆ AddRegion()

Int_t TGeoManager::AddRegion ( TGeoRegion * region)

◆ AddShape()

Int_t TGeoManager::AddShape ( const TGeoShape * shape)

◆ AddSkinSurface()

void TGeoManager::AddSkinSurface ( TGeoSkinSurface * surf)

◆ AddToTObjectTable()

void TObject::AddToTObjectTable ( TObject * op)
staticprivateinherited

Private helper function which will dispatch to TObjectTable::AddObj.

Included here to avoid circular dependency between header files.

Definition at line 195 of file TObject.cxx.

◆ AddTrack() [1/2]

Int_t TGeoManager::AddTrack ( Int_t id,
Int_t pdgcode,
TObject * particle = nullptr )

◆ AddTrack() [2/2]

Int_t TGeoManager::AddTrack ( TVirtualGeoTrack * track)

◆ AddTransformation()

Int_t TGeoManager::AddTransformation ( const TGeoMatrix * matrix)

◆ AddVolume()

Int_t TGeoManager::AddVolume ( TGeoVolume * volume)

◆ AnimateTracks()

void TGeoManager::AnimateTracks ( Double_t tmin = 0,
Double_t tmax = 5E-8,
Int_t nframes = 200,
Option_t * option = "/*" )

◆ AppendPad()

void TObject::AppendPad ( Option_t * option = "")
virtualinherited

Append graphics object to current pad.

In case no current pad is set yet, create a default canvas with the name "c1".

Definition at line 204 of file TObject.cxx.

◆ BombTranslation()

void TGeoManager::BombTranslation ( const Double_t * tr,
Double_t * bombtr )

◆ Browse()

void TGeoManager::Browse ( TBrowser * b)
overridevirtual

Browse object. May be overridden for another default action.

Reimplemented from TObject.

◆ BuildDefaultMaterials()

void TGeoManager::BuildDefaultMaterials ( )

◆ cd()

virtual Bool_t TGeoManager::cd ( const char * path = "")
virtual

◆ CdDown()

void TGeoManager::CdDown ( Int_t index)

◆ CdNext()

void TGeoManager::CdNext ( )

◆ CdNode()

void TGeoManager::CdNode ( Int_t nodeid)

◆ CdTop()

void TGeoManager::CdTop ( )

◆ CdUp()

void TGeoManager::CdUp ( )

◆ CheckBoundaryErrors()

void TGeoManager::CheckBoundaryErrors ( Int_t ntracks = 1000000,
Double_t radius = -1. )

◆ CheckBoundaryReference()

void TGeoManager::CheckBoundaryReference ( Int_t icheck = -1)

◆ CheckedHash()

ULong_t TObject::CheckedHash ( )
inlineinherited

Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.

The intent is for this routine to be called instead of directly calling the function Hash during "insert" operations. See TObject::HasInconsistenTObjectHash();

(*) The setup is consistent when all classes in the class hierarchy that overload TObject::Hash do call ROOT::CallRecursiveRemoveIfNeeded in their destructor. i.e. it is safe to call the Hash virtual function during the RecursiveRemove operation.

Definition at line 332 of file TObject.h.

◆ CheckGeometry()

void TGeoManager::CheckGeometry ( Option_t * option = "")

◆ CheckGeometryFull()

void TGeoManager::CheckGeometryFull ( Int_t ntracks = 1000000,
Double_t vx = 0.,
Double_t vy = 0.,
Double_t vz = 0.,
Option_t * option = "ob" )

◆ CheckOverlaps()

void TGeoManager::CheckOverlaps ( Double_t ovlp = 0.1,
Option_t * option = "" )

◆ CheckOverlapsBySampling()

void TGeoManager::CheckOverlapsBySampling ( Double_t ovlp,
Int_t npoints )

◆ CheckPath()

Bool_t TGeoManager::CheckPath ( const char * path) const

◆ CheckPoint()

void TGeoManager::CheckPoint ( Double_t x = 0,
Double_t y = 0,
Double_t z = 0,
Option_t * option = "",
Double_t safety = 0. )

◆ CheckShape()

void TGeoManager::CheckShape ( TGeoShape * shape,
Int_t testNo,
Int_t nsamples,
Option_t * option )

◆ Class()

TClass * TGeoManager::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

const char * TGeoManager::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

constexpr Version_t TGeoManager::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 617 of file TGeoManager.h.

◆ ClassName()

const char * TObject::ClassName ( ) const
virtualinherited

Returns name of class to which the object belongs.

Definition at line 227 of file TObject.cxx.

◆ CleanGarbage()

void TGeoManager::CleanGarbage ( )

◆ Clear()

void TNamed::Clear ( Option_t * option = "")
overridevirtualinherited

Set name and title to empty strings ("").

Reimplemented from TObject.

Reimplemented in TPrincipal, TProcessID, TStreamerInfo, TTask, TVirtualFitter, and TVirtualStreamerInfo.

Definition at line 63 of file TNamed.cxx.

◆ ClearAttributes()

void TGeoManager::ClearAttributes ( )

◆ ClearNavigators()

void TGeoManager::ClearNavigators ( )

◆ ClearOverlaps()

void TGeoManager::ClearOverlaps ( )

◆ ClearPhysicalNodes()

void TGeoManager::ClearPhysicalNodes ( Bool_t mustdelete = kFALSE)

◆ ClearShape()

void TGeoManager::ClearShape ( const TGeoShape * shape)

◆ ClearThreadData()

void TGeoManager::ClearThreadData ( ) const

◆ ClearThreadsMap()

void TGeoManager::ClearThreadsMap ( )
static

◆ ClearTracks()

void TGeoManager::ClearTracks ( )
inline

Definition at line 427 of file TGeoManager.h.

◆ Clone()

TObject * TNamed::Clone ( const char * newname = "") const
overridevirtualinherited

Make a clone of an object using the Streamer facility.

If newname is specified, this will be the name of the new object.

Reimplemented from TObject.

Reimplemented in TStreamerInfo, and TTreeIndex.

Definition at line 73 of file TNamed.cxx.

◆ CloseGeometry()

void TGeoManager::CloseGeometry ( Option_t * option = "d")

◆ Compare()

Int_t TNamed::Compare ( const TObject * obj) const
overridevirtualinherited

Compare two TNamed objects.

Returns 0 when equal, -1 when this is smaller and +1 when bigger (like strcmp).

Reimplemented from TObject.

Reimplemented in TStructNodeProperty.

Definition at line 84 of file TNamed.cxx.

◆ ConvertReflections()

void TGeoManager::ConvertReflections ( )

◆ Copy()

void TNamed::Copy ( TObject & named) const
overridevirtualinherited

Copy this to obj.

Reimplemented from TObject.

Reimplemented in TPieSlice, TProfile2D, TProfile3D, TProfile, TStyle, TSystemDirectory, TSystemFile, TText, and TXTRU.

Definition at line 93 of file TNamed.cxx.

◆ CountLevels()

void TGeoManager::CountLevels ( )

◆ CountNodes()

Int_t TGeoManager::CountNodes ( const TGeoVolume * vol = nullptr,
Int_t nlevels = 10000,
Int_t option = 0 )

◆ CreateParallelWorld()

TGeoParallelWorld * TGeoManager::CreateParallelWorld ( const char * name)

◆ CreateThreadData()

void TGeoManager::CreateThreadData ( ) const

◆ CrossBoundaryAndLocate()

TGeoNode * TGeoManager::CrossBoundaryAndLocate ( Bool_t downwards,
TGeoNode * skipnode )

◆ DeclFileName()

const char * TGeoManager::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 617 of file TGeoManager.h.

◆ DefaultAngles()

void TGeoManager::DefaultAngles ( )

◆ DefaultColors()

void TGeoManager::DefaultColors ( const TGeoColorScheme * cs = nullptr)

◆ Delete()

void TObject::Delete ( Option_t * option = "")
virtualinherited

◆ DisableInactiveVolumes()

void TGeoManager::DisableInactiveVolumes ( )
inline

Definition at line 374 of file TGeoManager.h.

◆ DistancetoPrimitive()

◆ Division()

TGeoVolume * TGeoManager::Division ( const char * name,
const char * mother,
Int_t iaxis,
Int_t ndiv,
Double_t start,
Double_t step,
Int_t numed = 0,
Option_t * option = "" )

◆ DoBackupState()

void TGeoManager::DoBackupState ( )

◆ DoError()

void TObject::DoError ( int level,
const char * location,
const char * fmt,
va_list va ) const
protectedvirtualinherited

Interface to ErrorHandler (protected).

Reimplemented in TThread, and TTreeViewer.

Definition at line 1059 of file TObject.cxx.

◆ DoRestoreState()

void TGeoManager::DoRestoreState ( )

◆ Draw()

◆ DrawClass()

void TObject::DrawClass ( ) const
virtualinherited

Draw class inheritance tree of the class to which this object belongs.

If a class B inherits from a class A, description of B is drawn on the right side of description of A. Member functions overridden by B are shown in class A with a blue line crossing-out the corresponding member function. The following picture is the class inheritance tree of class TPaveLabel:

Reimplemented in TGFrame, TSystemDirectory, and TSystemFile.

Definition at line 308 of file TObject.cxx.

◆ DrawClone()

TObject * TObject::DrawClone ( Option_t * option = "") const
virtualinherited

Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).

If pad was not selected - gPad will be used.

Note
For histograms, use the more specialised TH1::DrawCopy().

Reimplemented in TAxis, TCanvas, TGFrame, TSystemDirectory, and TSystemFile.

Definition at line 319 of file TObject.cxx.

◆ DrawCurrentPoint()

void TGeoManager::DrawCurrentPoint ( Int_t color = 2)

◆ DrawPath()

void TGeoManager::DrawPath ( const char * path,
Option_t * option = "" )

◆ DrawTracks()

void TGeoManager::DrawTracks ( Option_t * option = "")

◆ Dump()

void TObject::Dump ( ) const
virtualinherited

Dump contents of object on stdout.

Using the information in the object dictionary (class TClass) each data member is interpreted. If a data member is a pointer, the pointer value is printed

The following output is the Dump of a TArrow object:

fAngle 0 Arrow opening angle (degrees)
fArrowSize 0.2 Arrow Size
fOption.*fData
fX1 0.1 X of 1st point
fY1 0.15 Y of 1st point
fX2 0.67 X of 2nd point
fY2 0.83 Y of 2nd point
fUniqueID 0 object unique identifier
fBits 50331648 bit field status word
fLineColor 1 line color
fLineStyle 1 line style
fLineWidth 1 line width
fFillColor 19 fill area color
fFillStyle 1001 fill area style
#define X(type, name)
Option_t Option_t TPoint TPoint angle
Option_t Option_t width
Option_t Option_t style
UChar_t * fBits
! bits used for voxelization
UInt_t fUniqueID
object unique identifier
Definition TObject.h:46
TLine * line

Reimplemented in TClass, TCollection, TGFrame, TGPack, and TSystemFile.

Definition at line 367 of file TObject.cxx.

◆ Edit()

virtual void TGeoManager::Edit ( Option_t * option = "")
virtual

◆ EnableInactiveVolumes()

void TGeoManager::EnableInactiveVolumes ( )
inline

Definition at line 375 of file TGeoManager.h.

◆ Error()

void TObject::Error ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue error message.

Use "location" to specify the method where the error occurred. Accepts standard printf formatting arguments.

Reimplemented in TFitResult.

Definition at line 1098 of file TObject.cxx.

◆ Execute() [1/2]

void TObject::Execute ( const char * method,
const char * params,
Int_t * error = nullptr )
virtualinherited

Execute method on this object with the given parameter string, e.g.

"3.14,1,\"text\"".

Reimplemented in ROOT::R::TRInterface, TCling, TContextMenu, TInterpreter, and TMethodCall.

Definition at line 378 of file TObject.cxx.

◆ Execute() [2/2]

void TObject::Execute ( TMethod * method,
TObjArray * params,
Int_t * error = nullptr )
virtualinherited

Execute method on this object with parameters stored in the TObjArray.

The TObjArray should contain an argv vector like:

argv[0] ... argv[n] = the list of TObjString parameters
Collectable string class.
Definition TObjString.h:28
const Int_t n
Definition legend1.C:16

Reimplemented in ROOT::R::TRInterface, TCling, TContextMenu, TInterpreter, and TMethodCall.

Definition at line 398 of file TObject.cxx.

◆ ExecuteEvent()

void TGeoManager::ExecuteEvent ( Int_t event,
Int_t px,
Int_t py )
overridevirtual

Execute action corresponding to an event at (px,py).

This method must be overridden if an object can react to graphics events.

Reimplemented from TObject.

◆ Export()

virtual Int_t TGeoManager::Export ( const char * filename,
const char * name = "",
Option_t * option = "vg" )
virtual

◆ Fatal()

void TObject::Fatal ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue fatal error message.

Use "location" to specify the method where the fatal error occurred. Accepts standard printf formatting arguments.

Definition at line 1126 of file TObject.cxx.

◆ FillBuffer()

void TNamed::FillBuffer ( char *& buffer)
virtualinherited

Encode TNamed into output buffer.

Reimplemented in TDirectoryFile, TFile, TKey, TKeySQL, TKeyXML, TSQLFile, and TXMLFile.

Definition at line 103 of file TNamed.cxx.

◆ FindDuplicateMaterial()

TGeoMaterial * TGeoManager::FindDuplicateMaterial ( const TGeoMaterial * mat) const

◆ FindNextBoundary()

TGeoNode * TGeoManager::FindNextBoundary ( Double_t stepmax = TGeoShape::Big(),
const char * path = "",
Bool_t frombdr = kFALSE )

◆ FindNextBoundaryAndStep()

TGeoNode * TGeoManager::FindNextBoundaryAndStep ( Double_t stepmax = TGeoShape::Big(),
Bool_t compsafe = kFALSE )

◆ FindNextDaughterBoundary()

TGeoNode * TGeoManager::FindNextDaughterBoundary ( Double_t * point,
Double_t * dir,
Int_t & idaughter,
Bool_t compmatrix = kFALSE )

◆ FindNode() [1/2]

TGeoNode * TGeoManager::FindNode ( Bool_t safe_start = kTRUE)

◆ FindNode() [2/2]

TGeoNode * TGeoManager::FindNode ( Double_t x,
Double_t y,
Double_t z )

◆ FindNormal()

Double_t * TGeoManager::FindNormal ( Bool_t forward = kTRUE)

◆ FindNormalFast()

Double_t * TGeoManager::FindNormalFast ( )

◆ FindObject() [1/2]

TObject * TObject::FindObject ( const char * name) const
virtualinherited

Must be redefined in derived classes.

This function is typically used with TCollections, but can also be used to find an object by name inside this object.

Reimplemented in RooAbsCollection, RooLinkedList, TBtree, TCollection, TDirectory, TFolder, TGeometry, TGraph2D, TGraph, TH1, THashList, THashTable, THbookFile, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TListOfTypes, TMap, TObjArray, TPad, TROOT, TViewPubDataMembers, and TViewPubFunctions.

Definition at line 425 of file TObject.cxx.

◆ FindObject() [2/2]

TObject * TObject::FindObject ( const TObject * obj) const
virtualinherited

Must be redefined in derived classes.

This function is typically used with TCollections, but can also be used to find an object inside this object.

Reimplemented in RooAbsCollection, RooLinkedList, TBtree, TCollection, TDirectory, TFolder, TGeometry, TGraph2D, TGraph, TH1, THashList, THashTable, THbookFile, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TListOfTypes, TMap, TObjArray, TPad, TROOT, TViewPubDataMembers, and TViewPubFunctions.

Definition at line 435 of file TObject.cxx.

◆ FindTrackWithId()

TVirtualGeoTrack * TGeoManager::FindTrackWithId ( Int_t id) const

◆ FindVolumeFast()

TGeoVolume * TGeoManager::FindVolumeFast ( const char * name,
Bool_t multi = kFALSE )

◆ GetAlignableEntry() [1/2]

TGeoPNEntry * TGeoManager::GetAlignableEntry ( const char * name) const

◆ GetAlignableEntry() [2/2]

TGeoPNEntry * TGeoManager::GetAlignableEntry ( Int_t index) const

◆ GetAlignableEntryByUID()

TGeoPNEntry * TGeoManager::GetAlignableEntryByUID ( Int_t uid) const

◆ GetBits()

UChar_t * TGeoManager::GetBits ( )
inline

Definition at line 444 of file TGeoManager.h.

◆ GetBombFactors()

void TGeoManager::GetBombFactors ( Double_t & bombx,
Double_t & bomby,
Double_t & bombz,
Double_t & bombr ) const

◆ GetBombMode()

Int_t TGeoManager::GetBombMode ( ) const
inline

Definition at line 218 of file TGeoManager.h.

◆ GetBorderSurface()

TGeoBorderSurface * TGeoManager::GetBorderSurface ( const char * name) const

◆ GetBranchNames()

void TGeoManager::GetBranchNames ( Int_t * names) const

◆ GetBranchNumbers()

void TGeoManager::GetBranchNumbers ( Int_t * copyNumbers,
Int_t * volumeNumbers ) const

◆ GetBranchOnlys()

void TGeoManager::GetBranchOnlys ( Int_t * isonly) const

◆ GetByteCount()

virtual Int_t TGeoManager::GetByteCount ( Option_t * option = nullptr)
virtual

◆ GetCache()

TGeoNodeCache * TGeoManager::GetCache ( ) const
inline

Definition at line 596 of file TGeoManager.h.

◆ GetChecker()

TVirtualGeoChecker * TGeoManager::GetChecker ( ) const
inline

Definition at line 217 of file TGeoManager.h.

◆ GetCldir()

const Double_t * TGeoManager::GetCldir ( ) const
inline

Definition at line 517 of file TGeoManager.h.

◆ GetCldirChecked()

const Double_t * TGeoManager::GetCldirChecked ( ) const
inline

Definition at line 516 of file TGeoManager.h.

◆ GetClippingShape()

TGeoShape * TGeoManager::GetClippingShape ( ) const
inline

Definition at line 212 of file TGeoManager.h.

◆ GetCurrentDirection()

const Double_t * TGeoManager::GetCurrentDirection ( ) const
inline

Definition at line 514 of file TGeoManager.h.

◆ GetCurrentMatrix()

TGeoHMatrix * TGeoManager::GetCurrentMatrix ( ) const
inline

Definition at line 508 of file TGeoManager.h.

◆ GetCurrentNavigator()

TGeoNavigator * TGeoManager::GetCurrentNavigator ( ) const

◆ GetCurrentNode()

TGeoNode * TGeoManager::GetCurrentNode ( ) const
inline

Definition at line 511 of file TGeoManager.h.

◆ GetCurrentNodeId()

Int_t TGeoManager::GetCurrentNodeId ( ) const

◆ GetCurrentPoint()

const Double_t * TGeoManager::GetCurrentPoint ( ) const
inline

Definition at line 513 of file TGeoManager.h.

◆ GetCurrentTrack()

TVirtualGeoTrack * TGeoManager::GetCurrentTrack ( )
inline

Definition at line 379 of file TGeoManager.h.

◆ GetCurrentVolume()

TGeoVolume * TGeoManager::GetCurrentVolume ( ) const
inline

Definition at line 515 of file TGeoManager.h.

◆ GetDefaultUnits()

EDefaultUnits TGeoManager::GetDefaultUnits ( )
static

◆ GetDrawOption()

Option_t * TObject::GetDrawOption ( ) const
virtualinherited

Get option used by the graphics system to draw this object.

Note that before calling object.GetDrawOption(), you must have called object.Draw(..) before in the current pad.

Reimplemented in TBrowser, TFitEditor, TGedFrame, TGFileBrowser, TRootBrowser, and TRootBrowserLite.

Definition at line 445 of file TObject.cxx.

◆ GetDtorOnly()

Longptr_t TObject::GetDtorOnly ( )
staticinherited

Return destructor only flag.

Definition at line 1196 of file TObject.cxx.

◆ GetElementTable()

TGeoElementTable * TGeoManager::GetElementTable ( )

◆ GetExportPrecision()

UInt_t TGeoManager::GetExportPrecision ( )
static

◆ GetGDMLMatrix()

TGDMLMatrix * TGeoManager::GetGDMLMatrix ( const char * name) const

◆ GetGeomChecker()

TVirtualGeoChecker * TGeoManager::GetGeomChecker ( )

◆ GetGeomPainter()

TVirtualGeoPainter * TGeoManager::GetGeomPainter ( )

◆ GetGLMatrix()

TGeoHMatrix * TGeoManager::GetGLMatrix ( ) const
inline

Definition at line 509 of file TGeoManager.h.

◆ GetHMatrix()

TGeoHMatrix * TGeoManager::GetHMatrix ( )

◆ GetIconName()

const char * TObject::GetIconName ( ) const
virtualinherited

Returns mime type name of object.

Used by the TBrowser (via TGMimeTypes class). Override for class of which you would like to have different icons for objects of the same class.

Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TASImage, TBranch, TBranchElement, TGeoVolume, TGMainFrame, TKey, TMethodBrowsable, TSystemFile, and TVirtualBranchBrowsable.

Definition at line 472 of file TObject.cxx.

◆ GetLastPoint()

const Double_t * TGeoManager::GetLastPoint ( ) const
inline

Definition at line 384 of file TGeoManager.h.

◆ GetLastSafety()

Double_t TGeoManager::GetLastSafety ( ) const
inline

Definition at line 397 of file TGeoManager.h.

◆ GetLastTrack()

TVirtualGeoTrack * TGeoManager::GetLastTrack ( )
inline

Definition at line 380 of file TGeoManager.h.

◆ GetLevel()

Int_t TGeoManager::GetLevel ( ) const
inline

Definition at line 519 of file TGeoManager.h.

◆ GetListOfBorderSurfaces()

TObjArray * TGeoManager::GetListOfBorderSurfaces ( ) const
inline

Definition at line 494 of file TGeoManager.h.

◆ GetListOfGDMLMatrices()

TObjArray * TGeoManager::GetListOfGDMLMatrices ( ) const
inline

Definition at line 491 of file TGeoManager.h.

◆ GetListOfGShapes()

TObjArray * TGeoManager::GetListOfGShapes ( ) const
inline

Definition at line 488 of file TGeoManager.h.

◆ GetListOfGVolumes()

TObjArray * TGeoManager::GetListOfGVolumes ( ) const
inline

Definition at line 486 of file TGeoManager.h.

◆ GetListOfMaterials()

TList * TGeoManager::GetListOfMaterials ( ) const
inline

Definition at line 483 of file TGeoManager.h.

◆ GetListOfMatrices()

TObjArray * TGeoManager::GetListOfMatrices ( ) const
inline

Definition at line 482 of file TGeoManager.h.

◆ GetListOfMedia()

TList * TGeoManager::GetListOfMedia ( ) const
inline

Definition at line 484 of file TGeoManager.h.

◆ GetListOfNavigators()

TGeoNavigatorArray * TGeoManager::GetListOfNavigators ( ) const

◆ GetListOfNodes()

TObjArray * TGeoManager::GetListOfNodes ( )
inline

Definition at line 479 of file TGeoManager.h.

◆ GetListOfOpticalSurfaces()

TObjArray * TGeoManager::GetListOfOpticalSurfaces ( ) const
inline

Definition at line 492 of file TGeoManager.h.

◆ GetListOfOverlaps()

TObjArray * TGeoManager::GetListOfOverlaps ( )
inline

Definition at line 481 of file TGeoManager.h.

◆ GetListOfPhysicalNodes()

TObjArray * TGeoManager::GetListOfPhysicalNodes ( )
inline

Definition at line 480 of file TGeoManager.h.

◆ GetListOfRegions()

TObjArray * TGeoManager::GetListOfRegions ( ) const
inline

Definition at line 495 of file TGeoManager.h.

◆ GetListOfShapes()

TObjArray * TGeoManager::GetListOfShapes ( ) const
inline

Definition at line 487 of file TGeoManager.h.

◆ GetListOfSkinSurfaces()

TObjArray * TGeoManager::GetListOfSkinSurfaces ( ) const
inline

Definition at line 493 of file TGeoManager.h.

◆ GetListOfTracks()

TObjArray * TGeoManager::GetListOfTracks ( ) const
inline

Definition at line 490 of file TGeoManager.h.

◆ GetListOfUVolumes()

TObjArray * TGeoManager::GetListOfUVolumes ( ) const
inline

Definition at line 489 of file TGeoManager.h.

◆ GetListOfVolumes()

TObjArray * TGeoManager::GetListOfVolumes ( ) const
inline

Definition at line 485 of file TGeoManager.h.

◆ GetMasterVolume()

TGeoVolume * TGeoManager::GetMasterVolume ( ) const
inline

Definition at line 523 of file TGeoManager.h.

◆ GetMaterial() [1/2]

TGeoMaterial * TGeoManager::GetMaterial ( const char * matname) const

◆ GetMaterial() [2/2]

TGeoMaterial * TGeoManager::GetMaterial ( Int_t id) const

◆ GetMaterialIndex()

Int_t TGeoManager::GetMaterialIndex ( const char * matname) const

◆ GetMaxDaughters()

Int_t TGeoManager::GetMaxDaughters ( )
static

◆ GetMaxLevel()

Int_t TGeoManager::GetMaxLevel ( ) const
inline

Definition at line 520 of file TGeoManager.h.

◆ GetMaxLevels()

Int_t TGeoManager::GetMaxLevels ( )
static

◆ GetMaxThreads()

Int_t TGeoManager::GetMaxThreads ( ) const
inline

Definition at line 450 of file TGeoManager.h.

◆ GetMaxVisNodes()

Int_t TGeoManager::GetMaxVisNodes ( ) const
inline

Definition at line 220 of file TGeoManager.h.

◆ GetMaxXtruVert()

Int_t TGeoManager::GetMaxXtruVert ( )
static

◆ GetMedium() [1/2]

TGeoMedium * TGeoManager::GetMedium ( const char * medium) const

◆ GetMedium() [2/2]

TGeoMedium * TGeoManager::GetMedium ( Int_t numed) const

◆ GetMother()

TGeoNode * TGeoManager::GetMother ( Int_t up = 1) const
inline

Definition at line 505 of file TGeoManager.h.

◆ GetMotherMatrix()

TGeoHMatrix * TGeoManager::GetMotherMatrix ( Int_t up = 1) const
inline

Definition at line 506 of file TGeoManager.h.

◆ GetNAlignable()

Int_t TGeoManager::GetNAlignable ( Bool_t with_uid = kFALSE) const

◆ GetName()

const char * TNamed::GetName ( ) const
inlineoverridevirtualinherited

Returns name of object.

This default method returns the class name. Classes that give objects a name should override this method.

Reimplemented from TObject.

Definition at line 49 of file TNamed.h.

◆ GetNextNode()

TGeoNode * TGeoManager::GetNextNode ( ) const
inline

Definition at line 504 of file TGeoManager.h.

◆ GetNmany()

Int_t TGeoManager::GetNmany ( ) const
inline

Definition at line 201 of file TGeoManager.h.

◆ GetNNodes()

Int_t TGeoManager::GetNNodes ( )
inline

Definition at line 590 of file TGeoManager.h.

◆ GetNode()

TGeoNode * TGeoManager::GetNode ( Int_t level) const
inline

Definition at line 502 of file TGeoManager.h.

◆ GetNodeId()

Int_t TGeoManager::GetNodeId ( ) const
inline

Definition at line 503 of file TGeoManager.h.

◆ GetNormal()

const Double_t * TGeoManager::GetNormal ( ) const
inline

Definition at line 518 of file TGeoManager.h.

◆ GetNproperties()

Int_t TGeoManager::GetNproperties ( ) const
inline

Definition at line 184 of file TGeoManager.h.

◆ GetNregions()

int TGeoManager::GetNregions ( ) const
inline

Definition at line 587 of file TGeoManager.h.

◆ GetNsegments()

Int_t TGeoManager::GetNsegments ( ) const

◆ GetNtracks()

Int_t TGeoManager::GetNtracks ( ) const
inline

Definition at line 378 of file TGeoManager.h.

◆ GetNumThreads()

Int_t TGeoManager::GetNumThreads ( )
static

◆ GetObjectInfo()

char * TObject::GetObjectInfo ( Int_t px,
Int_t py ) const
virtualinherited

Returns string containing info about the object at position (px,py).

This method is typically overridden by classes of which the objects can report peculiarities for different positions. Returned string will be re-used (lock in MT environment).

Reimplemented in TASImage, TAxis3D, TColorWheel, TF1, TF2, TFileDrawMap, TGeoNode, TGeoTrack, TGeoVolume, TGL5DDataSet, TGLHistPainter, TGLParametricEquation, TGLTH3Composition, TGraph, TH1, THistPainter, TNode, TPaletteAxis, TParallelCoordVar, and TVirtualHistPainter.

Definition at line 491 of file TObject.cxx.

◆ GetObjectStat()

Bool_t TObject::GetObjectStat ( )
staticinherited

Get status of object stat flag.

Definition at line 1181 of file TObject.cxx.

◆ GetOpticalSurface()

TGeoOpticalSurface * TGeoManager::GetOpticalSurface ( const char * name) const

◆ GetOption()

virtual Option_t * TObject::GetOption ( ) const
inlinevirtualinherited

◆ GetPainter()

TVirtualGeoPainter * TGeoManager::GetPainter ( ) const
inline

Definition at line 215 of file TGeoManager.h.

◆ GetPaintVolume()

TGeoVolume * TGeoManager::GetPaintVolume ( ) const
inline

Definition at line 223 of file TGeoManager.h.

◆ GetParallelWorld()

TGeoParallelWorld * TGeoManager::GetParallelWorld ( ) const
inline

Definition at line 613 of file TGeoManager.h.

◆ GetParentTrackOfId()

TVirtualGeoTrack * TGeoManager::GetParentTrackOfId ( Int_t id) const

◆ GetParticleName()

const char * TGeoManager::GetParticleName ( ) const
inline

Definition at line 273 of file TGeoManager.h.

◆ GetPath()

const char * TGeoManager::GetPath ( ) const

◆ GetPdgName()

const char * TGeoManager::GetPdgName ( Int_t pdg) const

◆ GetPhysicalNode()

TGeoPhysicalNode * TGeoManager::GetPhysicalNode ( Int_t i) const
inline

Definition at line 526 of file TGeoManager.h.

◆ GetProperty() [1/2]

Double_t TGeoManager::GetProperty ( const char * name,
Bool_t * error = nullptr ) const

◆ GetProperty() [2/2]

Double_t TGeoManager::GetProperty ( size_t i,
TString & name,
Bool_t * error = nullptr ) const

◆ GetRegion()

TGeoRegion * TGeoManager::GetRegion ( int i)
inline

Definition at line 588 of file TGeoManager.h.

◆ GetRTmode()

Int_t TGeoManager::GetRTmode ( ) const
inline

Definition at line 452 of file TGeoManager.h.

◆ GetSafeDistance()

Double_t TGeoManager::GetSafeDistance ( ) const
inline

Definition at line 396 of file TGeoManager.h.

◆ GetSafeLevel()

Int_t TGeoManager::GetSafeLevel ( ) const

◆ GetSkinSurface()

TGeoSkinSurface * TGeoManager::GetSkinSurface ( const char * name) const

◆ GetStackLevel()

Int_t TGeoManager::GetStackLevel ( ) const
inline

Definition at line 522 of file TGeoManager.h.

◆ GetStep()

Double_t TGeoManager::GetStep ( ) const
inline

Definition at line 398 of file TGeoManager.h.

◆ GetTitle()

const char * TNamed::GetTitle ( ) const
inlineoverridevirtualinherited

Returns title of object.

This default method returns the class title (i.e. description). Classes that give objects a title should override this method.

Reimplemented from TObject.

Definition at line 50 of file TNamed.h.

◆ GetTmax()

Double_t TGeoManager::GetTmax ( ) const
inline

Definition at line 222 of file TGeoManager.h.

◆ GetTminTmax()

Bool_t TGeoManager::GetTminTmax ( Double_t & tmin,
Double_t & tmax ) const

◆ GetTopNode()

TGeoNode * TGeoManager::GetTopNode ( ) const
inline

Definition at line 525 of file TGeoManager.h.

◆ GetTopVolume()

TGeoVolume * TGeoManager::GetTopVolume ( ) const
inline

Definition at line 524 of file TGeoManager.h.

◆ GetTrack()

TVirtualGeoTrack * TGeoManager::GetTrack ( Int_t index)
inline

Definition at line 385 of file TGeoManager.h.

◆ GetTrackIndex()

Int_t TGeoManager::GetTrackIndex ( Int_t id) const

◆ GetTrackOfId()

TVirtualGeoTrack * TGeoManager::GetTrackOfId ( Int_t id) const

◆ GetUID()

Int_t TGeoManager::GetUID ( const char * volname) const

◆ GetUniqueID()

UInt_t TObject::GetUniqueID ( ) const
virtualinherited

Return the unique object id.

Definition at line 480 of file TObject.cxx.

◆ GetUserPaintVolume()

TGeoVolume * TGeoManager::GetUserPaintVolume ( ) const
inline

Definition at line 224 of file TGeoManager.h.

◆ GetVerboseLevel()

Int_t TGeoManager::GetVerboseLevel ( )
static

◆ GetVirtualLevel()

Int_t TGeoManager::GetVirtualLevel ( )

◆ GetVisDensity()

Double_t TGeoManager::GetVisDensity ( ) const
inline

Definition at line 225 of file TGeoManager.h.

◆ GetVisLevel()

Int_t TGeoManager::GetVisLevel ( ) const

◆ GetVisOption()

Int_t TGeoManager::GetVisOption ( ) const

◆ GetVolume() [1/2]

TGeoVolume * TGeoManager::GetVolume ( const char * name) const

◆ GetVolume() [2/2]

TGeoVolume * TGeoManager::GetVolume ( Int_t uid) const
inline

Definition at line 586 of file TGeoManager.h.

◆ GotoSafeLevel()

Bool_t TGeoManager::GotoSafeLevel ( )

◆ HandleTimer()

Bool_t TObject::HandleTimer ( TTimer * timer)
virtualinherited

Execute action in response of a timer timing out.

This method must be overridden if an object has to react to timers.

Reimplemented in TGCommandPlugin, TGDNDManager, TGFileContainer, TGHtml, TGLEventHandler, TGPopupMenu, TGraphTime, TGScrollBar, TGShutter, TGTextEdit, TGTextEditor, TGTextEntry, TGTextView, TGToolTip, TGuiBldDragManager, TGWindow, and TTreeViewer.

Definition at line 516 of file TObject.cxx.

◆ Hash()

ULong_t TNamed::Hash ( ) const
inlineoverridevirtualinherited

Return hash value for this object.

Note: If this routine is overloaded in a derived class, this derived class should also add

void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.
Definition TROOT.h:406

Otherwise, when RecursiveRemove is called (by ~TObject or example) for this type of object, the transversal of THashList and THashTable containers will will have to be done without call Hash (and hence be linear rather than logarithmic complexity). You will also see warnings like

Error in <ROOT::Internal::TCheckHashRecursiveRemoveConsistency::CheckRecursiveRemove>: The class SomeName overrides
TObject::Hash but does not call TROOT::RecursiveRemove in its destructor.
ULong_t Hash() const override
Return hash value for this object.
Definition TNamed.h:51
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Definition TObject.cxx:1098
TObject()
TObject constructor.
Definition TObject.h:259
void RecursiveRemove(TObject *obj) override
Recursively remove this object from the list of Cleanups.
Definition TROOT.cxx:2651

Reimplemented from TObject.

Definition at line 51 of file TNamed.h.

◆ HasInconsistentHash()

Bool_t TObject::HasInconsistentHash ( ) const
inlineinherited

Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.

missing call to RecursiveRemove in destructor).

Note: Since the consistency is only tested for during inserts, this routine will return true for object that have never been inserted whether or not they have a consistent setup. This has no negative side-effect as searching for the object with the right or wrong Hash will always yield a not-found answer (Since anyway no hash can be guaranteed unique, there is always a check)

Definition at line 366 of file TObject.h.

◆ Import()

TGeoManager * TGeoManager::Import ( const char * filename,
const char * name = "",
Option_t * option = "" )
static

◆ Info()

void TObject::Info ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue info message.

Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.

Definition at line 1072 of file TObject.cxx.

◆ InheritsFrom() [1/2]

Bool_t TObject::InheritsFrom ( const char * classname) const
virtualinherited

Returns kTRUE if object inherits from class "classname".

Reimplemented in TClass.

Definition at line 549 of file TObject.cxx.

◆ InheritsFrom() [2/2]

Bool_t TObject::InheritsFrom ( const TClass * cl) const
virtualinherited

Returns kTRUE if object inherits from TClass cl.

Reimplemented in TClass.

Definition at line 557 of file TObject.cxx.

◆ Init()

void TGeoManager::Init ( )
private

◆ InitArrayPNE()

Bool_t TGeoManager::InitArrayPNE ( ) const
private

◆ InitTrack() [1/2]

TGeoNode * TGeoManager::InitTrack ( const Double_t * point,
const Double_t * dir )

◆ InitTrack() [2/2]

TGeoNode * TGeoManager::InitTrack ( Double_t x,
Double_t y,
Double_t z,
Double_t nx,
Double_t ny,
Double_t nz )

◆ InsertPNEId()

Bool_t TGeoManager::InsertPNEId ( Int_t uid,
Int_t ientry )
private

◆ Inspect()

void TObject::Inspect ( ) const
virtualinherited

Dump contents of this object in a graphics canvas.

Same action as Dump but in a graphical form. In addition pointers to other objects can be followed.

The following picture is the Inspect of a histogram object:

Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TGFrame, TInspectorObject, and TSystemFile.

Definition at line 570 of file TObject.cxx.

◆ InspectState()

void TGeoManager::InspectState ( ) const

◆ InvalidateMeshCaches()

void TGeoManager::InvalidateMeshCaches ( )

◆ InvertBit()

void TObject::InvertBit ( UInt_t f)
inlineinherited

Definition at line 206 of file TObject.h.

◆ IsA()

TClass * TGeoManager::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TObject.

Definition at line 617 of file TGeoManager.h.

◆ IsActivityEnabled()

Bool_t TGeoManager::IsActivityEnabled ( ) const
inline

Definition at line 421 of file TGeoManager.h.

◆ IsAnimatingTracks()

Bool_t TGeoManager::IsAnimatingTracks ( ) const
inline

Definition at line 400 of file TGeoManager.h.

◆ IsCheckingOverlaps()

Bool_t TGeoManager::IsCheckingOverlaps ( ) const
inline

Definition at line 401 of file TGeoManager.h.

◆ IsCleaning()

Bool_t TGeoManager::IsCleaning ( ) const
inline

Definition at line 476 of file TGeoManager.h.

◆ IsClosed()

Bool_t TGeoManager::IsClosed ( ) const
inline

Definition at line 309 of file TGeoManager.h.

◆ IsCurrentOverlapping()

Bool_t TGeoManager::IsCurrentOverlapping ( ) const
inline

Definition at line 413 of file TGeoManager.h.

◆ IsDestructed()

Bool_t TObject::IsDestructed ( ) const
inlineinherited

IsDestructed.

Note
This function must be non-virtual as it can be used on destructed (but not yet modified) memory. This is used for example in TClonesArray to record the element that have been destructed but not deleted and thus are ready for re-use (by operator new with placement).
Returns
true if this object's destructor has been run.

Definition at line 186 of file TObject.h.

◆ IsDrawingExtra()

Bool_t TGeoManager::IsDrawingExtra ( ) const
inline

Definition at line 230 of file TGeoManager.h.

◆ IsEntering()

Bool_t TGeoManager::IsEntering ( ) const
inline

Definition at line 414 of file TGeoManager.h.

◆ IsEqual()

Bool_t TObject::IsEqual ( const TObject * obj) const
virtualinherited

Default equal comparison (objects are equal if they have the same address in memory).

More complicated classes might want to override this function.

Reimplemented in TGObject, TObjString, TPair, and TQCommand.

Definition at line 589 of file TObject.cxx.

◆ IsExiting()

Bool_t TGeoManager::IsExiting ( ) const
inline

Definition at line 415 of file TGeoManager.h.

◆ IsFolder()

Bool_t TGeoManager::IsFolder ( ) const
inlineoverridevirtual

Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).

Reimplemented from TObject.

Definition at line 204 of file TGeoManager.h.

◆ IsInPhiRange()

Bool_t TGeoManager::IsInPhiRange ( ) const

◆ IsLocked()

Bool_t TGeoManager::IsLocked ( )
static

◆ IsLoopingVolumes()

Bool_t TGeoManager::IsLoopingVolumes ( ) const
inlineprivate

Definition at line 157 of file TGeoManager.h.

◆ IsMatrixReflection()

Bool_t TGeoManager::IsMatrixReflection ( ) const
inline

Definition at line 403 of file TGeoManager.h.

◆ IsMatrixTransform()

Bool_t TGeoManager::IsMatrixTransform ( ) const
inline

Definition at line 402 of file TGeoManager.h.

◆ IsMultiThread()

Bool_t TGeoManager::IsMultiThread ( ) const
inline

Definition at line 454 of file TGeoManager.h.

◆ IsNodeSelectable()

Bool_t TGeoManager::IsNodeSelectable ( ) const
inline

Definition at line 231 of file TGeoManager.h.

◆ IsNullStep()

Bool_t TGeoManager::IsNullStep ( ) const
inline

Definition at line 420 of file TGeoManager.h.

◆ IsOnBoundary()

Bool_t TGeoManager::IsOnBoundary ( ) const
inline

Definition at line 419 of file TGeoManager.h.

◆ IsOnHeap()

Bool_t TObject::IsOnHeap ( ) const
inlineinherited

Definition at line 160 of file TObject.h.

◆ IsOutside()

Bool_t TGeoManager::IsOutside ( ) const
inline

Definition at line 418 of file TGeoManager.h.

◆ IsParallelWorldNav()

Bool_t TGeoManager::IsParallelWorldNav ( ) const
inline

Definition at line 615 of file TGeoManager.h.

◆ IsSameLocation() [1/2]

Bool_t TGeoManager::IsSameLocation ( ) const
inline

Definition at line 405 of file TGeoManager.h.

◆ IsSameLocation() [2/2]

Bool_t TGeoManager::IsSameLocation ( Double_t x,
Double_t y,
Double_t z,
Bool_t change = kFALSE )

◆ IsSamePoint()

Bool_t TGeoManager::IsSamePoint ( Double_t x,
Double_t y,
Double_t z ) const

◆ IsSortable()

Bool_t TNamed::IsSortable ( ) const
inlineoverridevirtualinherited

Reimplemented from TObject.

Reimplemented in TStructNodeProperty.

Definition at line 52 of file TNamed.h.

◆ IsStartSafe()

Bool_t TGeoManager::IsStartSafe ( ) const
inline

Definition at line 407 of file TGeoManager.h.

◆ IsStepEntering()

Bool_t TGeoManager::IsStepEntering ( ) const
inline

Definition at line 416 of file TGeoManager.h.

◆ IsStepExiting()

Bool_t TGeoManager::IsStepExiting ( ) const
inline

Definition at line 417 of file TGeoManager.h.

◆ IsStreamingVoxels()

Bool_t TGeoManager::IsStreamingVoxels ( ) const
inline

Definition at line 475 of file TGeoManager.h.

◆ IsVisLeaves()

Bool_t TGeoManager::IsVisLeaves ( ) const
inline

Definition at line 232 of file TGeoManager.h.

◆ IsZombie()

Bool_t TObject::IsZombie ( ) const
inlineinherited

Definition at line 161 of file TObject.h.

◆ LocalToMaster()

void TGeoManager::LocalToMaster ( const Double_t * local,
Double_t * master ) const
inline

Definition at line 538 of file TGeoManager.h.

◆ LocalToMasterBomb()

void TGeoManager::LocalToMasterBomb ( const Double_t * local,
Double_t * master ) const
inline

Definition at line 546 of file TGeoManager.h.

◆ LocalToMasterVect()

void TGeoManager::LocalToMasterVect ( const Double_t * local,
Double_t * master ) const
inline

Definition at line 542 of file TGeoManager.h.

◆ LockDefaultUnits()

Bool_t TGeoManager::LockDefaultUnits ( Bool_t new_value)
static

◆ LockGeometry()

void TGeoManager::LockGeometry ( )
static

◆ ls()

void TNamed::ls ( Option_t * option = "") const
overridevirtualinherited

List TNamed name and title.

Reimplemented from TObject.

Reimplemented in ROOT::Experimental::XRooFit::xRooBrowser, TNode, TROOT, TStreamerBase, TStreamerElement, TStreamerInfo, TStreamerSTL, TTask, TText, and TVirtualStreamerInfo.

Definition at line 112 of file TNamed.cxx.

◆ MakeAlignablePN() [1/2]

TGeoPhysicalNode * TGeoManager::MakeAlignablePN ( const char * name)

◆ MakeAlignablePN() [2/2]

TGeoPhysicalNode * TGeoManager::MakeAlignablePN ( TGeoPNEntry * entry)

◆ MakeArb8()

TGeoVolume * TGeoManager::MakeArb8 ( const char * name,
TGeoMedium * medium,
Double_t dz,
Double_t * vertices = nullptr )

◆ MakeBox()

TGeoVolume * TGeoManager::MakeBox ( const char * name,
TGeoMedium * medium,
Double_t dx,
Double_t dy,
Double_t dz )

◆ MakeCone()

TGeoVolume * TGeoManager::MakeCone ( const char * name,
TGeoMedium * medium,
Double_t dz,
Double_t rmin1,
Double_t rmax1,
Double_t rmin2,
Double_t rmax2 )

◆ MakeCons()

TGeoVolume * TGeoManager::MakeCons ( const char * name,
TGeoMedium * medium,
Double_t dz,
Double_t rmin1,
Double_t rmax1,
Double_t rmin2,
Double_t rmax2,
Double_t phi1,
Double_t phi2 )

◆ MakeCtub()

TGeoVolume * TGeoManager::MakeCtub ( const char * name,
TGeoMedium * medium,
Double_t rmin,
Double_t rmax,
Double_t dz,
Double_t phi1,
Double_t phi2,
Double_t lx,
Double_t ly,
Double_t lz,
Double_t tx,
Double_t ty,
Double_t tz )

◆ MakeEltu()

TGeoVolume * TGeoManager::MakeEltu ( const char * name,
TGeoMedium * medium,
Double_t a,
Double_t b,
Double_t dz )

◆ MakeGtra()

TGeoVolume * TGeoManager::MakeGtra ( const char * name,
TGeoMedium * medium,
Double_t dz,
Double_t theta,
Double_t phi,
Double_t twist,
Double_t h1,
Double_t bl1,
Double_t tl1,
Double_t alpha1,
Double_t h2,
Double_t bl2,
Double_t tl2,
Double_t alpha2 )

◆ MakeHype()

TGeoVolume * TGeoManager::MakeHype ( const char * name,
TGeoMedium * medium,
Double_t rin,
Double_t stin,
Double_t rout,
Double_t stout,
Double_t dz )

◆ MakePara()

TGeoVolume * TGeoManager::MakePara ( const char * name,
TGeoMedium * medium,
Double_t dx,
Double_t dy,
Double_t dz,
Double_t alpha,
Double_t theta,
Double_t phi )

◆ MakeParaboloid()

TGeoVolume * TGeoManager::MakeParaboloid ( const char * name,
TGeoMedium * medium,
Double_t rlo,
Double_t rhi,
Double_t dz )

◆ MakePcon()

TGeoVolume * TGeoManager::MakePcon ( const char * name,
TGeoMedium * medium,
Double_t phi,
Double_t dphi,
Int_t nz )

◆ MakePgon()

TGeoVolume * TGeoManager::MakePgon ( const char * name,
TGeoMedium * medium,
Double_t phi,
Double_t dphi,
Int_t nedges,
Int_t nz )

◆ MakePhysicalNode()

TGeoPhysicalNode * TGeoManager::MakePhysicalNode ( const char * path = nullptr)

◆ MakeSphere()

TGeoVolume * TGeoManager::MakeSphere ( const char * name,
TGeoMedium * medium,
Double_t rmin,
Double_t rmax,
Double_t themin = 0,
Double_t themax = 180,
Double_t phimin = 0,
Double_t phimax = 360 )

◆ MakeTorus()

TGeoVolume * TGeoManager::MakeTorus ( const char * name,
TGeoMedium * medium,
Double_t r,
Double_t rmin,
Double_t rmax,
Double_t phi1 = 0,
Double_t dphi = 360 )

◆ MakeTrack()

TVirtualGeoTrack * TGeoManager::MakeTrack ( Int_t id,
Int_t pdgcode,
TObject * particle )

◆ MakeTrap()

TGeoVolume * TGeoManager::MakeTrap ( const char * name,
TGeoMedium * medium,
Double_t dz,
Double_t theta,
Double_t phi,
Double_t h1,
Double_t bl1,
Double_t tl1,
Double_t alpha1,
Double_t h2,
Double_t bl2,
Double_t tl2,
Double_t alpha2 )

◆ MakeTrd1()

TGeoVolume * TGeoManager::MakeTrd1 ( const char * name,
TGeoMedium * medium,
Double_t dx1,
Double_t dx2,
Double_t dy,
Double_t dz )

◆ MakeTrd2()

TGeoVolume * TGeoManager::MakeTrd2 ( const char * name,
TGeoMedium * medium,
Double_t dx1,
Double_t dx2,
Double_t dy1,
Double_t dy2,
Double_t dz )

◆ MakeTube()

TGeoVolume * TGeoManager::MakeTube ( const char * name,
TGeoMedium * medium,
Double_t rmin,
Double_t rmax,
Double_t dz )

◆ MakeTubs()

TGeoVolume * TGeoManager::MakeTubs ( const char * name,
TGeoMedium * medium,
Double_t rmin,
Double_t rmax,
Double_t dz,
Double_t phi1,
Double_t phi2 )

◆ MakeVolumeAssembly()

TGeoVolumeAssembly * TGeoManager::MakeVolumeAssembly ( const char * name)

◆ MakeVolumeMulti()

TGeoVolumeMulti * TGeoManager::MakeVolumeMulti ( const char * name,
TGeoMedium * medium )

◆ MakeXtru()

TGeoVolume * TGeoManager::MakeXtru ( const char * name,
TGeoMedium * medium,
Int_t nz )

◆ MakeZombie()

void TObject::MakeZombie ( )
inlineprotectedinherited

Definition at line 55 of file TObject.h.

◆ MasterToLocal()

void TGeoManager::MasterToLocal ( const Double_t * master,
Double_t * local ) const
inline

Definition at line 550 of file TGeoManager.h.

◆ MasterToLocalBomb()

void TGeoManager::MasterToLocalBomb ( const Double_t * master,
Double_t * local ) const
inline

Definition at line 558 of file TGeoManager.h.

◆ MasterToLocalVect()

void TGeoManager::MasterToLocalVect ( const Double_t * master,
Double_t * local ) const
inline

Definition at line 554 of file TGeoManager.h.

◆ MasterToTop()

void TGeoManager::MasterToTop ( const Double_t * master,
Double_t * top ) const

◆ Material()

TGeoMaterial * TGeoManager::Material ( const char * name,
Double_t a,
Double_t z,
Double_t dens,
Int_t uid,
Double_t radlen = 0,
Double_t intlen = 0 )

◆ Matrix()

void TGeoManager::Matrix ( Int_t index,
Double_t theta1,
Double_t phi1,
Double_t theta2,
Double_t phi2,
Double_t theta3,
Double_t phi3 )

◆ MayNotUse()

void TObject::MayNotUse ( const char * method) const
inherited

Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).

Definition at line 1160 of file TObject.cxx.

◆ Medium()

TGeoMedium * TGeoManager::Medium ( const char * name,
Int_t numed,
Int_t nmat,
Int_t isvol,
Int_t ifield,
Double_t fieldm,
Double_t tmaxfd,
Double_t stemax,
Double_t deemax,
Double_t epsil,
Double_t stmin )

◆ Mixture() [1/2]

TGeoMaterial * TGeoManager::Mixture ( const char * name,
Double_t * a,
Double_t * z,
Double_t dens,
Int_t nelem,
Double_t * wmat,
Int_t uid )

◆ Mixture() [2/2]

TGeoMaterial * TGeoManager::Mixture ( const char * name,
Float_t * a,
Float_t * z,
Double_t dens,
Int_t nelem,
Float_t * wmat,
Int_t uid )

◆ ModifiedPad()

void TGeoManager::ModifiedPad ( ) const

◆ Node() [1/2]

void TGeoManager::Node ( const char * name,
Int_t nr,
const char * mother,
Double_t x,
Double_t y,
Double_t z,
Int_t irot,
Bool_t isOnly,
Double_t * upar,
Int_t npar = 0 )

◆ Node() [2/2]

void TGeoManager::Node ( const char * name,
Int_t nr,
const char * mother,
Double_t x,
Double_t y,
Double_t z,
Int_t irot,
Bool_t isOnly,
Float_t * upar,
Int_t npar = 0 )

◆ Notify()

Bool_t TObject::Notify ( )
virtualinherited

This method must be overridden to handle object notification (the base implementation is no-op).

Different objects in ROOT use the Notify method for different purposes, in coordination with other objects that call this method at the appropriate time.

For example, TLeaf uses it to load class information; TBranchRef to load contents of referenced branches TBranchRef; most notably, based on Notify, TChain implements a callback mechanism to inform interested parties when it switches to a new sub-tree.

Reimplemented in h1analysis, h1analysisTreeReader, TARInterruptHandler, TASInputHandler, TASInterruptHandler, TASLogHandler, TASSigPipeHandler, TBlinkTimer, TBranchElement, TBranchRef, TBreakLineCom, TBrowserTimer, TCollection, TDelCharCom, TDelTextCom, TFileHandler, TGContainerKeyboardTimer, TGContainerScrollTimer, TGInputHandler, TGLRedrawTimer, TGTextEditHist, TGuiBldDragManagerRepeatTimer, TIdleTimer, TInsCharCom, TInsTextCom, TInterruptHandler, TLeafObject, TMessageHandler, TNotifyLink< Type >, TNotifyLink< RNoCleanupNotifierHelper >, TNotifyLink< ROOT::Detail::TBranchProxy >, TNotifyLink< TTreeReader >, TPopupDelayTimer, TProcessEventTimer, TRefTable, TRepeatTimer, TSBRepeatTimer, TSelector, TSelectorDraw, TSelectorEntries, TSignalHandler, TSingleShotCleaner, TSocketHandler, TStdExceptionHandler, TSysEvtHandler, TTermInputHandler, TThreadTimer, TTimeOutTimer, TTimer, TTipDelayTimer, TTree, TTreeFormula, TTreeFormulaManager, TTreeReader, TViewTimer, and TViewUpdateTimer.

Definition at line 618 of file TObject.cxx.

◆ Obsolete()

void TObject::Obsolete ( const char * method,
const char * asOfVers,
const char * removedFromVers ) const
inherited

Use this method to declare a method obsolete.

Specify as of which version the method is obsolete and as from which version it will be removed.

Definition at line 1169 of file TObject.cxx.

◆ operator delete() [1/3]

void TObject::operator delete ( void * ptr,
size_t size )
inherited

Operator delete for sized deallocation.

Definition at line 1234 of file TObject.cxx.

◆ operator delete() [2/3]

void TObject::operator delete ( void * ptr)
inherited

Operator delete.

Definition at line 1212 of file TObject.cxx.

◆ operator delete() [3/3]

void TObject::operator delete ( void * ptr,
void * vp )
inherited

Only called by placement new when throwing an exception.

Definition at line 1266 of file TObject.cxx.

◆ operator delete[]() [1/3]

void TObject::operator delete[] ( void * ptr,
size_t size )
inherited

Operator delete [] for sized deallocation.

Definition at line 1245 of file TObject.cxx.

◆ operator delete[]() [2/3]

void TObject::operator delete[] ( void * ptr)
inherited

Operator delete [].

Definition at line 1223 of file TObject.cxx.

◆ operator delete[]() [3/3]

void TObject::operator delete[] ( void * ptr,
void * vp )
inherited

Only called by placement new[] when throwing an exception.

Definition at line 1274 of file TObject.cxx.

◆ operator new() [1/2]

void * TObject::operator new ( size_t sz)
inlineinherited

Definition at line 189 of file TObject.h.

◆ operator new() [2/2]

void * TObject::operator new ( size_t sz,
void * vp )
inlineinherited

Definition at line 191 of file TObject.h.

◆ operator new[]() [1/2]

void * TObject::operator new[] ( size_t sz)
inlineinherited

Definition at line 190 of file TObject.h.

◆ operator new[]() [2/2]

void * TObject::operator new[] ( size_t sz,
void * vp )
inlineinherited

Definition at line 192 of file TObject.h.

◆ operator=()

TGeoManager & TGeoManager::operator= ( const TGeoManager & )
protecteddelete

◆ OptimizeVoxels()

void TGeoManager::OptimizeVoxels ( const char * filename = "tgeovox.C")

◆ Paint()

void TObject::Paint ( Option_t * option = "")
virtualinherited

This method must be overridden if a class wants to paint itself.

The difference between Paint() and Draw() is that when a object draws itself it is added to the display list of the pad in which it is drawn (and automatically redrawn whenever the pad is redrawn). While paint just draws the object without adding it to the pad display list.

Reimplemented in ROOT::Experimental::RTreeMapPainter, ROOT::RGeoPainter, TAnnotation, TArrow, TASImage, TASPaletteEditor::LimitLine, TASPaletteEditor::PaintPalette, TAxis3D, TBits, TBox, TButton, TCanvas, TClassTree, TCollection, TColorWheel, TCrown, TDiamond, TDirectory, TEfficiency, TEllipse, TEveArrow, TEveCaloViz, TEveDigitSet, TEveGeoShape, TEveGeoTopNode, TEvePlot3D, TEvePointSet, TEveProjectionAxes, TEveScene, TEveShape, TEveStraightLineSet, TEveText, TEveTriangleSet, TExec, TF1, TF2, TF3, TFile, TFileDrawMap, TFrame, TGaxis, TGenerator, TGeoBoolNode, TGeoIntersection, TGeoNode, TGeoOverlap, TGeoPainter, TGeoPhysicalNode, TGeoShape, TGeoSubtraction, TGeoTrack, TGeoUnion, TGeoVGShape, TGeoVolume, TGL5DDataSet, TGLHistPainter, TGLParametricEquation, TGLTH3Composition, TGraph2D, TGraph2DPainter, TGraph, TGraphEdge, TGraphNode, TGraphPolargram, TGraphTime, TH1, THistPainter, THStack, TLatex, TLegend, TLine, TMacro, TMarker3DBox, TMarker, TMathText, TMultiGraph, TNode, TNodeDiv, TPad, TPaletteAxis, TParallelCoord, TParallelCoordRange, TParallelCoordVar, TParticle, TPave, TPaveLabel, TPaveStats, TPavesText, TPaveText, TPie, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TPrimary, TRatioPlot, TScatter2D, TScatter, TShape, TSpectrum2Painter, TSpider, TSpline, TSQLFile, TStyle, TText, TTreePerfStats, TVirtualGeoPainter, TVirtualGeoTrack, TVirtualHistPainter, TVirtualPad, TWbox, and TXMLFile.

Definition at line 631 of file TObject.cxx.

◆ Parse()

Int_t TGeoManager::Parse ( const char * expr,
TString & expr1,
TString & expr2,
TString & expr3 )
static

◆ Pop()

void TObject::Pop ( )
virtualinherited

Pop on object drawn in a pad to the top of the display list.

I.e. it will be drawn last and on top of all other primitives.

Reimplemented in TFrame, TPad, and TVirtualPad.

Definition at line 640 of file TObject.cxx.

◆ PopDummy()

void TGeoManager::PopDummy ( Int_t ipop = 9999)
inline

Definition at line 609 of file TGeoManager.h.

◆ PopPath() [1/2]

Bool_t TGeoManager::PopPath ( )
inline

Definition at line 604 of file TGeoManager.h.

◆ PopPath() [2/2]

Bool_t TGeoManager::PopPath ( Int_t index)
inline

Definition at line 605 of file TGeoManager.h.

◆ PopPoint() [1/2]

Bool_t TGeoManager::PopPoint ( )
inline

Definition at line 607 of file TGeoManager.h.

◆ PopPoint() [2/2]

Bool_t TGeoManager::PopPoint ( Int_t index)
inline

Definition at line 608 of file TGeoManager.h.

◆ Print()

◆ PrintOverlaps()

void TGeoManager::PrintOverlaps ( ) const

◆ PushPath()

Int_t TGeoManager::PushPath ( Int_t startlevel = 0)
inline

Definition at line 603 of file TGeoManager.h.

◆ PushPoint()

Int_t TGeoManager::PushPoint ( Int_t startlevel = 0)
inline

Definition at line 606 of file TGeoManager.h.

◆ RandomPoints()

void TGeoManager::RandomPoints ( const TGeoVolume * vol,
Int_t npoints = 10000,
Option_t * option = "" )

◆ RandomRays()

void TGeoManager::RandomRays ( Int_t nrays = 1000,
Double_t startx = 0,
Double_t starty = 0,
Double_t startz = 0,
const char * target_vol = nullptr,
Bool_t check_norm = kFALSE )

◆ Read()

Int_t TObject::Read ( const char * name)
virtualinherited

Read contents of object with specified name from the current directory.

First the key with the given name is searched in the current directory, next the key buffer is deserialized into the object. The object must have been created before via the default constructor. See TObject::Write().

Reimplemented in TBuffer, TKey, TKeySQL, and TKeyXML.

Definition at line 673 of file TObject.cxx.

◆ RebuildVoxels()

void TGeoManager::RebuildVoxels ( )

◆ RecursiveRemove()

◆ RefreshPhysicalNodes()

void TGeoManager::RefreshPhysicalNodes ( Bool_t lock = kTRUE)

◆ RegisterMatrix()

void TGeoManager::RegisterMatrix ( const TGeoMatrix * matrix)

◆ RemoveMaterial()

void TGeoManager::RemoveMaterial ( Int_t index)

◆ RemoveNavigator()

void TGeoManager::RemoveNavigator ( const TGeoNavigator * nav)

◆ ReplaceVolume()

Int_t TGeoManager::ReplaceVolume ( TGeoVolume * vorig,
TGeoVolume * vnew )

◆ ResetBit()

void TObject::ResetBit ( UInt_t f)
inlineinherited

Definition at line 203 of file TObject.h.

◆ ResetState()

void TGeoManager::ResetState ( )

◆ ResetUserData()

void TGeoManager::ResetUserData ( )

◆ RestoreMasterVolume()

void TGeoManager::RestoreMasterVolume ( )

◆ Safety()

Double_t TGeoManager::Safety ( Bool_t inside = kFALSE)

◆ SamplePoints()

TGeoNode * TGeoManager::SamplePoints ( Int_t npoints,
Double_t & dist,
Double_t epsil = 1E-5,
const char * g3path = "" )

◆ SaveAs()

void TObject::SaveAs ( const char * filename = "",
Option_t * option = "" ) const
virtualinherited

Save this object in the file specified by filename.

  • if "filename" contains ".root" the object is saved in filename as root binary file.
  • if "filename" contains ".xml" the object is saved in filename as a xml ascii file.
  • if "filename" contains ".cc" the object is saved in filename as C code independent from ROOT. The code is generated via SavePrimitive(). Specific code should be implemented in each object to handle this option. Like in TF1::SavePrimitive().
  • otherwise the object is written to filename as a CINT/C++ script. The C++ code to rebuild this object is generated via SavePrimitive(). The "option" parameter is passed to SavePrimitive. By default it is an empty string. It can be used to specify the Draw option in the code generated by SavePrimitive.

    The function is available via the object context menu.

Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TClassTree, TFolder, TGeoVolume, TGObject, TGraph, TH1, TPad, TPaveClass, TSpline3, TSpline5, TSpline, TTreePerfStats, and TVirtualPad.

Definition at line 708 of file TObject.cxx.

◆ SaveAttributes()

void TGeoManager::SaveAttributes ( const char * filename = "tgeoatt.C")

◆ SavePrimitive()

void TObject::SavePrimitive ( std::ostream & out,
Option_t * option = "" )
virtualinherited

Save a primitive as a C++ statement(s) on output stream "out".

Reimplemented in TAnnotation, TArc, TArrow, TASImage, TAxis3D, TBox, TButton, TCanvas, TChain, TCrown, TCurlyArc, TCurlyLine, TCutG, TDiamond, TEfficiency, TEllipse, TExec, TF12, TF1, TF2, TF3, TFrame, TGaxis, TGButton, TGButtonGroup, TGCanvas, TGCheckButton, TGColorSelect, TGColumnLayout, TGComboBox, TGCompositeFrame, TGContainer, TGDockableFrame, TGDoubleHSlider, TGDoubleVSlider, TGedMarkerSelect, TGedPatternSelect, TGeoArb8, TGeoBBox, TGeoBoolNode, TGeoCombiTrans, TGeoCompositeShape, TGeoCone, TGeoConeSeg, TGeoCtub, TGeoDecayChannel, TGeoElementRN, TGeoEltu, TGeoGtra, TGeoHalfSpace, TGeoHMatrix, TGeoHype, TGeoIdentity, TGeoIntersection, TGeoMaterial, TGeoMedium, TGeoMixture, TGeoPara, TGeoParaboloid, TGeoPatternCylPhi, TGeoPatternCylR, TGeoPatternParaX, TGeoPatternParaY, TGeoPatternParaZ, TGeoPatternSphPhi, TGeoPatternSphR, TGeoPatternSphTheta, TGeoPatternTrapZ, TGeoPatternX, TGeoPatternY, TGeoPatternZ, TGeoPcon, TGeoPgon, TGeoRotation, TGeoScaledShape, TGeoShapeAssembly, TGeoSphere, TGeoSubtraction, TGeoTessellated, TGeoTorus, TGeoTranslation, TGeoTrap, TGeoTrd1, TGeoTrd2, TGeoTube, TGeoTubeSeg, TGeoUnion, TGeoVolume, TGeoXtru, TGFileContainer, TGFont, TGFrame, TGFSComboBox, TGGC, TGGroupFrame, TGHButtonGroup, TGHorizontal3DLine, TGHorizontalFrame, TGHorizontalLayout, TGHProgressBar, TGHScrollBar, TGHSlider, TGHSplitter, TGHtml, TGIcon, TGLabel, TGLayoutHints, TGLineStyleComboBox, TGLineWidthComboBox, TGListBox, TGListDetailsLayout, TGListLayout, TGListTree, TGListView, TGLVContainer, TGMainFrame, TGMatrixLayout, TGMdiFrame, TGMdiMainFrame, TGMdiMenuBar, TGMenuBar, TGMenuTitle, TGNumberEntry, TGNumberEntryField, TGPictureButton, TGPopupMenu, TGProgressBar, TGRadioButton, TGraph2D, TGraph2DAsymmErrors, TGraph2DErrors, TGraph, TGraphAsymmErrors, TGraphBentErrors, TGraphEdge, TGraphErrors, TGraphMultiErrors, TGraphNode, TGraphPolar, TGraphPolargram, TGraphStruct, TGroupButton, TGRowLayout, TGShapedFrame, TGShutter, TGShutterItem, TGSplitFrame, TGStatusBar, TGTab, TGTabLayout, TGTableLayout, TGTableLayoutHints, TGTextButton, TGTextEdit, TGTextEntry, TGTextLBEntry, TGTextView, TGTileLayout, TGToolBar, TGTransientFrame, TGTripleHSlider, TGTripleVSlider, TGVButtonGroup, TGVertical3DLine, TGVerticalFrame, TGVerticalLayout, TGVFileSplitter, TGVProgressBar, TGVScrollBar, TGVSlider, TGVSplitter, TGXYLayout, TGXYLayoutHints, TH1, TH2Poly, THelix, THStack, TLatex, TLegend, TLine, TMacro, TMarker3DBox, TMarker, TMathText, TMultiGraph, TPad, TPaletteAxis, TParallelCoord, TParallelCoordVar, TPave, TPaveClass, TPaveLabel, TPaveStats, TPavesText, TPaveText, TPie, TPieSlice, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TProfile2D, TProfile3D, TProfile, TRootContainer, TRootEmbeddedCanvas, TScatter2D, TScatter, TSlider, TSliderBox, TSpline3, TSpline5, TStyle, TText, TTreePerfStats, and TWbox.

Definition at line 858 of file TObject.cxx.

◆ SavePrimitiveConstructor()

void TObject::SavePrimitiveConstructor ( std::ostream & out,
TClass * cl,
const char * variable_name,
const char * constructor_agrs = "",
Bool_t empty_line = kTRUE )
staticprotectedinherited

Save object constructor in the output stream "out".

Can be used as first statement when implementing SavePrimitive() method for the object

Definition at line 777 of file TObject.cxx.

◆ SavePrimitiveDraw()

void TObject::SavePrimitiveDraw ( std::ostream & out,
const char * variable_name,
Option_t * option = nullptr )
staticprotectedinherited

Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.

Definition at line 845 of file TObject.cxx.

◆ SavePrimitiveNameTitle()

void TNamed::SavePrimitiveNameTitle ( std::ostream & out,
const char * variable_name )
protectedinherited

Save object name and title into the output stream "out".

Definition at line 135 of file TNamed.cxx.

◆ SavePrimitiveVector()

TString TObject::SavePrimitiveVector ( std::ostream & out,
const char * prefix,
Int_t len,
Double_t * arr,
Int_t flag = 0 )
staticprotectedinherited

Save array in the output stream "out" as vector.

Create unique variable name based on prefix value Returns name of vector which can be used in constructor or in other places of C++ code If flag === kTRUE, just add empty line If flag === 111, check if array is empty and return nullptr or <vectorname>.data()

Definition at line 796 of file TObject.cxx.

◆ SearchNode()

TGeoNode * TGeoManager::SearchNode ( Bool_t downwards = kFALSE,
const TGeoNode * skipnode = nullptr )

◆ SelectTrackingMedia()

void TGeoManager::SelectTrackingMedia ( )

◆ SetAlignableEntry()

TGeoPNEntry * TGeoManager::SetAlignableEntry ( const char * unique_name,
const char * path,
Int_t uid = -1 )

◆ SetAllIndex()

void TGeoManager::SetAllIndex ( )

◆ SetAnimateTracks()

void TGeoManager::SetAnimateTracks ( Bool_t flag = kTRUE)
inline

Definition at line 598 of file TGeoManager.h.

◆ SetBit() [1/2]

void TObject::SetBit ( UInt_t f)
inlineinherited

Definition at line 202 of file TObject.h.

◆ SetBit() [2/2]

void TObject::SetBit ( UInt_t f,
Bool_t set )
inherited

Set or unset the user status bits as specified in f.

Definition at line 888 of file TObject.cxx.

◆ SetBombFactors()

void TGeoManager::SetBombFactors ( Double_t bombx = 1.3,
Double_t bomby = 1.3,
Double_t bombz = 1.3,
Double_t bombr = 1.3 )

◆ SetCheckedNode()

void TGeoManager::SetCheckedNode ( TGeoNode * node)

◆ SetCheckingOverlaps()

void TGeoManager::SetCheckingOverlaps ( Bool_t flag = kTRUE)
inline

Definition at line 408 of file TGeoManager.h.

◆ SetCldirChecked()

void TGeoManager::SetCldirChecked ( Double_t * dir)
inline

Definition at line 535 of file TGeoManager.h.

◆ SetClipping()

void TGeoManager::SetClipping ( Bool_t flag = kTRUE)
inline

Definition at line 236 of file TGeoManager.h.

◆ SetClippingShape()

void TGeoManager::SetClippingShape ( TGeoShape * clip)

◆ SetCurrentDirection() [1/2]

void TGeoManager::SetCurrentDirection ( Double_t * dir)
inline

Definition at line 530 of file TGeoManager.h.

◆ SetCurrentDirection() [2/2]

void TGeoManager::SetCurrentDirection ( Double_t nx,
Double_t ny,
Double_t nz )
inline

Definition at line 531 of file TGeoManager.h.

◆ SetCurrentNavigator()

Bool_t TGeoManager::SetCurrentNavigator ( Int_t index)

◆ SetCurrentPoint() [1/2]

void TGeoManager::SetCurrentPoint ( Double_t * point)
inline

Definition at line 527 of file TGeoManager.h.

◆ SetCurrentPoint() [2/2]

void TGeoManager::SetCurrentPoint ( Double_t x,
Double_t y,
Double_t z )
inline

Definition at line 528 of file TGeoManager.h.

◆ SetCurrentTrack() [1/2]

void TGeoManager::SetCurrentTrack ( Int_t i)
inline

Definition at line 376 of file TGeoManager.h.

◆ SetCurrentTrack() [2/2]

void TGeoManager::SetCurrentTrack ( TVirtualGeoTrack * track)
inline

Definition at line 377 of file TGeoManager.h.

◆ SetDefaultUnits()

void TGeoManager::SetDefaultUnits ( EDefaultUnits new_value)
static

◆ SetDrawExtraPaths()

void TGeoManager::SetDrawExtraPaths ( Bool_t flag = kTRUE)
inline

Definition at line 248 of file TGeoManager.h.

◆ SetDrawOption()

void TObject::SetDrawOption ( Option_t * option = "")
virtualinherited

Set drawing option for object.

This option only affects the drawing style and is stored in the option field of the TObjOptLink supporting a TPad's primitive list (TList). Note that it does not make sense to call object.SetDrawOption(option) before having called object.Draw().

Reimplemented in RooPlot, TAxis, TBrowser, TGedFrame, TGFrame, TPad, TPaveStats, TRootBrowserLite, TSystemDirectory, and TSystemFile.

Definition at line 871 of file TObject.cxx.

◆ SetDtorOnly()

void TObject::SetDtorOnly ( void * obj)
staticinherited

Set destructor only flag.

Definition at line 1204 of file TObject.cxx.

◆ SetExplodedView()

void TGeoManager::SetExplodedView ( Int_t iopt = 0)

◆ SetExportPrecision()

void TGeoManager::SetExportPrecision ( UInt_t prec)
static

◆ SetLastPoint()

void TGeoManager::SetLastPoint ( Double_t x,
Double_t y,
Double_t z )
inline

Definition at line 529 of file TGeoManager.h.

◆ SetLoopVolumes()

void TGeoManager::SetLoopVolumes ( Bool_t flag = kTRUE)
inlineprivate

Definition at line 161 of file TGeoManager.h.

◆ SetMatrixReflection()

void TGeoManager::SetMatrixReflection ( Bool_t flag = kTRUE)
inline

Definition at line 411 of file TGeoManager.h.

◆ SetMatrixTransform()

void TGeoManager::SetMatrixTransform ( Bool_t on = kTRUE)
inline

Definition at line 410 of file TGeoManager.h.

◆ SetMaxThreads()

void TGeoManager::SetMaxThreads ( Int_t nthreads)

◆ SetMaxVisNodes()

void TGeoManager::SetMaxVisNodes ( Int_t maxnodes = 10000)

◆ SetName()

void TNamed::SetName ( const char * name)
virtualinherited

Set the name of the TNamed.

WARNING: if the object is a member of a THashTable or THashList container the container must be Rehash()'ed after SetName(). For example the list of objects in the current directory is a THashList.

Reimplemented in RooAbsArg, RooAbsData, RooDataHist, RooDataSet, RooFitResult, RooPlot, ROOT::Experimental::XRooFit::xRooNode, TChain, TColor, TDirectory, TEfficiency, TEventList, TEveScene, TFormula, TGraph2D, TGraph, TH1, TNode, TRotMatrix, TShape, TSystemDirectory, TSystemFile, and TTree.

Definition at line 149 of file TNamed.cxx.

◆ SetNameTitle()

void TNamed::SetNameTitle ( const char * name,
const char * title )
virtualinherited

Set all the TNamed parameters (name and title).

WARNING: if the name is changed and the object is a member of a THashTable or THashList container the container must be Rehash()'ed after SetName(). For example the list of objects in the current directory is a THashList.

Reimplemented in RooAbsArg, RooAbsData, RooDataHist, RooDataSet, RooFitResult, RooPlot, TContextMenu, TGraph2D, TGraph, TH1, and TNode.

Definition at line 163 of file TNamed.cxx.

◆ SetNavigatorsLock()

void TGeoManager::SetNavigatorsLock ( Bool_t flag)
static

◆ SetNmeshPoints()

void TGeoManager::SetNmeshPoints ( Int_t npoints = 1000)

◆ SetNodeSelectable()

void TGeoManager::SetNodeSelectable ( Bool_t flag = kTRUE)
inline

Definition at line 249 of file TGeoManager.h.

◆ SetNsegments()

void TGeoManager::SetNsegments ( Int_t nseg)

◆ SetObjectStat()

void TObject::SetObjectStat ( Bool_t stat)
staticinherited

Turn on/off tracking of objects in the TObjectTable.

Definition at line 1188 of file TObject.cxx.

◆ SetOutside()

void TGeoManager::SetOutside ( Bool_t flag = kTRUE)
inline

Definition at line 422 of file TGeoManager.h.

◆ SetPaintVolume()

void TGeoManager::SetPaintVolume ( TGeoVolume * vol)
inline

Definition at line 244 of file TGeoManager.h.

◆ SetParticleName()

void TGeoManager::SetParticleName ( const char * pname)
inline

Definition at line 272 of file TGeoManager.h.

◆ SetPdgName()

void TGeoManager::SetPdgName ( Int_t pdg,
const char * name )

◆ SetPhiRange()

void TGeoManager::SetPhiRange ( Double_t phimin = 0.,
Double_t phimax = 360. )

◆ SetRTmode()

void TGeoManager::SetRTmode ( Int_t mode)

◆ SetStartSafe()

void TGeoManager::SetStartSafe ( Bool_t flag = kTRUE)
inline

Definition at line 409 of file TGeoManager.h.

◆ SetStep()

void TGeoManager::SetStep ( Double_t step)
inline

Definition at line 412 of file TGeoManager.h.

◆ SetTitle()

void TNamed::SetTitle ( const char * title = "")
virtualinherited

◆ SetTminTmax()

void TGeoManager::SetTminTmax ( Double_t tmin = 0,
Double_t tmax = 999 )

◆ SetTopVisible()

void TGeoManager::SetTopVisible ( Bool_t vis = kTRUE)

◆ SetTopVolume()

void TGeoManager::SetTopVolume ( TGeoVolume * vol)

◆ SetUniqueID()

void TObject::SetUniqueID ( UInt_t uid)
virtualinherited

Set the unique object id.

Definition at line 899 of file TObject.cxx.

◆ SetUseParallelWorldNav()

void TGeoManager::SetUseParallelWorldNav ( Bool_t flag)

◆ SetUserPaintVolume()

void TGeoManager::SetUserPaintVolume ( TGeoVolume * vol)
inline

Definition at line 245 of file TGeoManager.h.

◆ SetVerboseLevel()

void TGeoManager::SetVerboseLevel ( Int_t vl)
static

◆ SetVisDensity()

void TGeoManager::SetVisDensity ( Double_t dens = 0.01)

◆ SetVisibility()

void TGeoManager::SetVisibility ( TObject * obj,
Bool_t vis )

◆ SetVisLevel()

void TGeoManager::SetVisLevel ( Int_t level = 3)

◆ SetVisOption()

void TGeoManager::SetVisOption ( Int_t option = 0)

◆ SetVolumeAttribute()

void TGeoManager::SetVolumeAttribute ( const char * name,
const char * att,
Int_t val )

◆ SizeOf()

virtual ULong_t TGeoManager::SizeOf ( const TGeoNode * node,
Option_t * option )
virtual

◆ Sizeof()

Int_t TNamed::Sizeof ( ) const
virtualinherited

Return size of the TNamed part of the TObject.

Reimplemented in TDirectory, TDirectoryFile, TFile, TKey, TSQLFile, and TXMLFile.

Definition at line 182 of file TNamed.cxx.

◆ SortOverlaps()

void TGeoManager::SortOverlaps ( )

◆ Step()

TGeoNode * TGeoManager::Step ( Bool_t is_geom = kTRUE,
Bool_t cross = kTRUE )

◆ Streamer()

void TGeoManager::Streamer ( TBuffer & R__b)
overridevirtual

Stream an object of class TObject.

Reimplemented from TObject.

◆ StreamerNVirtual()

void TGeoManager::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inline

Definition at line 617 of file TGeoManager.h.

◆ SysError()

void TObject::SysError ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue system error message.

Use "location" to specify the method where the system error occurred. Accepts standard printf formatting arguments.

Definition at line 1112 of file TObject.cxx.

◆ Test()

void TGeoManager::Test ( Int_t npoints = 1000000,
Option_t * option = "" )

◆ TestBit()

Bool_t TObject::TestBit ( UInt_t f) const
inlineinherited

Definition at line 204 of file TObject.h.

◆ TestBits()

Int_t TObject::TestBits ( UInt_t f) const
inlineinherited

Definition at line 205 of file TObject.h.

◆ TestOverlaps()

void TGeoManager::TestOverlaps ( const char * path = "")

◆ ThreadId()

Int_t TGeoManager::ThreadId ( )
static

◆ TopToMaster()

void TGeoManager::TopToMaster ( const Double_t * top,
Double_t * master ) const

◆ TransformVolumeToAssembly()

Int_t TGeoManager::TransformVolumeToAssembly ( const char * vname)

◆ UnbombTranslation()

void TGeoManager::UnbombTranslation ( const Double_t * tr,
Double_t * bombtr )

◆ UnlockGeometry()

void TGeoManager::UnlockGeometry ( )
static

◆ UpdateElements()

void TGeoManager::UpdateElements ( )
private

◆ UseCurrentStyle()

void TObject::UseCurrentStyle ( )
virtualinherited

Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.

Reimplemented in TAxis3D, TCanvas, TFrame, TGraph, TH1, TPad, TPaveStats, TPaveText, and TTree.

Definition at line 909 of file TObject.cxx.

◆ ViewLeaves()

void TGeoManager::ViewLeaves ( Bool_t flag = kTRUE)

◆ Volume() [1/2]

TGeoVolume * TGeoManager::Volume ( const char * name,
const char * shape,
Int_t nmed,
Double_t * upar,
Int_t npar = 0 )

◆ Volume() [2/2]

TGeoVolume * TGeoManager::Volume ( const char * name,
const char * shape,
Int_t nmed,
Float_t * upar,
Int_t npar = 0 )

◆ Voxelize()

void TGeoManager::Voxelize ( Option_t * option = nullptr)
private

◆ Warning()

void TObject::Warning ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue warning message.

Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.

Definition at line 1084 of file TObject.cxx.

◆ Weight()

Double_t TGeoManager::Weight ( Double_t precision = 0.01,
Option_t * option = "va" )

◆ Write() [1/2]

Int_t TObject::Write ( const char * name = nullptr,
Int_t option = 0,
Int_t bufsize = 0 )
virtualinherited

Write this object to the current directory.

For more see the const version of this method.

Reimplemented in ROOT::TBufferMergerFile, TBuffer, TCollection, TDirectory, TDirectoryFile, TFile, TMap, TParallelMergingFile, TSQLFile, TTree, and TXMLFile.

Definition at line 989 of file TObject.cxx.

◆ Write() [2/2]

Int_t TObject::Write ( const char * name = nullptr,
Int_t option = 0,
Int_t bufsize = 0 ) const
virtualinherited

Write this object to the current directory.

The data structure corresponding to this object is serialized. The corresponding buffer is written to the current directory with an associated key with name "name".

Writing an object to a file involves the following steps:

  • Creation of a support TKey object in the current directory. The TKey object creates a TBuffer object.
  • The TBuffer object is filled via the class::Streamer function.
  • If the file is compressed (default) a second buffer is created to hold the compressed buffer.
  • Reservation of the corresponding space in the file by looking in the TFree list of free blocks of the file.
  • The buffer is written to the file.

Bufsize can be given to force a given buffer size to write this object. By default, the buffersize will be taken from the average buffer size of all objects written to the current file so far.

If a name is specified, it will be the name of the key. If name is not given, the name of the key will be the name as returned by GetName().

The option can be a combination of: kSingleKey, kOverwrite or kWriteDelete Using the kOverwrite option a previous key with the same name is overwritten. The previous key is deleted before writing the new object. Using the kWriteDelete option a previous key with the same name is deleted only after the new object has been written. This option is safer than kOverwrite but it is slower. NOTE: Neither kOverwrite nor kWriteDelete reduces the size of a TFile– the space is simply freed up to be overwritten; in the case of a TTree, it is more complicated. If one opens a TTree, appends some entries, then writes it out, the behaviour is effectively the same. If, however, one creates a new TTree and writes it out in this way, only the metadata is replaced, effectively making the old data invisible without deleting it. TTree::Delete() can be used to mark all disk space occupied by a TTree as free before overwriting its metadata this way. The kSingleKey option is only used by TCollection::Write() to write a container with a single key instead of each object in the container with its own key.

An object is read from the file into memory via TKey::Read() or via TObject::Read().

The function returns the total number of bytes written to the file. It returns 0 if the object cannot be written.

Reimplemented in TBuffer, TCollection, TDirectory, TDirectoryFile, TFile, TMap, TParallelMergingFile, TSQLFile, TTree, and TXMLFile.

Definition at line 964 of file TObject.cxx.

Member Data Documentation

◆ fActivity

Bool_t TGeoManager::fActivity
private

! switch ON/OFF volume activity (default OFF - all volumes active))

Definition at line 94 of file TGeoManager.h.

◆ fArrayPNE

TObjArray* TGeoManager::fArrayPNE
mutableprivate

! array of physical node entries

Definition at line 145 of file TGeoManager.h.

◆ fBits

UChar_t* TGeoManager::fBits
private

! bits used for voxelization

Definition at line 116 of file TGeoManager.h.

◆ fBorderSurfaces

TObjArray* TGeoManager::fBorderSurfaces
private

Definition at line 110 of file TGeoManager.h.

◆ fChecker

TVirtualGeoChecker* TGeoManager::fChecker
private

! current checker

Definition at line 97 of file TGeoManager.h.

◆ fClippingShape

TGeoShape* TGeoManager::fClippingShape
private

! clipping shape for raytracing

Definition at line 136 of file TGeoManager.h.

◆ fClosed

Bool_t TGeoManager::fClosed
private

! flag that geometry is closed

Definition at line 84 of file TGeoManager.h.

◆ fCurrentNavigator

TGeoNavigator* TGeoManager::fCurrentNavigator
private

! current navigator

Definition at line 129 of file TGeoManager.h.

◆ fCurrentTrack

TVirtualGeoTrack* TGeoManager::fCurrentTrack
private

! current track

Definition at line 81 of file TGeoManager.h.

◆ fCurrentVolume

TGeoVolume* TGeoManager::fCurrentVolume
private

! current volume

Definition at line 130 of file TGeoManager.h.

◆ fDrawExtra

Bool_t TGeoManager::fDrawExtra
private

! flag that the list of physical nodes has to be drawn

Definition at line 91 of file TGeoManager.h.

◆ fElementTable

TGeoElementTable* TGeoManager::fElementTable
private

! table of elements

Definition at line 137 of file TGeoManager.h.

◆ fExplodedView

Int_t TGeoManager::fExplodedView
private

Definition at line 75 of file TGeoManager.h.

◆ fgDefaultUnits

EDefaultUnits TGeoManager::fgDefaultUnits
staticprotected

! Default units in GDML if not explicit in some tags

Definition at line 61 of file TGeoManager.h.

◆ fGDMLMatrices

TObjArray* TGeoManager::fGDMLMatrices
private

Definition at line 107 of file TGeoManager.h.

◆ fgDtorOnly

Longptr_t TObject::fgDtorOnly = 0
staticprivateinherited

object for which to call dtor only (i.e. no delete)

Definition at line 49 of file TObject.h.

◆ fgExportPrecision

UInt_t TGeoManager::fgExportPrecision
staticprotected

! Precision to be used in ASCII exports

Definition at line 60 of file TGeoManager.h.

◆ fGLMatrix

TGeoHMatrix* TGeoManager::fGLMatrix
private

Definition at line 134 of file TGeoManager.h.

◆ fgLock

Bool_t TGeoManager::fgLock
staticprotected

! Lock preventing a second geometry to be loaded

Definition at line 55 of file TGeoManager.h.

◆ fgLockNavigators

Bool_t TGeoManager::fgLockNavigators
staticprivate

! Lock existing navigators

Definition at line 128 of file TGeoManager.h.

◆ fgMaxDaughters

Int_t TGeoManager::fgMaxDaughters
staticprotected

! Maximum number of daughters

Definition at line 58 of file TGeoManager.h.

◆ fgMaxLevel

Int_t TGeoManager::fgMaxLevel
staticprotected

! Maximum level in geometry

Definition at line 57 of file TGeoManager.h.

◆ fgMaxXtruVert

Int_t TGeoManager::fgMaxXtruVert
staticprotected

! Maximum number of Xtru vertices

Definition at line 59 of file TGeoManager.h.

◆ fgMutex

std::mutex TGeoManager::fgMutex
staticprotected

! mutex for navigator booking in MT mode

Definition at line 54 of file TGeoManager.h.

◆ fgNumThreads

Int_t TGeoManager::fgNumThreads
staticprivate

! Number of registered threads

Definition at line 127 of file TGeoManager.h.

◆ fgObjectStat

Bool_t TObject::fgObjectStat = kTRUE
staticprivateinherited

if true keep track of objects in TObjectTable

Definition at line 50 of file TObject.h.

◆ fGShapes

TObjArray* TGeoManager::fGShapes
private

! list of runtime shapes

Definition at line 103 of file TGeoManager.h.

◆ fgThreadId

ThreadsMap_t* TGeoManager::fgThreadId
staticprivate

! Thread id's map

Definition at line 126 of file TGeoManager.h.

◆ fgVerboseLevel

Int_t TGeoManager::fgVerboseLevel
staticprotected

! Verbosity level for Info messages (no IO).

Definition at line 56 of file TGeoManager.h.

◆ fGVolumes

TObjArray* TGeoManager::fGVolumes
private

! list of runtime volumes

Definition at line 104 of file TGeoManager.h.

◆ fHashGVolumes

THashList* TGeoManager::fHashGVolumes
private

! hash list of group volumes providing fast search

Definition at line 143 of file TGeoManager.h.

◆ fHashPNE

THashList* TGeoManager::fHashPNE
private

Definition at line 144 of file TGeoManager.h.

◆ fHashVolumes

THashList* TGeoManager::fHashVolumes
private

! hash list of volumes providing fast search

Definition at line 142 of file TGeoManager.h.

◆ fIsGeomCleaning

Bool_t TGeoManager::fIsGeomCleaning
private

! flag to notify that the manager is being destructed

Definition at line 88 of file TGeoManager.h.

◆ fIsGeomReading

Bool_t TGeoManager::fIsGeomReading
private

! flag set when reading geometry

Definition at line 87 of file TGeoManager.h.

◆ fIsNodeSelectable

Bool_t TGeoManager::fIsNodeSelectable
private

! flag that nodes are the selected objects in pad rather than volumes

Definition at line 95 of file TGeoManager.h.

◆ fKeyPNEId

Int_t* TGeoManager::fKeyPNEId
private

Definition at line 148 of file TGeoManager.h.

◆ fLoopVolumes

Bool_t TGeoManager::fLoopVolumes
private

! flag volume lists loop

Definition at line 85 of file TGeoManager.h.

◆ fMasterVolume

TGeoVolume* TGeoManager::fMasterVolume
private

Definition at line 133 of file TGeoManager.h.

◆ fMaterials

TList* TGeoManager::fMaterials
private

Definition at line 111 of file TGeoManager.h.

◆ fMatrices

TObjArray* TGeoManager::fMatrices
private

Definition at line 99 of file TGeoManager.h.

◆ fMatrixReflection

Bool_t TGeoManager::fMatrixReflection
private

! flag for GL reflections

Definition at line 93 of file TGeoManager.h.

◆ fMatrixTransform

Bool_t TGeoManager::fMatrixTransform
private

! flag for using GL matrix

Definition at line 92 of file TGeoManager.h.

◆ fMaxThreads

Int_t TGeoManager::fMaxThreads
private

! Max number of threads

Definition at line 150 of file TGeoManager.h.

◆ fMaxVisNodes

Int_t TGeoManager::fMaxVisNodes
private

Definition at line 80 of file TGeoManager.h.

◆ fMedia

TList* TGeoManager::fMedia
private

Definition at line 112 of file TGeoManager.h.

◆ fMultiThread

Bool_t TGeoManager::fMultiThread
private

! Flag for multi-threading

Definition at line 151 of file TGeoManager.h.

◆ fName

TString TNamed::fName
protectedinherited

Definition at line 32 of file TNamed.h.

◆ fNavigators

NavigatorsMap_t TGeoManager::fNavigators
private

! Map between thread id's and navigator arrays

Definition at line 125 of file TGeoManager.h.

◆ fNLevel

Int_t TGeoManager::fNLevel
private

Definition at line 139 of file TGeoManager.h.

◆ fNNodes

Int_t TGeoManager::fNNodes
private

Definition at line 71 of file TGeoManager.h.

◆ fNodes

TObjArray* TGeoManager::fNodes
private

Definition at line 113 of file TGeoManager.h.

◆ fNpdg

Int_t TGeoManager::fNpdg
private

Definition at line 82 of file TGeoManager.h.

◆ fNPNEId

Int_t TGeoManager::fNPNEId
private

Definition at line 147 of file TGeoManager.h.

◆ fNsegments

Int_t TGeoManager::fNsegments
private

Definition at line 78 of file TGeoManager.h.

◆ fNtracks

Int_t TGeoManager::fNtracks
private

Definition at line 79 of file TGeoManager.h.

◆ fOpticalSurfaces

TObjArray* TGeoManager::fOpticalSurfaces
private

Definition at line 108 of file TGeoManager.h.

◆ fOverlaps

TObjArray* TGeoManager::fOverlaps
private

Definition at line 114 of file TGeoManager.h.

◆ fPainter

TVirtualGeoPainter* TGeoManager::fPainter
private

! current painter

Definition at line 96 of file TGeoManager.h.

◆ fPaintVolume

TGeoVolume* TGeoManager::fPaintVolume
private

! volume currently painted

Definition at line 140 of file TGeoManager.h.

◆ fParallelWorld

TGeoParallelWorld* TGeoManager::fParallelWorld
private

Definition at line 154 of file TGeoManager.h.

◆ fParticleName

TString TGeoManager::fParticleName
private

! particles to be drawn

Definition at line 73 of file TGeoManager.h.

◆ fPath

TString TGeoManager::fPath
private

! path to current node

Definition at line 72 of file TGeoManager.h.

◆ fPdgId

Int_t TGeoManager::fPdgId[1024]
private

Definition at line 83 of file TGeoManager.h.

◆ fPdgNames

TObjArray* TGeoManager::fPdgNames
private

Definition at line 106 of file TGeoManager.h.

◆ fPhiCut

Bool_t TGeoManager::fPhiCut
private

Definition at line 89 of file TGeoManager.h.

◆ fPhimax

Double_t TGeoManager::fPhimax
private

! highest range for phi cut

Definition at line 68 of file TGeoManager.h.

◆ fPhimin

Double_t TGeoManager::fPhimin
private

! lowest range for phi cut

Definition at line 67 of file TGeoManager.h.

◆ fPhysicalNodes

TObjArray* TGeoManager::fPhysicalNodes
private

Definition at line 102 of file TGeoManager.h.

◆ fProperties

ConstPropMap_t TGeoManager::fProperties
private

Definition at line 155 of file TGeoManager.h.

◆ fRaytraceMode

Int_t TGeoManager::fRaytraceMode
private

! Raytrace mode: 0=normal, 1=pass through, 2=transparent

Definition at line 152 of file TGeoManager.h.

◆ fRegions

TObjArray* TGeoManager::fRegions
private

Definition at line 115 of file TGeoManager.h.

◆ fShapes

TObjArray* TGeoManager::fShapes
private

Definition at line 100 of file TGeoManager.h.

◆ fSizePNEId

Int_t TGeoManager::fSizePNEId
private

Definition at line 146 of file TGeoManager.h.

◆ fSkinSurfaces

TObjArray* TGeoManager::fSkinSurfaces
private

Definition at line 109 of file TGeoManager.h.

◆ fStreamVoxels

Bool_t TGeoManager::fStreamVoxels
private

Definition at line 86 of file TGeoManager.h.

◆ fTimeCut

Bool_t TGeoManager::fTimeCut
private

Definition at line 90 of file TGeoManager.h.

◆ fTitle

TString TNamed::fTitle
protectedinherited

Definition at line 33 of file TNamed.h.

◆ fTmax

Double_t TGeoManager::fTmax
private

! upper time limit for tracks drawing

Definition at line 70 of file TGeoManager.h.

◆ fTmin

Double_t TGeoManager::fTmin
private

! lower time limit for tracks drawing

Definition at line 69 of file TGeoManager.h.

◆ fTopNode

TGeoNode* TGeoManager::fTopNode
private

! top physical node

Definition at line 132 of file TGeoManager.h.

◆ fTopVolume

TGeoVolume* TGeoManager::fTopVolume
private

! top level volume in geometry

Definition at line 131 of file TGeoManager.h.

◆ fTracks

TObjArray* TGeoManager::fTracks
private

Definition at line 105 of file TGeoManager.h.

◆ fUniqueID

UInt_t TObject::fUniqueID
privateinherited

object unique identifier

Definition at line 46 of file TObject.h.

◆ fUniqueVolumes

TObjArray* TGeoManager::fUniqueVolumes
private

Definition at line 135 of file TGeoManager.h.

◆ fUsePWNav

Bool_t TGeoManager::fUsePWNav
private

Definition at line 153 of file TGeoManager.h.

◆ fUserPaintVolume

TGeoVolume* TGeoManager::fUserPaintVolume
private

!

Definition at line 141 of file TGeoManager.h.

◆ fValuePNEId

Int_t* TGeoManager::fValuePNEId
private

Definition at line 149 of file TGeoManager.h.

◆ fVisDensity

Double_t TGeoManager::fVisDensity
private

Definition at line 74 of file TGeoManager.h.

◆ fVisLevel

Int_t TGeoManager::fVisLevel
private

Definition at line 77 of file TGeoManager.h.

◆ fVisOption

Int_t TGeoManager::fVisOption
private

Definition at line 76 of file TGeoManager.h.

◆ fVolumes

TObjArray* TGeoManager::fVolumes
private

Definition at line 101 of file TGeoManager.h.