Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of custom typedef any since it is misleading with std::any #111

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions inc/TRestGeant4AnalysisProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ class TRestGeant4AnalysisProcess : public TRestEventProcess {
// add here the members of your event process

public:
any GetInputEvent() const override { return fInputG4Event; }
any GetOutputEvent() const override { return fOutputG4Event; }
RESTValue GetInputEvent() const override { return fInputG4Event; }
RESTValue GetOutputEvent() const override { return fOutputG4Event; }

void InitProcess() override;
TRestEvent* ProcessEvent(TRestEvent* inputEvent) override;
Expand Down
4 changes: 2 additions & 2 deletions inc/TRestGeant4BlobAnalysisProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class TRestGeant4BlobAnalysisProcess : public TRestEventProcess {
// add here the members of your event process

public:
any GetInputEvent() const override { return fG4Event; }
any GetOutputEvent() const override { return fG4Event; }
RESTValue GetInputEvent() const override { return fG4Event; }
RESTValue GetOutputEvent() const override { return fG4Event; }

void InitProcess() override;
TRestEvent* ProcessEvent(TRestEvent* inputEvent) override;
Expand Down
4 changes: 2 additions & 2 deletions inc/TRestGeant4NeutronTaggingProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ class TRestGeant4NeutronTaggingProcess : public TRestEventProcess {
// add here the members of your event process

public:
any GetInputEvent() const override { return fInputG4Event; }
any GetOutputEvent() const override { return fOutputG4Event; }
RESTValue GetInputEvent() const override { return fInputG4Event; }
RESTValue GetOutputEvent() const override { return fOutputG4Event; }

void InitProcess() override;
TRestEvent* ProcessEvent(TRestEvent* inputEvent) override;
Expand Down
4 changes: 2 additions & 2 deletions inc/TRestGeant4QuenchingProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ class TRestGeant4QuenchingProcess : public TRestEventProcess {
const std::string& particleName) const;

//
any GetInputEvent() const override { return fInputG4Event; }
any GetOutputEvent() const override { return fOutputG4Event; }
RESTValue GetInputEvent() const override { return fInputG4Event; }
RESTValue GetOutputEvent() const override { return fOutputG4Event; }

void InitProcess() override;
TRestEvent* ProcessEvent(TRestEvent* inputEvent) override;
Expand Down
4 changes: 2 additions & 2 deletions inc/TRestGeant4VetoAnalysisProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ class TRestGeant4VetoAnalysisProcess : public TRestEventProcess {
void LoadDefaultConfig();

public:
any GetInputEvent() const override { return fInputEvent; }
any GetOutputEvent() const override { return fOutputEvent; }
RESTValue GetInputEvent() const override { return fInputEvent; }
RESTValue GetOutputEvent() const override { return fOutputEvent; }

static Veto GetVetoFromString(const std::string& vetoString);

Expand Down
Loading