3#ifndef MPDEVENTMANAGER_H
4#define MPDEVENTMANAGER_H
17#include <unordered_set>
228 bool ValidateXml(
const char* XMLFileName,
const char* XSDFileName);
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
#define ClassDef(name, id)
TEveProjectionManager * GetRPhiProjManager() const
virtual void SetMinEnergyLimit(Float_t min)
virtual void SetCurrentEvent(Int_t event_number)
virtual void SetXMLConfig(TString xml_config)
bool fgShowShowRecoTracks
TEveElementList * EveRecoPoints
virtual void Init(Int_t visopt=1, Int_t vislvl=3, Int_t maxvisnds=10000)
static MpdEventManager * fgRinstance
vector< structLevelColoring * > vecLevelColoring
MpdEventManager(const MpdEventManager &)=delete
TEveViewer * fMultiRPhiView
void SelectedGeometryColoring()
bool fgRedrawRecoPointsReqired
TEveProjectionManager * fRhoZMng
void LevelChangeNodeProperty(TGeoNode *node, size_t level)
TEveProjectionManager * GetRhoZProjManager() const
virtual void SetMaxEnergyCut(Float_t max)
TEveViewer * GetMultiView() const
VisualizationColoring gVisualizationColoring
virtual void ExpandEnergyLimits(Float_t check_energy, float add_multiplier=1)
virtual void SetMinEnergyCut(Float_t min)
bool ValidateXml(const char *XMLFileName, const char *XSDFileName)
vector< structSelectedColoring * > vecSelectedColoring
TEveProjectionAxes * GetRPhiAxes() const
virtual Bool_t IsPriOnly()
virtual void SetPriOnly(Bool_t Pri)
static MpdEventManager * Instance()
MpdEventManagerEditor * GetEventEditor()
virtual ~MpdEventManager()
TEveProjectionAxes * GetRhoZAxes() const
TEveScene * fRPhiGeomScene
TEveProjectionAxes * fAxesPhi
TEveElementList * EveRecoTracks
virtual void GotoEvent(Int_t event)
virtual Int_t Color(Int_t pdg)
TEveViewer * fMulti3DView
virtual void SetRhoZPlane(Double_t a, Double_t b, Double_t c, Double_t d)
void SetViewers(TEveViewer *RPhi, TEveViewer *RhoZ)
TEveViewer * GetRhoZView() const
void InitColorStructure()
MpdEventManagerEditor * fEventEditor
TEveProjectionAxes * fAxesRho
TEveElementList * EveMCTracks
TEveScene * fRhoZGeomScene
TEveViewer * GetMultiRhoZView() const
void RecursiveChangeNodeTransparent(TGeoNode *parentNode, int transparency)
TEveViewer * GetRPhiView() const
virtual void SetRPhiPlane(Double_t a, Double_t b, Double_t c, Double_t d)
map< int, int > fPDGToColor
TEveViewer * fMultiRhoZView
bool fgShowShowRecoPoints
void SetEventEditor(MpdEventManagerEditor *event_editor)
Int_t StringToColor(TString color)
TEveScene * GetRPhiScene()
void SetTransparentGeometry(bool is_on)
TEveViewer * GetMultiRPhiView() const
virtual Int_t GetCurrentEvent()
virtual Float_t GetMinEnergyLimit()
void LoadXMLDetector(TGeoNode *node, MpdXMLNode *xml, Int_t depth=0)
MpdEventManager & operator=(const MpdEventManager &)=delete
unordered_set< Int_t > fCurrentPDG
virtual void AddParticlesToPdgDataBase()
void AddEventElement(TEveElement *element, ElementList element_list)
void AddTask(FairTask *t)
TEveProjectionManager * fRPhiMng
void RecursiveChangeNodeProperty(TGeoNode *parentNode, Int_t color, int transparency)
virtual void LoadXMLSettings()
virtual Float_t GetMinEnergyCut()
TEveScene * GetRhoZScene()
virtual Float_t GetMaxEnergyCut()
TEveElementList * EveMCPoints
virtual void DisplaySettings()
virtual void SetMaxEnergyLimit(Float_t max)
virtual Float_t GetMaxEnergyLimit()
class for representing XML node
TEveElementList(const char *n="TEveElementList", const char *t="", Bool_t doColor=kFALSE, Bool_t doTransparency=kFALSE)
TEveEventManager(const char *n="TEveEventManager", const char *t="")
structLevelColoring(TString fill, bool isLine, bool vis, int transp)
structSelectedColoring(TString det_name, TString det_color, int det_transparency, bool isRecursive)
int detector_transparency