ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4TrajectoryParticleFilter Class Reference

#include <geant4/tree/geant4-10.6-release/source/visualization/modeling/include/G4TrajectoryParticleFilter.hh>

+ Inheritance diagram for G4TrajectoryParticleFilter:
+ Collaboration diagram for G4TrajectoryParticleFilter:

Public Member Functions

 G4TrajectoryParticleFilter (const G4String &name="Unspecified")
 
virtual ~G4TrajectoryParticleFilter ()
 
virtual bool Evaluate (const G4VTrajectory &) const
 
virtual void Print (std::ostream &ostr) const
 
virtual void Clear ()
 
void Add (const G4String &particle)
 
- Public Member Functions inherited from G4SmartFilter< G4VTrajectory >
 G4SmartFilter (const G4String &name)
 
virtual ~G4SmartFilter ()
 
G4bool Accept (const G4VTrajectory &) const
 
virtual void PrintAll (std::ostream &ostr) const
 
virtual void Reset ()
 
void SetActive (const G4bool &)
 
G4bool GetActive () const
 
void SetInvert (const G4bool &)
 
G4bool GetInvert () const
 
void SetVerbose (const G4bool &)
 
G4bool GetVerbose () const
 
- Public Member Functions inherited from G4VFilter< G4VTrajectory >
 G4VFilter (const G4String &name)
 
virtual ~G4VFilter ()
 
G4String Name () const
 
G4String GetName () const
 

Private Attributes

std::vector< G4StringfParticles
 

Additional Inherited Members

- Public Types inherited from G4VFilter< G4VTrajectory >
typedef G4VTrajectory Type
 

Detailed Description

Definition at line 39 of file G4TrajectoryParticleFilter.hh.

View newest version in sPHENIX GitHub at line 39 of file G4TrajectoryParticleFilter.hh

Constructor & Destructor Documentation

G4TrajectoryParticleFilter::G4TrajectoryParticleFilter ( const G4String name = "Unspecified")

Definition at line 34 of file G4TrajectoryParticleFilter.cc.

View newest version in sPHENIX GitHub at line 34 of file G4TrajectoryParticleFilter.cc

G4TrajectoryParticleFilter::~G4TrajectoryParticleFilter ( )
virtual

Definition at line 38 of file G4TrajectoryParticleFilter.cc.

View newest version in sPHENIX GitHub at line 38 of file G4TrajectoryParticleFilter.cc

Member Function Documentation

void G4TrajectoryParticleFilter::Add ( const G4String particle)

Definition at line 57 of file G4TrajectoryParticleFilter.cc.

View newest version in sPHENIX GitHub at line 57 of file G4TrajectoryParticleFilter.cc

References fParticles.

void G4TrajectoryParticleFilter::Clear ( )
virtual

Implements G4SmartFilter< G4VTrajectory >.

Definition at line 75 of file G4TrajectoryParticleFilter.cc.

View newest version in sPHENIX GitHub at line 75 of file G4TrajectoryParticleFilter.cc

References fParticles.

bool G4TrajectoryParticleFilter::Evaluate ( const G4VTrajectory traj) const
virtual

Implements G4SmartFilter< G4VTrajectory >.

Definition at line 41 of file G4TrajectoryParticleFilter.cc.

View newest version in sPHENIX GitHub at line 41 of file G4TrajectoryParticleFilter.cc

References fParticles, G4cout, G4endl, G4VTrajectory::GetParticleName(), G4SmartFilter< G4VTrajectory >::GetVerbose(), and particle.

+ Here is the call graph for this function:

void G4TrajectoryParticleFilter::Print ( std::ostream &  ostr) const
virtual

Implements G4SmartFilter< G4VTrajectory >.

Definition at line 63 of file G4TrajectoryParticleFilter.cc.

View newest version in sPHENIX GitHub at line 63 of file G4TrajectoryParticleFilter.cc

References fParticles, and G4endl.

Member Data Documentation

std::vector<G4String> G4TrajectoryParticleFilter::fParticles
private

Definition at line 63 of file G4TrajectoryParticleFilter.hh.

View newest version in sPHENIX GitHub at line 63 of file G4TrajectoryParticleFilter.hh

Referenced by Add(), Clear(), Evaluate(), and Print().


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