56 DicomRun(
const std::vector<G4String> mfdName);
83 std::vector<G4THitsMap<G4double>*>
fRunMap;
91 inline void Copy(std::vector<T>&
main,
const std::vector<T>& data)
93 for(
unsigned i = main.size(); i < data.size(); ++i) {
94 main.push_back(data.at(i));
99 inline unsigned Copy(std::vector<T*>&
main,
const std::vector<T*>& data)
101 unsigned size_diff = data.size() - main.size();
102 for(
unsigned i = main.size(); i < data.size(); ++i) {
103 main.push_back(
new T(*data.at(i)));
108 template <
typename T>
109 inline void Print(
const std::vector<T>& data)
112 for(
unsigned i = 0; i < data.size(); ++i) {
113 G4cout <<
"\t\t" << i <<
" \t\t " << data.at(i) <<
G4endl;
virtual void Merge(const G4Run *)
void Copy(std::vector< T > &main, const std::vector< T > &data)
virtual void RecordEvent(const G4Event *)
void ConstructMFD(const std::vector< G4String > &)
G4int GetNumberOfHitsMap() const
G4GLOB_DLL std::ostream G4cout
DicomRun()
(Description) DicomRun Class is for accumulating scored quantities which is scored using G4MutiFuncti...
void Print(const std::vector< T > &data)
int main(int argc, char **argv)
std::vector< G4THitsMap< G4double > * > fRunMap
G4THitsMap< G4double > * GetHitsMap(G4int i) const
std::vector< G4String > fCollName
std::vector< G4int > fCollID