RooParticle
Particle scattering simulator with ROOT
Loading...
Searching...
No Matches
Public Member Functions | List of all members
eventVolume Class Reference

Base class of event volumes: the region in which an event is "alive". More...

#include <eventVolume.hpp>

Inheritance diagram for eventVolume:
eventVGeneral

Public Member Functions

 eventVolume ()
 Create the volume (nothing to initialise).
 
virtual Bool_t Inside (TVector3 position)
 Is the point inside the volume?
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ eventVolume()

eventVolume::eventVolume ( )

Create the volume (nothing to initialise).

Definition at line 5 of file eventVolume.cpp.

Member Function Documentation

◆ Inside()

virtual Bool_t eventVolume::Inside ( TVector3  position)
inlinevirtual

Is the point inside the volume?

Parameters
positionpoint in fm
Returns
true (the base class contains every point); derived classes override

Reimplemented in eventVGeneral.

Definition at line 26 of file eventVolume.hpp.


The documentation for this class was generated from the following files: