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

#include <G4TrajectoryFilterFactories.hh>

+ Inheritance diagram for G4TrajectoryOriginVolumeFilterFactory:

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

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

Detailed Description

Definition at line 89 of file G4TrajectoryFilterFactories.hh.

Member Typedef Documentation

◆ Messengers

◆ ModelAndMessengers

Constructor & Destructor Documentation

◆ G4TrajectoryOriginVolumeFilterFactory()

G4TrajectoryOriginVolumeFilterFactory::G4TrajectoryOriginVolumeFilterFactory ( )

Definition at line 120 of file G4TrajectoryFilterFactories.cc.

◆ ~G4TrajectoryOriginVolumeFilterFactory()

G4TrajectoryOriginVolumeFilterFactory::~G4TrajectoryOriginVolumeFilterFactory ( )
virtual

Definition at line 124 of file G4TrajectoryFilterFactories.cc.

124{}

Member Function Documentation

◆ Create()

G4TrajectoryOriginVolumeFilterFactory::ModelAndMessengers G4TrajectoryOriginVolumeFilterFactory::Create ( const G4String placement,
const G4String name 
)
virtual

Implements G4VModelFactory< G4VFilter< G4VTrajectory > >.

Definition at line 127 of file G4TrajectoryFilterFactories.cc.

128{
129 // Create model
131
132 // Create associated messengers
133 Messengers messengers;
134
135 messengers.push_back(new G4ModelCmdAddString<G4TrajectoryOriginVolumeFilter>(model, placement));
136 messengers.push_back(new G4ModelCmdInvert<G4TrajectoryOriginVolumeFilter>(model, placement));
137 messengers.push_back(new G4ModelCmdActive<G4TrajectoryOriginVolumeFilter>(model, placement));
138 messengers.push_back(new G4ModelCmdVerbose<G4TrajectoryOriginVolumeFilter>(model, placement));
139 messengers.push_back(new G4ModelCmdReset<G4TrajectoryOriginVolumeFilter>(model, placement));
140
141 return ModelAndMessengers(model, messengers);
142}
std::pair< G4VFilter< G4VTrajectory > *, Messengers > ModelAndMessengers

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