-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #283 from JPETTomography/develop
Develop
- Loading branch information
Showing
65 changed files
with
2,266 additions
and
518 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
include/Core/JPetTaskIOLoopPerSubTask/JPetTaskIOLoopPerSubTask.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* @copyright Copyright 2020 The J-PET Framework Authors. All rights reserved. | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may find a copy of the License in the LICENCE file. | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* @file JPetTaskIOLoopPerSubTask.h | ||
*/ | ||
|
||
#include "./JPetTaskIO/JPetTaskIO.h" | ||
|
||
#ifndef JPETTASKIOLOOPPERSUBTASK_H | ||
#define JPETTASKIOLOOPPERSUBTASK_H | ||
|
||
/** | ||
* @brief Class representing a stream of computing tasks (subtasks), | ||
* executed by subsequently processing all events task by task. | ||
* E.g. all events are first processed by the first subtask, next | ||
* the results are processed by the second subtask and so on. | ||
* The intermediate results are saved in the output root files and | ||
* the subtasks are reading the events from those files. | ||
* | ||
* This class only overrides the "run" method of its base JPetTaskIO. | ||
*/ | ||
class JPetTaskIOLoopPerSubTask : public JPetTaskIO | ||
{ | ||
public: | ||
JPetTaskIOLoopPerSubTask(const char* name = "", const char* in_file_type = "", const char* out_file_type = ""); | ||
virtual bool run(const JPetDataInterface& inData) override; | ||
virtual ~JPetTaskIOLoopPerSubTask(); | ||
}; | ||
#endif /* !JPETTASKIOLOOPPERSUBTASK_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/** | ||
* @copyright Copyright 2020 The J-PET Framework Authors. All rights reserved. | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may find a copy of the License in the LICENCE file. | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* @file JPetTaskStreamIO.h | ||
*/ | ||
|
||
#ifndef JPETTASKSTREAMIO_H | ||
#define JPETTASKSTREAMIO_H | ||
|
||
#include "./JPetTaskIO/JPetTaskIO.h" | ||
|
||
/** | ||
* @brief Class representing a stream of computing tasks (subtasks), | ||
* executed on event by event basis (JPetTimeWindow object). E.g. | ||
* first event is processed by all subtasks, then the next one and so on. | ||
* The input and output is used only for the first and last task | ||
* in the stream. | ||
* | ||
* This class only overrides the "run" method of its base JPetTaskIO. | ||
*/ | ||
class JPetTaskStreamIO : public JPetTaskIO | ||
{ | ||
public: | ||
JPetTaskStreamIO(const char* name = "", const char* in_file_type = "", const char* out_file_type = ""); | ||
virtual bool run(const JPetDataInterface& inData) override; | ||
virtual ~JPetTaskStreamIO(); | ||
|
||
protected: | ||
private: | ||
}; | ||
#endif /* !JPETTASKSTREAMIO_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.