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

#include <G4TrajectoryFilterFactories.hh>

+ Inheritance diagram for G4TrajectoryParticleFilterFactory:

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

 G4TrajectoryParticleFilterFactory ()
 
virtual ~G4TrajectoryParticleFilterFactory ()
 
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 73 of file G4TrajectoryFilterFactories.hh.

Member Typedef Documentation

◆ Messengers

◆ ModelAndMessengers

Constructor & Destructor Documentation

◆ G4TrajectoryParticleFilterFactory()

G4TrajectoryParticleFilterFactory::G4TrajectoryParticleFilterFactory ( )

Definition at line 95 of file G4TrajectoryFilterFactories.cc.

◆ ~G4TrajectoryParticleFilterFactory()

G4TrajectoryParticleFilterFactory::~G4TrajectoryParticleFilterFactory ( )
virtual

Definition at line 99 of file G4TrajectoryFilterFactories.cc.

99{}

Member Function Documentation

◆ Create()

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

Implements G4VModelFactory< G4VFilter< G4VTrajectory > >.

Definition at line 102 of file G4TrajectoryFilterFactories.cc.

103{
104 // Create model
106
107 // Create associated messengers
108 Messengers messengers;
109
110 messengers.push_back(new G4ModelCmdAddString<G4TrajectoryParticleFilter>(model, placement));
111 messengers.push_back(new G4ModelCmdInvert<G4TrajectoryParticleFilter>(model, placement));
112 messengers.push_back(new G4ModelCmdActive<G4TrajectoryParticleFilter>(model, placement));
113 messengers.push_back(new G4ModelCmdVerbose<G4TrajectoryParticleFilter>(model, placement));
114 messengers.push_back(new G4ModelCmdReset<G4TrajectoryParticleFilter>(model, placement));
115
116 return ModelAndMessengers(model, messengers);
117}
std::vector< G4UImessenger * > Messengers
std::pair< G4VFilter< G4VTrajectory > *, Messengers > ModelAndMessengers

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