| EMFFGen as a pi + pi - generator [message #17998] | 
			Thu, 12 March 2015 09:17   | 
		 
		
			
				
				
				
					
						  
						donghee
						 Messages: 385 Registered: January 2009  Location: Germnay
						
					 | 
					first-grade participant  | 
					From: *dip0.t-ipconnect.de
  | 
		 
		 
	 | 
 
	
		Hi all, 
 
I would like to study the pi+ pi- MC data.  
I found that EMFFgenerators are already implemented, and the library libEMFFGEN is already compiled during the installation of pandaroot as a default process.  
 
I am trying to produce data with this package at PANDAroot, I introduced library at simulation.  
 
Quote: 
 
//at the beginning 
   gSystem->Load("libEMFFGEN"); 
 
 
// after the definition of primGen 
 
  PndPiPiGenerator* pipiGen = new PndPiPiGenerator(); 
  pipiGen->SetBeamMom(mom); 
  pipiGen->SetSeed(seed); 
  pipiGen->SetCosThetaMin(-theta); 
  pipiGen->SetCosThetaMax(theta); 
  primGen->AddGenerator(pipiGen); 
 
   
But I could not find PndPiPiGenerator at all.  
What is the correct way to use pipi generator at PANDAroot? 
 
 
best regards, 
 
Donghee
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 |