ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/visualization/modeling/include/G4TrajectoryChargeFilter.hh>
Public Member Functions | |
G4TrajectoryChargeFilter (const G4String &name="Unspecified") | |
virtual | ~G4TrajectoryChargeFilter () |
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 Types | |
enum | MyCharge { Negative =-1, Neutral =0, Positive =1 } |
Private Member Functions | |
G4bool | ConvertToCharge (const G4String &, MyCharge &) |
void | Add (const MyCharge &chgear) |
Private Attributes | |
std::vector< MyCharge > | fCharges |
Additional Inherited Members | |
Public Types inherited from G4VFilter< G4VTrajectory > | |
typedef G4VTrajectory | Type |
Definition at line 39 of file G4TrajectoryChargeFilter.hh.
View newest version in sPHENIX GitHub at line 39 of file G4TrajectoryChargeFilter.hh
|
private |
Definition at line 62 of file G4TrajectoryChargeFilter.hh.
View newest version in sPHENIX GitHub at line 62 of file G4TrajectoryChargeFilter.hh
G4TrajectoryChargeFilter::G4TrajectoryChargeFilter | ( | const G4String & | name = "Unspecified" | ) |
Definition at line 35 of file G4TrajectoryChargeFilter.cc.
View newest version in sPHENIX GitHub at line 35 of file G4TrajectoryChargeFilter.cc
|
virtual |
Definition at line 39 of file G4TrajectoryChargeFilter.cc.
View newest version in sPHENIX GitHub at line 39 of file G4TrajectoryChargeFilter.cc
Definition at line 63 of file G4TrajectoryChargeFilter.cc.
View newest version in sPHENIX GitHub at line 63 of file G4TrajectoryChargeFilter.cc
References charge, ConvertToCharge(), G4Exception(), and JustWarning.
Definition at line 80 of file G4TrajectoryChargeFilter.cc.
View newest version in sPHENIX GitHub at line 80 of file G4TrajectoryChargeFilter.cc
References fCharges.
|
virtual |
Implements G4SmartFilter< G4VTrajectory >.
Definition at line 98 of file G4TrajectoryChargeFilter.cc.
View newest version in sPHENIX GitHub at line 98 of file G4TrajectoryChargeFilter.cc
References fCharges.
|
private |
Definition at line 105 of file G4TrajectoryChargeFilter.cc.
View newest version in sPHENIX GitHub at line 105 of file G4TrajectoryChargeFilter.cc
References charge, Negative, Neutral, and Positive.
Referenced by Add().
|
virtual |
Implements G4SmartFilter< G4VTrajectory >.
Definition at line 42 of file G4TrajectoryChargeFilter.cc.
View newest version in sPHENIX GitHub at line 42 of file G4TrajectoryChargeFilter.cc
References charge, fCharges, G4cout, G4endl, G4VTrajectory::GetCharge(), G4SmartFilter< G4VTrajectory >::GetVerbose(), Negative, Neutral, and Positive.
|
virtual |
Implements G4SmartFilter< G4VTrajectory >.
Definition at line 86 of file G4TrajectoryChargeFilter.cc.
View newest version in sPHENIX GitHub at line 86 of file G4TrajectoryChargeFilter.cc
|
private |
Definition at line 69 of file G4TrajectoryChargeFilter.hh.
View newest version in sPHENIX GitHub at line 69 of file G4TrajectoryChargeFilter.hh
Referenced by Add(), Clear(), Evaluate(), and Print().