ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Member Functions | |
G4TrajectoryDrawByParticleID (const G4String &name="Unspecified", G4VisTrajContext *context=0) | |
virtual | ~G4TrajectoryDrawByParticleID () |
virtual void | Draw (const G4VTrajectory &trajectory, const G4bool &visible=true) const |
virtual void | Print (std::ostream &ostr) const |
void | SetDefault (const G4String &) |
void | SetDefault (const G4Colour &) |
void | Set (const G4String &particle, const G4String &colour) |
void | Set (const G4String &particle, const G4Colour &colour) |
Public Member Functions inherited from G4VTrajectoryModel | |
G4VTrajectoryModel (const G4String &name, G4VisTrajContext *fpContext=0) | |
virtual | ~G4VTrajectoryModel () |
G4String | Name () const |
const G4VisTrajContext & | GetContext () const |
void | SetVerbose (const G4bool &) |
G4bool | GetVerbose () const |
Private Attributes | |
G4ModelColourMap< G4String > | fMap |
G4Colour | fDefault |
Definition at line 43 of file G4TrajectoryDrawByParticleID.hh.
View newest version in sPHENIX GitHub at line 43 of file G4TrajectoryDrawByParticleID.hh
G4TrajectoryDrawByParticleID::G4TrajectoryDrawByParticleID | ( | const G4String & | name = "Unspecified" , |
G4VisTrajContext * | context = 0 |
||
) |
Definition at line 34 of file G4TrajectoryDrawByParticleID.cc.
View newest version in sPHENIX GitHub at line 34 of file G4TrajectoryDrawByParticleID.cc
References Set().
|
virtual |
Definition at line 47 of file G4TrajectoryDrawByParticleID.cc.
View newest version in sPHENIX GitHub at line 47 of file G4TrajectoryDrawByParticleID.cc
|
virtual |
Implements G4VTrajectoryModel.
Definition at line 50 of file G4TrajectoryDrawByParticleID.cc.
View newest version in sPHENIX GitHub at line 50 of file G4TrajectoryDrawByParticleID.cc
References G4TrajectoryDrawerUtils::DrawLineAndPoints(), fDefault, fMap, G4cout, G4endl, G4ModelColourMap< T >::GetColour(), G4VTrajectoryModel::GetContext(), G4VTrajectory::GetParticleName(), G4VTrajectoryModel::GetVerbose(), G4VTrajectoryModel::Name(), particle, G4VisTrajContext::Print(), and G4VisTrajContext::SetLineColour().
|
virtual |
Implements G4VTrajectoryModel.
Definition at line 107 of file G4TrajectoryDrawByParticleID.cc.
View newest version in sPHENIX GitHub at line 107 of file G4TrajectoryDrawByParticleID.cc
References fDefault, fMap, G4cout, G4endl, G4VTrajectoryModel::GetContext(), G4VTrajectoryModel::Name(), G4VisTrajContext::Print(), and G4ModelColourMap< T >::Print().
Definition at line 95 of file G4TrajectoryDrawByParticleID.cc.
View newest version in sPHENIX GitHub at line 95 of file G4TrajectoryDrawByParticleID.cc
References fMap, and G4ModelColourMap< T >::Set().
Referenced by G4TrajectoryDrawByParticleID().
Definition at line 101 of file G4TrajectoryDrawByParticleID.cc.
View newest version in sPHENIX GitHub at line 101 of file G4TrajectoryDrawByParticleID.cc
Definition at line 72 of file G4TrajectoryDrawByParticleID.cc.
View newest version in sPHENIX GitHub at line 72 of file G4TrajectoryDrawByParticleID.cc
References G4Exception(), G4Colour::GetColour(), JustWarning, and G4Colour::White().
Definition at line 89 of file G4TrajectoryDrawByParticleID.cc.
View newest version in sPHENIX GitHub at line 89 of file G4TrajectoryDrawByParticleID.cc
References fDefault.
|
private |
Definition at line 69 of file G4TrajectoryDrawByParticleID.hh.
View newest version in sPHENIX GitHub at line 69 of file G4TrajectoryDrawByParticleID.hh
Referenced by Draw(), Print(), and SetDefault().
|
private |
Definition at line 68 of file G4TrajectoryDrawByParticleID.hh.
View newest version in sPHENIX GitHub at line 68 of file G4TrajectoryDrawByParticleID.hh