plotEDepSim.h
Go to the documentation of this file.
1 // TEST MACRO FOR USE WITH ROOT5.
2 #ifndef plotEDepSim_h
3 #define plotEDepSim_h
4 
5 /// Fill a trajectory, but don't plot it. This returns a pointer to the
6 /// object that needs to be drawn.
7 TObject* EDepSimFillTrajectory(int trackId);
8 
9 /// Fill and plot a particular trajectory on the current canvas. This returns
10 /// a pointer to the drawn object. The returned object is owned by
11 /// ClearTrajectories.
12 TObject* EDepSimPlotTrajectory(int trackId);
13 
14 /// Plot all the trajectories.
16 
17 /// Plot all the energy deposition from one detector.
19 
20 /// Plot the energy deposition from all of the detectors.
22 
23 /// Clear all of the plotted trajectories.
25 
26 /// Clear all the plotted hits.
27 void EDepSimClearHits();
28 
29 /// Clear everything.
30 void EDepSimClearAll();
31 
32 /// Plot the event. If an argument isn't provided, a default value of -1 is
33 /// used and the current event is drawn. If the drawGeom is true, then the
34 /// geometry is draw, otherwise not (default: true);
35 void EDepSimPlotEvent(int i, bool drawGeom);
36 
37 #endif
static QCString name
Definition: declinfo.cpp:673
void EDepSimClearHits()
Clear all the plotted hits.
TObject * EDepSimPlotTrajectory(int trackId)
std::string string
Definition: nybbler.cc:12
TObject * EDepSimFillTrajectory(int trackId)
int EDepSimPlotSegmentDetectors()
Plot the energy deposition from all of the detectors.
void EDepSimClearAll()
Clear everything.
void EDepSimPlotEvent(int i, bool drawGeom)
int EDepSimPlotSegmentDetector(std::string name)
Plot all the energy deposition from one detector.
void EDepSimClearTrajectories()
Clear all of the plotted trajectories.
int EDepSimPlotTrajectories()
Plot all the trajectories.