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 "
G4int GetCollectionID(G4String colName)
std::vector< G4String > fCollName
Definition of the RE02Run class.
G4VPrimitiveScorer * GetPrimitive(G4int id) const
G4VSensitiveDetector * FindSensitiveDetector(G4String dName, G4bool warning=true)
std::vector< G4int > fCollID
G4int GetNumberOfPrimitives() const
G4int GetNumberOfHitsMap() const
G4HCofThisEvent * GetHCofThisEvent() const
std::vector< G4THitsMap< G4double > * > fRunMap
RE02Run(const std::vector< G4String > mfdName)
G4THitsMap< G4double > * GetHitsMap(G4int i)
G4VHitsCollection * GetHC(G4int i)
static G4SDManager * GetSDMpointer()
virtual void RecordEvent(const G4Event *)
G4GLOB_DLL std::ostream G4cout
virtual void Merge(const G4Run *)
virtual void Merge(const G4Run *)