56 DicomRun(
const std::vector<G4String> mfdName);
81 std::vector<G4String> fCollName;
82 std::vector<G4int> fCollID;
83 std::vector<G4THitsMap<G4double>*> fRunMap;
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>
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 *)
int main(int argc, char **argv)
void ConstructMFD(const std::vector< G4String > &)
const XML_Char const XML_Char * data
G4int GetNumberOfHitsMap() const
G4GLOB_DLL std::ostream G4cout
void Print(const std::vector< T > &data)
G4THitsMap< G4double > * GetHitsMap(G4int i) const