| 
		
			| Re: PYTHIA6 usage [message #23652 is a reply to message #23646] | Thu, 21 February 2019 12:27   |  
			| 
				
				
					|  Anna Skachkova Messages: 37
 Registered: September 2018
 | continuous participant | From: *jinr.ru 
 |  |  
	| Dear Ralf, 
 Thank you for a quick replay. Yes, fort.16 is an event file in txt format.
 
 I do not fully understand - what do you mean by "we have to add the generator to the Master Run". How to do it?
 
 For the moment I've got the error :
 
 /mnt/hard/work_pandaroot2019/Simulation/DYee/Sig/10000$ root -l -b -q tut_sim_my_Ralf.C
 
 Processing tut_sim_my_Ralf.C...
 In file included from input_line_10:1:
 /mnt/hard/work_pandaroot2019/Simulation/DYee/Sig/10000/tut_sim_my_Ralf.C :59:9: error: no matching member function for call to 'SetGenerator'
 fRun->SetGenerator(primGen); //[R.K.] we have to add the generator to the Master Run
 ~~~~~~^~~~~~~~~~~~
 G__MasterDict dictionary payload:769:8: note: candidate function not viable: no known conversion from 'FairFilteredPrimaryGenerator *' to 'FairGenerator *' for 1st argument
 void SetGenerator(FairGenerator *boxGen);
 ^
 G__MasterDict dictionary payload:778:8: note: candidate function not viable: no known conversion from 'FairFilteredPrimaryGenerator *' to 'PndBoxGenerator *' for 1st argument
 void SetGenerator(PndBoxGenerator *boxGen);
 ^
 G__MasterDict dictionary payload:753:8: note: candidate function not viable: requires 0 arguments, but 1 was provided
 void SetGenerator();
 ^
 
 Thank you,
 
 Anna
 [Updated on: Thu, 21 February 2019 12:29] Report message to a moderator |  
	|  |  |