Skip to content

Commit

Permalink
Merge pull request #61 from rest-for-physics/jgalan_macros_validation
Browse files Browse the repository at this point in the history
TRestGeant4Event. Fixing macros warnings
  • Loading branch information
jgalan authored Sep 8, 2022
2 parents 52905a6 + 371f16c commit 809dfb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inc/TRestGeant4Event.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class TRestGeant4Event : public TRestEvent {
Bool_t ContainsParticle(const TString& particleName) const;
Bool_t ContainsParticleInVolume(const TString& particleName, Int_t volumeID = -1) const;

void Initialize();
void Initialize() override;

void InitializeReferences(TRestRun* run) override;

Expand All @@ -218,14 +218,14 @@ class TRestGeant4Event : public TRestEvent {
void PrintActiveVolumes() const;
void PrintEvent(int maxTracks = 0, int maxHits = 0) const;

inline TPad* DrawEvent(const TString& option = "") { return DrawEvent(option, true); }
inline TPad* DrawEvent(const TString& option = "") override { return DrawEvent(option, true); }
TPad* DrawEvent(const TString& option, Bool_t autoBoundaries);

// Constructor
TRestGeant4Event();
// Destructor
virtual ~TRestGeant4Event();

ClassDef(TRestGeant4Event, 7); // REST event superclass
ClassDefOverride(TRestGeant4Event, 7); // REST event superclass
};
#endif

0 comments on commit 809dfb8

Please sign in to comment.