Definition of the DicomRun class.
More...
#include "G4Run.hh"
#include "G4Event.hh"
#include "G4THitsMap.hh"
#include <vector>
Go to the source code of this file.
|
template<typename T > |
void | Copy (std::vector< T > &main, const std::vector< T > &data) |
|
template<typename T > |
unsigned | Copy (std::vector< T * > &main, const std::vector< T * > &data) |
|
template<typename T > |
void | Print (const std::vector< T > &data) |
|
Definition of the DicomRun class.
Definition in file DicomRun.hh.
template<typename T >
void Copy |
( |
std::vector< T > & |
main, |
|
|
const std::vector< T > & |
data |
|
) |
| |
|
inline |
Definition at line 91 of file DicomRun.hh.
93 for(
unsigned i =
main.size(); i <
data.size(); ++i) {
int main(int argc, char **argv)
const XML_Char const XML_Char * data
template<typename T >
unsigned Copy |
( |
std::vector< T * > & |
main, |
|
|
const std::vector< T * > & |
data |
|
) |
| |
|
inline |
Definition at line 99 of file DicomRun.hh.
101 unsigned size_diff =
data.size() -
main.size();
102 for(
unsigned i =
main.size(); i <
data.size(); ++i) {
int main(int argc, char **argv)
const XML_Char const XML_Char * data
template<typename T >
void Print |
( |
const std::vector< T > & |
data | ) |
|
|
inline |
Definition at line 109 of file DicomRun.hh.
112 for(
unsigned i = 0; i <
data.size(); ++i) {
const XML_Char const XML_Char * data
G4GLOB_DLL std::ostream G4cout