56 DicomRun(
const std::vector<G4String> mfdName);
81 std::vector<G4String> fCollName;
82 std::vector<G4int> fCollID;
83 std::vector<G4THitsMap<G4double>*> fRunMap;
95 for(
unsigned i = main.size(); i < data.size(); ++i) {
96 main.push_back(data.at(i));
100 template <
typename T>
101 inline unsigned copy(std::vector<T*>&
main,
const std::vector<T*>&
data)
103 unsigned size_diff = data.size() - main.size();
104 for(
unsigned i = main.size(); i < data.size(); ++i) {
105 main.push_back(
new T(*data.at(i)));
110 template <
typename T>
114 for(
unsigned i = 0; i < data.size(); ++i) {
115 G4cout <<
"\t\t" << i <<
" \t\t " << data.at(i) <<
G4endl;
virtual void Merge(const G4Run *)
virtual void RecordEvent(const G4Event *)
int main(int argc, char **argv)
void ConstructMFD(const std::vector< G4String > &)
G4int GetNumberOfHitsMap() const
void copy(std::vector< T > &main, const std::vector< T > &data)
G4GLOB_DLL std::ostream G4cout
G4THitsMap< G4double > * GetHitsMap(G4int i) const
void print(const std::vector< T > &data)
const XML_Char const XML_Char * data