24 #ifndef Gw_BaseEventDisplay
28 #ifndef ROOT_TGeoManager
29 #include "TGeoManager.h"
32 #ifndef ROOT_TGeoVolume
33 #include "TGeoVolume.h"
52 fFirstEventDone(false),
87 for (Int_t i = 0; i < list->GetEntries(); ++i) {
88 TGeoNode* vol = (TGeoNode*)list->At(i);
89 TString volName(vol->GetName());
90 if (volName.Contains(volume->GetName())) {
91 fLog <<
warning << Form(
"Geometry of %s already loaded",volume->GetName()) <<
dolog;
107 TObjArray* list = gGeoManager->GetListOfVolumes();
109 for (Int_t i = 0; i < list->GetEntries(); ++i) {
110 TGeoVolume* vol = (TGeoVolume*)list->At(i);
111 vol->SetTransparency(transparency);
void Import(TString Incl="*", TString Excl="*.samp", TString DefaultPath="")
*/
LogMessage & error(LogMessage &)
LogMessage & warning(LogMessage &)
BaseEventDisplay base class to work on event display.
static Bool_t fgIsGeoLoaded
LogMessage & nline(LogMessage &)
LogMessage & dolog(LogMessage &)
virtual void LoadGeometry(const Char_t *fileName)
virtual void AddGeometry(TGeoVolume *volume, TGeoMatrix *matrix=gGeoIdentity)
virtual void SetProcessMethod(const char *)
To set the current method.
virtual ~BaseEventDisplay()
virtual void SetTransparency(Char_t transparency=50)