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

#include <G4TrajectoryFilterFactories.hh>

+ Inheritance diagram for G4TrajectoryChargeFilterFactory:

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

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

Member Typedef Documentation

◆ Messengers

◆ ModelAndMessengers

Constructor & Destructor Documentation

◆ G4TrajectoryChargeFilterFactory()

G4TrajectoryChargeFilterFactory::G4TrajectoryChargeFilterFactory ( )

◆ ~G4TrajectoryChargeFilterFactory()

G4TrajectoryChargeFilterFactory::~G4TrajectoryChargeFilterFactory ( )
virtual

Definition at line 74 of file G4TrajectoryFilterFactories.cc.

74{}

Member Function Documentation

◆ Create()

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

Implements G4VModelFactory< G4VFilter< G4VTrajectory > >.

Definition at line 77 of file G4TrajectoryFilterFactories.cc.

78{
79 // Create model
81
82 // Create associated messengers
83 Messengers messengers;
84
85 messengers.push_back(new G4ModelCmdAddString<G4TrajectoryChargeFilter>(model, placement));
86 messengers.push_back(new G4ModelCmdInvert<G4TrajectoryChargeFilter>(model, placement));
87 messengers.push_back(new G4ModelCmdActive<G4TrajectoryChargeFilter>(model, placement));
88 messengers.push_back(new G4ModelCmdVerbose<G4TrajectoryChargeFilter>(model, placement));
89 messengers.push_back(new G4ModelCmdReset<G4TrajectoryChargeFilter>(model, placement));
90
91 return ModelAndMessengers(model, messengers);
92}
std::vector< G4UImessenger * > Messengers
std::pair< G4VFilter< G4VTrajectory > *, Messengers > ModelAndMessengers

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