70{
72
73
74
75
76 G4int Nmfd = mfdName.size();
77 for ( G4int idet = 0; idet < Nmfd ; idet++){
79
82
83 if ( mfd ){
84
85 for (G4int icol = 0; icol < mfd->GetNumberOfPrimitives(); icol++){
86
88
89
90
91 G4String collectionName = scorer->GetName();
92 G4String fullCollectionName = detName+
"/"+collectionName;
93 G4int collectionID = SDman->GetCollectionID(fullCollectionName);
94
95 if ( collectionID >= 0 ){
96 G4cout << "++ "<<fullCollectionName<< " id "
97 << collectionID << G4endl;
98
99
101 fCollID.push_back(collectionID);
103 ,collectionName));
104 }else{
105 G4cout << "** collection " << fullCollectionName
106 << " not found. "<<G4endl;
107 }
108 }
109 }
110 }
111}
std::vector< G4int > fCollID
std::vector< G4THitsMap< G4double > * > fRunMap
std::vector< G4String > fCollName