BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
eventdisplay.C File Reference

Go to the source code of this file.

Functions

Bool_t SetupOffline (TString simFile, TString recoFile)
Bool_t SetupOnline (TString endpoint)
void SetupSim (TString simFile, TString recoFile)
void SetupExp (TString recoFile)
Bool_t LoadGeometry (Int_t runPeriod, Int_t runNumber, Bool_t latest=kFALSE)
void SetSimTasks (Color_t mcPointColor=kRed, Color_t recoPointColor=kBlack, Style_t pointMarker=kFullDotSmall)
void SetExpTasks (Color_t pointColor=kRed, Style_t pointMarker=kFullDotSmall)
void eventdisplay (TString simFile="$VMCWORKDIR/macro/run/bmnsim.root", TString recoFile="$VMCWORKDIR/macro/run/bmndst.root", TString endpoint="")
 Event Display macro for experimental and simulated data.

Function Documentation

◆ eventdisplay()

void eventdisplay ( TString simFile = "$VMCWORKDIR/macro/run/bmnsim.root",
TString recoFile = "$VMCWORKDIR/macro/run/bmndst.root",
TString endpoint = "" )
Parameters
simFileROOT file with MC data (and detector geometry) in case of MC visualization
recoFileROOT file with reconstructed data for simulated or experimental
endpointZMQ publisher socket url, for example tcp://localhost:5557. If the values is not empty, the Event Display is started in online mode

Definition at line 14 of file eventdisplay.C.

References MpdEventManager::background_color, MpdEventManager::Init(), MpdEventManager::isDarkColor, SetupOffline(), and SetupOnline().

Here is the call graph for this function:

◆ LoadGeometry()

Bool_t LoadGeometry ( Int_t runPeriod,
Int_t runNumber,
Bool_t latest = kFALSE )

Definition at line 111 of file eventdisplay.C.

References TString::Format(), GeoSetup::GetLastApprovedSetupTag(), and GeoSetup::LoadSetupToGeoManager().

Referenced by SetupExp(), and SetupOnline().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetExpTasks()

void SetExpTasks ( Color_t pointColor = kRed,
Style_t pointMarker = kFullDotSmall )

Definition at line 166 of file eventdisplay.C.

References MpdEventManager::AddTask(), MpdEventManager::Instance(), kECAL, kFHCAL, and kZDC.

Referenced by SetupOffline(), and SetupOnline().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetSimTasks()

void SetSimTasks ( Color_t mcPointColor = kRed,
Color_t recoPointColor = kBlack,
Style_t pointMarker = kFullDotSmall )

Definition at line 128 of file eventdisplay.C.

References MpdEventManager::AddTask(), MpdEventManager::Instance(), kECAL, kFHCAL, and kZDC.

Referenced by SetupOffline().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetupExp()

void SetupExp ( TString recoFile)

Definition at line 101 of file eventdisplay.C.

References MpdEventManager::iDataSource, MpdEventManager::Instance(), and LoadGeometry().

Referenced by SetupOffline().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetupOffline()

Bool_t SetupOffline ( TString simFile,
TString recoFile )

Definition at line 40 of file eventdisplay.C.

References BmnFunctionSet::CheckFileExist(), BmnFunctionSet::isSimulationFile(), SetExpTasks(), SetSimTasks(), SetupExp(), and SetupSim().

Referenced by eventdisplay().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetupOnline()

Bool_t SetupOnline ( TString endpoint)

Definition at line 65 of file eventdisplay.C.

References MpdEventManager::iDataSource, MpdEventManager::Instance(), MpdEventManager::isOnline, LoadGeometry(), and SetExpTasks().

Referenced by eventdisplay().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetupSim()

void SetupSim ( TString simFile,
TString recoFile )


Definition at line 80 of file eventdisplay.C.

References MpdEventManager::iDataSource, and MpdEventManager::Instance().

Referenced by SetupOffline().

Here is the call graph for this function:
Here is the caller graph for this function: