Geant4 9.6.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 91 of file G4TrajectoryFilterFactories.hh.

Member Typedef Documentation

◆ Messengers

◆ ModelAndMessengers

Constructor & Destructor Documentation

◆ G4TrajectoryOriginVolumeFilterFactory()

G4TrajectoryOriginVolumeFilterFactory::G4TrajectoryOriginVolumeFilterFactory ( )

Definition at line 122 of file G4TrajectoryFilterFactories.cc.

◆ ~G4TrajectoryOriginVolumeFilterFactory()

G4TrajectoryOriginVolumeFilterFactory::~G4TrajectoryOriginVolumeFilterFactory ( )
virtual

Definition at line 126 of file G4TrajectoryFilterFactories.cc.

126{}

Member Function Documentation

◆ Create()

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

Implements G4VModelFactory< G4VFilter< G4VTrajectory > >.

Definition at line 129 of file G4TrajectoryFilterFactories.cc.

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

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