Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4TrajectoryEncounteredVolumeFilterFactory Class Reference

#include <G4TrajectoryFilterFactories.hh>

+ Inheritance diagram for G4TrajectoryEncounteredVolumeFilterFactory:

Public Types

typedef std::vector< G4UImessenger * > Messengers
 
typedef std::pair< G4VFilter< G4VTrajectory > *, MessengersModelAndMessengers
 
- Public Types inherited from G4VModelFactory< G4VFilter< G4VTrajectory > >
typedef std::vector< G4UImessenger * > Messengers
 
typedef std::pair< G4VFilter< G4VTrajectory > *, MessengersModelAndMessengers
 

Public Member Functions

 G4TrajectoryEncounteredVolumeFilterFactory ()
 
virtual ~G4TrajectoryEncounteredVolumeFilterFactory ()
 
ModelAndMessengers Create (const G4String &placement, const G4String &name)
 
- Public Member Functions inherited from G4VModelFactory< G4VFilter< G4VTrajectory > >
 G4VModelFactory (const G4String &name)
 
virtual ~G4VModelFactory ()
 
G4String Name ()
 
void Print (std::ostream &ostr) const
 

Detailed Description

Definition at line 105 of file G4TrajectoryFilterFactories.hh.

Member Typedef Documentation

◆ Messengers

◆ ModelAndMessengers

Constructor & Destructor Documentation

◆ G4TrajectoryEncounteredVolumeFilterFactory()

G4TrajectoryEncounteredVolumeFilterFactory::G4TrajectoryEncounteredVolumeFilterFactory ( )

Definition at line 145 of file G4TrajectoryFilterFactories.cc.

146:G4VModelFactory< G4VFilter<G4VTrajectory> >("encounteredVolumeFilter")
147{}

◆ ~G4TrajectoryEncounteredVolumeFilterFactory()

G4TrajectoryEncounteredVolumeFilterFactory::~G4TrajectoryEncounteredVolumeFilterFactory ( )
virtual

Definition at line 149 of file G4TrajectoryFilterFactories.cc.

149{}

Member Function Documentation

◆ Create()

G4TrajectoryEncounteredVolumeFilterFactory::ModelAndMessengers G4TrajectoryEncounteredVolumeFilterFactory::Create ( const G4String & placement,
const G4String & name )
virtual

Implements G4VModelFactory< G4VFilter< G4VTrajectory > >.

Definition at line 152 of file G4TrajectoryFilterFactories.cc.

153{
154 // Create model
156
157 // Create associated messengers
158 Messengers messengers;
159
160 messengers.push_back(new G4ModelCmdAddString<G4TrajectoryEncounteredVolumeFilter>(model, placement));
161 messengers.push_back(new G4ModelCmdInvert<G4TrajectoryEncounteredVolumeFilter>(model, placement));
162 messengers.push_back(new G4ModelCmdActive<G4TrajectoryEncounteredVolumeFilter>(model, placement));
163 messengers.push_back(new G4ModelCmdVerbose<G4TrajectoryEncounteredVolumeFilter>(model, placement));
164 messengers.push_back(new G4ModelCmdReset<G4TrajectoryEncounteredVolumeFilter>(model, placement));
165
166 return ModelAndMessengers(model, messengers);
167}
std::pair< G4VFilter< G4VTrajectory > *, Messengers > ModelAndMessengers

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