77 G4int Nmfd = mfdName.size();
78 for (
G4int idet = 0; idet < Nmfd ; idet++){
93 G4String fullCollectionName = detName+
"/"+collectionName;
96 if ( collectionID >= 0 ){
97 G4cout <<
"++ "<<fullCollectionName<<
" id " << collectionID
102 fCollID.push_back(collectionID);
106 G4cout <<
"** collection " << fullCollectionName
107 <<
" not found. "<<
G4endl;
122 for (
G4int i = 0; i < Nmap; i++){
149 for (
G4int i = 0; i < Ncol ; i++ ){
175 G4String fullName = detName+
"/"+colName;
185 for (
G4int i = 0; i < Ncol; i++){
202 for (
G4int i = 0; i <
n ; i++ ){
205 G4cout <<
" PrimitiveScorer RUN "
208 std::map<G4int,G4double*>::iterator itr = RunMap->
GetMap()->begin();
209 for(; itr != RunMap->
GetMap()->end(); itr++) {
210 G4cout <<
" copy no.: " << itr->first
211 <<
" Run Value : " << *(itr->second)
222 const B01Run * localRun =
static_cast<const B01Run *
>(aRun);
227 for (
G4int i = 0; i < nCol ; i++ ){
228 if ( localRun->
fCollID[i] >= 0 ){
G4int GetCollectionID(G4String colName)
G4int GetNumberOfHitsMap() const
G4VPrimitiveScorer * GetPrimitive(G4int id) const
G4VSensitiveDetector * FindSensitiveDetector(G4String dName, G4bool warning=true)
G4int GetNumberOfPrimitives() const
B01Run(const std::vector< G4String > mfdName)
virtual void Merge(const G4Run *)
G4HCofThisEvent * GetHCofThisEvent() const
std::vector< G4THitsMap< G4double > * > fRunMap
Definition of the B01Run class.
G4VHitsCollection * GetHC(G4int i)
virtual void RecordEvent(const G4Event *)
static G4SDManager * GetSDMpointer()
G4GLOB_DLL std::ostream G4cout
G4THitsMap< G4double > * GetHitsMap(G4int i)
virtual void Merge(const G4Run *)
std::vector< G4String > fCollName
std::vector< G4int > fCollID