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 "
102 fCollID.push_back(collectionID);
106 G4cout <<
"** collection " << fullCollectionName
107 <<
" not found. "<<
G4endl;
122 for (
G4int i = 0; i < Nmap; i++){
148 for (
G4int i = 0; i < Ncol ; i++ ){
174 G4String fullName = detName+
"/"+colName;
187 for (
G4int i = 0; i < Ncol; i++){
204 for (
G4int i = 0; i <
n ; i++ ){
207 G4cout <<
" PrimitiveScorer RUN "
210 std::map<G4int,G4double*>::iterator itr = RunMap->
GetMap()->begin();
211 for(; itr != RunMap->
GetMap()->end(); itr++) {
212 G4cout <<
" copy no.: " << itr->first
213 <<
" Run Value : " << *(itr->second)
224 const B03Run * localRun =
static_cast<const B03Run *
>(aRun);
229 for (
G4int i = 0; i < nCol ; i++ ){
230 if ( localRun->
fCollID[i] >= 0 ){
virtual void Merge(const G4Run *)
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
B03Run(const std::vector< G4String > mfdName)
G4GLOB_DLL std::ostream G4cout
std::vector< G4String > fCollName
G4VPrimitiveScorer * GetPrimitive(G4int id) const
virtual void RecordEvent(const G4Event *)
G4int GetNumberOfHitsMap() const
G4VSensitiveDetector * FindSensitiveDetector(G4String dName, G4bool warning=true)
std::vector< G4THitsMap< G4double > * > fRunMap
static G4SDManager * GetSDMpointer()
std::vector< G4int > fCollID
std::map< G4int, T * > * GetMap() const
Definition of the B03Run class.
G4HCofThisEvent * GetHCofThisEvent() const
G4THitsMap< G4double > * GetHitsMap(G4int i)
G4int GetNumberOfPrimitives() const
virtual void Merge(const G4Run *)