forked from OpenGATE/Gate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
671 additions
and
809 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/*---------------------- | ||
Copyright (C): OpenGATE Collaboration | ||
This software is distributed under the terms | ||
of the GNU Lesser General Public Licence (LGPL) | ||
See GATE/LICENSE.txt for further details | ||
----------------------*/ | ||
|
||
#ifndef GATEREGIONDOSESTAT_HH | ||
#define GATEREGIONDOSESTAT_HH | ||
|
||
#include "GateMiscFunctions.hh" | ||
#include "GateImage.hh" | ||
|
||
//----------------------------------------------------------------------------- | ||
class GateRegionDoseStat { | ||
|
||
public: | ||
|
||
GateRegionDoseStat(); | ||
std::string ToString(); | ||
void Update(long event_id, double edep, double density); | ||
|
||
static void ComputeRegionVolumes(GateImageFloat & image, | ||
std::map<int, GateRegionDoseStat> & mMapOfRegionStat); | ||
|
||
double sum_edep; | ||
double sum_squared_edep; | ||
double sum_temp_edep; | ||
double sum_dose; | ||
double sum_squared_dose; | ||
double sum_temp_dose; | ||
double volume; | ||
long last_event_id; | ||
long nb_hits; | ||
long nb_event_hits; | ||
}; | ||
//----------------------------------------------------------------------------- | ||
|
||
#endif /* end #define GATEREGIONDOSESTAT_HH */ |
Oops, something went wrong.