Geant4 9.6.0
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 ()
 
virtual ModelAndMessengers Create (const G4String &placement, const G4String &modelName)=0
 
void Print (std::ostream &ostr) const
 

Detailed Description

Definition at line 59 of file G4TrajectoryFilterFactories.hh.

Member Typedef Documentation

◆ Messengers

◆ ModelAndMessengers

Constructor & Destructor Documentation

◆ G4TrajectoryChargeFilterFactory()

G4TrajectoryChargeFilterFactory::G4TrajectoryChargeFilterFactory ( )

◆ ~G4TrajectoryChargeFilterFactory()

G4TrajectoryChargeFilterFactory::~G4TrajectoryChargeFilterFactory ( )
virtual

Definition at line 75 of file G4TrajectoryFilterFactories.cc.

75{}

Member Function Documentation

◆ Create()

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

Implements G4VModelFactory< G4VFilter< G4VTrajectory > >.

Definition at line 78 of file G4TrajectoryFilterFactories.cc.

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

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