77 G4int nMfd = mfdName.size();
78 for (
G4int idet = 0; idet < nMfd ; idet++){
94 G4String fullCollectionName = detName+
"/"+collectionName;
97 if ( collectionID >= 0 ){
98 G4cout <<
"++ "<<fullCollectionName<<
" id " << collectionID
103 fCollID.push_back(collectionID);
106 G4cout <<
"** collection " << fullCollectionName <<
" not found. "
122 for (
G4int i = 0; i < nMap; i++){
149 for (
G4int i = 0; i < nCol ; i++ ){
173 for (
G4int i = 0; i < nCol ; i++ ){
174 if ( localRun->
fCollID[i] >= 0 ){
191 G4String fullName = detName+
"/"+colName;
203 for (
G4int i = 0; i < nCol; i++){
221 for (
G4int i = 0; i <
n ; i++ ){
224 G4cout <<
" PrimitiveScorer RUN "
227 std::map<G4int,G4double*>::iterator itr = runMap->
GetMap()->begin();
228 for(; itr != runMap->
GetMap()->end(); itr++) {
229 G4cout <<
" copy no.: " << itr->first
230 <<
" Run Value : " << *(itr->second)
virtual void Merge(const G4Run *)
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
virtual void Merge(const G4Run *)
virtual void RecordEvent(const G4Event *)
std::vector< G4int > fCollID
std::vector< G4String > fCollName
G4GLOB_DLL std::ostream G4cout
G4VPrimitiveScorer * GetPrimitive(G4int id) const
G4THitsMap< G4double > * GetHitsMap(G4int i)
G4VSensitiveDetector * FindSensitiveDetector(G4String dName, G4bool warning=true)
static G4SDManager * GetSDMpointer()
G4int GetNumberOfHitsMap() const
std::map< G4int, T * > * GetMap() const
std::vector< G4THitsMap< G4double > * > fRunMap
RE02Run(const std::vector< G4String > mfdName)
G4HCofThisEvent * GetHCofThisEvent() const
Definition of the RE02Run class.
G4int GetNumberOfPrimitives() const