Message: Re: How to multiply the flux by a specific cross section ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to multiply the flux by a specific cross section ? 

Forum: Biasing and Scoring
Re: Question How to multiply the flux by a specific cross section ? (sylvian kahane)
Re: Feedback Re: How to multiply the flux by a specific cross section ? (Pedro Arce)
Re: None Re: How to multiply the flux by a specific cross section ? (sylvian kahane)
Re: Feedback Re: How to multiply the flux by a specific cross section ? (Pedro Arce)
Date: 10 Feb, 2012
From: sylvian kahane <sylvian kahane>

Hi Pedro

I need some more help because I got a lot of errors:

-----------------------------------------------------------------------------

src/RunAction.cc:97:29: error: ‘nelm’ was not declared in this scope

src/RunAction.cc:98:26: error: ‘elementVector’ was not declared in this scope

src/RunAction.cc:100:88: error: ‘ener’ was not declared in this scope

src/RunAction.cc:100:94: error: ‘material’ was not declared in this scope

/usr/local/geant4.9.5/include/Geant4/G4NeutronHPInelastic.hh:101:28: error: ‘G4NeutronHPChannelList* G4NeutronHPInelastic::theInelastic’ is private

src/RunAction.cc:102:59: error: within this context (G4NeutronHPChannel ** HPChannels = HPinelas->theInelastic[index].theChannels;)

/usr/local/geant4.9.5/include/Geant4/G4NeutronHPChannelList.hh:96:25: error: ‘G4NeutronHPChannel** G4NeutronHPChannelList::theChannels’ is private

src/RunAction.cc:102:79: error: within this context

/usr/local/geant4.9.5/include/Geant4/G4NeutronHPInelastic.hh:101:28: error: ‘G4NeutronHPChannelList* G4NeutronHPInelastic::theInelastic’ is private

src/RunAction.cc:103:41: error: within this context

/usr/local/geant4.9.5/include/Geant4/G4NeutronHPChannelList.hh:97:9: error: ‘G4int G4NeutronHPChannelList::nChannels’ is private

src/RunAction.cc:103:61: error: within this context (G4int nChannels = HPinelas->theInelastic[index].nChannels)

/usr/local/geant4.9.5/include/Geant4/G4NeutronHPChannel.hh:149:28: error: ‘G4NeutronHPFinalState** G4NeutronHPChannel::theFinalStates’ is private

src/RunAction.cc:109:45: error: within this context (G4NeutronHPFinalState * FS = HPChannel->theFinalStates[ii];)

/usr/local/geant4.9.5/include/Geant4/G4NeutronHPChannel.hh:156:12: error: ‘G4String G4NeutronHPChannel::theFSType’ is private

src/RunAction.cc:115:37: error: within this context ( << " CHANNEL= " << HPChannel->theFSType << " " )

/usr/local/geant4.9.5/include/Geant4/G4NeutronHPFinalState.hh:100:12: error: ‘G4double G4NeutronHPFinalState::theBaseZ’ is protected

src/RunAction.cc:116:62: error: within this context ( << GetChannelName(int(FS->theBaseZ), int(FS->theBaseA), HPChannel->theFSType.substr(0,3), "n" ) )

/usr/local/geant4.9.5/include/Geant4/G4NeutronHPFinalState.hh:99:12: error: ‘G4double G4NeutronHPFinalState::theBaseA’ is protected

src/RunAction.cc:116:81: error: within this context

/usr/local/geant4.9.5/include/Geant4/G4NeutronHPChannel.hh:156:12: error: ‘G4String G4NeutronHPChannel::theFSType’ is private

src/RunAction.cc:116:95: error: within this context src/RunAction.cc:116:122: error: ‘GetChannelName’ was not declared in this scope

-----------------------------------------------------------------------------

I guess that the nelem, ener and material I have to supply by myself, but I am puzzeld by the "private" and "protected" stuff. All these quantities are indeed private and there is no method of Get...., in these classes, in order to acces them. Probably I should get more thorough lessons of C++ but here we are.

Thanks

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: How to multiply the flux by a specific cross section ?   (Pedro Arce - 10 Feb, 2012)
 Add Message Add Message
to: "Re: How to multiply the flux by a specific cross section ?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews