Project
Loading...
Searching...
No Matches
o2::fastsim::FastSimRegionConstruction Class Reference

#include <FastSimRegions.h>

Inherits TG4VUserPostDetConstruction.

Classes

struct  ModelRegions
 

Public Member Functions

 FastSimRegionConstruction (std::vector< ModelRegions > models)
 
void Construct () override
 

Detailed Description

Sets each model's regions from its envelope, in the one window where that is possible: after the geometry is built and before Geant4-VMC turns the media into regions.

Definition at line 47 of file FastSimRegions.h.

Constructor & Destructor Documentation

◆ FastSimRegionConstruction()

o2::fastsim::FastSimRegionConstruction::FastSimRegionConstruction ( std::vector< ModelRegions models)
explicit

Definition at line 75 of file FastSimRegions.cxx.

Member Function Documentation

◆ Construct()

void o2::fastsim::FastSimRegionConstruction::Construct ( )
override

Called by Geant4-VMC after the geometry is built and immediately before the media are turned into regions, which is the only moment at which this can be done: the geometry does not exist when the model is created, and the regions are fixed once they are made.

Definition at line 81 of file FastSimRegions.cxx.


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