Functions
plotEDepSim.h File Reference

Go to the source code of this file.

Functions

TObject * EDepSimFillTrajectory (int trackId)
 
TObject * EDepSimPlotTrajectory (int trackId)
 
int EDepSimPlotTrajectories ()
 Plot all the trajectories. More...
 
int EDepSimPlotSegmentDetector (std::string name)
 Plot all the energy deposition from one detector. More...
 
int EDepSimPlotSegmentDetectors ()
 Plot the energy deposition from all of the detectors. More...
 
void EDepSimClearTrajectories ()
 Clear all of the plotted trajectories. More...
 
void EDepSimClearHits ()
 Clear all the plotted hits. More...
 
void EDepSimClearAll ()
 Clear everything. More...
 
void EDepSimPlotEvent (int i, bool drawGeom)
 

Function Documentation

void EDepSimClearAll ( )

Clear everything.

void EDepSimClearHits ( )

Clear all the plotted hits.

void EDepSimClearTrajectories ( )

Clear all of the plotted trajectories.

TObject* EDepSimFillTrajectory ( int  trackId)

Fill a trajectory, but don't plot it. This returns a pointer to the object that needs to be drawn.

void EDepSimPlotEvent ( int  i,
bool  drawGeom 
)

Plot the event. If an argument isn't provided, a default value of -1 is used and the current event is drawn. If the drawGeom is true, then the geometry is draw, otherwise not (default: true);

int EDepSimPlotSegmentDetector ( std::string  name)

Plot all the energy deposition from one detector.

int EDepSimPlotSegmentDetectors ( )

Plot the energy deposition from all of the detectors.

int EDepSimPlotTrajectories ( )

Plot all the trajectories.

TObject* EDepSimPlotTrajectory ( int  trackId)

Fill and plot a particular trajectory on the current canvas. This returns a pointer to the drawn object. The returned object is owned by ClearTrajectories.