Logo ROOT  
Reference Guide
ROOT::Experimental::REveGeoManagerHolder Class Reference

REveGeoManagerHolder Exception-safe global variable holders.

Definition at line 87 of file REveUtil.hxx.

Public Member Functions

 REveGeoManagerHolder (TGeoManager *new_gmgr=nullptr, Int_t n_seg=0)
 Constructor. More...
 
 ~REveGeoManagerHolder ()
 Destructor. More...
 

Private Attributes

TGeoManagerfManager {nullptr}
 ! hold manager More...
 
Int_t fNSegments {0}
 ! previous settings for num segments More...
 

#include <ROOT/REveUtil.hxx>

Constructor & Destructor Documentation

◆ REveGeoManagerHolder()

REveGeoManagerHolder::REveGeoManagerHolder ( TGeoManager new_gmgr = nullptr,
Int_t  n_seg = 0 
)

Constructor.

If n_seg is specified and larger than 2, the new geo-manager's NSegments is set to this value.

Definition at line 346 of file REveUtil.cxx.

◆ ~REveGeoManagerHolder()

REveGeoManagerHolder::~REveGeoManagerHolder ( )

Destructor.

Definition at line 365 of file REveUtil.cxx.

Member Data Documentation

◆ fManager

TGeoManager* ROOT::Experimental::REveGeoManagerHolder::fManager {nullptr}
private

! hold manager

Definition at line 90 of file REveUtil.hxx.

◆ fNSegments

Int_t ROOT::Experimental::REveGeoManagerHolder::fNSegments {0}
private

! previous settings for num segments

Definition at line 91 of file REveUtil.hxx.

Libraries for ROOT::Experimental::REveGeoManagerHolder:
[legend]

The documentation for this class was generated from the following files: