LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
VisualizationAction.h
Go to the documentation of this file.
1 //
23 
24 #ifndef LArG4_VisualizationAction_H
25 #define LArG4_VisualizationAction_H
26 
28 #include "Geant4/globals.hh"
29 
30 // Forward declarations of G4 classes that are arguments to
31 // UserAction methods.
32 class G4Run;
33 class G4Event;
34 
35 namespace larg4 {
36 
38  {
39  public:
41  virtual ~VisualizationAction();
42 
43  virtual void BeginOfRunAction(const G4Run*);
44  virtual void EndOfRunAction(const G4Run*);
45  virtual void BeginOfEventAction(const G4Event*);
46  virtual void EndOfEventAction(const G4Event*);
47 
49  G4double GetTrackEnergyCutoff() const {return m_energyCutoff;}
50  void SetTrackEnergyCutoff(const G4double e) {m_energyCutoff = e;}
51 
52  private:
54  G4double m_energyCutoff;
55 
58  };
59 
60 } // namespace LArG4
61 
62 #endif // LArG4_VisualizationAction_H
G4bool m_drawNeutrals
Whether or not to draw neutral tracks (default is no).
virtual void BeginOfEventAction(const G4Event *)
G4UserEventAction interfaces.
Geant4 interface.
see below
virtual void BeginOfRunAction(const G4Run *)
G4UserRunAction interfaces.
virtual void EndOfEventAction(const G4Event *)
void SetTrackEnergyCutoff(const G4double e)
virtual void EndOfRunAction(const G4Run *)
Float_t e
Definition: plot.C:34
G4double m_energyCutoff
Don't draw particles with energies less than this cut.
G4double GetTrackEnergyCutoff() const
Acessors, if we need them: