|
RooParticle
Particle scattering simulator with ROOT
|
Base class of event volumes: the region in which an event is "alive". More...
#include <eventVolume.hpp>
Public Member Functions | |
| eventVolume () | |
| Create the volume (nothing to initialise). | |
| virtual Bool_t | Inside (TVector3 position) |
| Is the point inside the volume? | |
Base class of event volumes: the region in which an event is "alive".
The base class is the whole space (Inside() is always true). The volume never affects the dynamics. It matters only through the inspectors "VOUT" and "VOUTA" (event::IsInsideVolume), which ask whether the non-invincible particles have left it, and an event without a volume regards everything as inside. The event does not own the volume (event::SetVolume): create it with new or on the stack and keep it alive as long as the event and its copies use it.
Definition at line 19 of file eventVolume.hpp.
| eventVolume::eventVolume | ( | ) |
Create the volume (nothing to initialise).
Definition at line 5 of file eventVolume.cpp.
|
inlinevirtual |
Is the point inside the volume?
| position | point in fm |
Reimplemented in eventVGeneral.
Definition at line 26 of file eventVolume.hpp.