| [FIXED] 4Cfit [message #16590] | 
			Tue, 13 May 2014 14:20   | 
		 
		
			
				
				
				
					
						  
						Alexandros
						 Messages: 51 Registered: January 2014  Location: KVI
						
					 | 
					continuous participant  | 
					From: *kvi-cart.rug.nl
  | 
		 
		 
	 | 
 
	
		Hi, 
 
I am looking in the channel psi(4160)->D0-antiD0 etc. 
I am trying to apply 4C fit in psi(4160).  
So what I add in my macro is: 
 
PndKinFitter fitter(psi4160[j]); 
fitter.Add4MomConstraint(ini);	// set 4 constraint 
fitter.Fit();	 
RhoCandidate *d0fit = psi4160[j]->Daughter(0)->GetFit();	// get fitted D0 
RhoCandidate *antid0fit = psi4160[j]->Daughter(1)->GetFit();	// get fitted antiD0 
			 
npsi4160->Column("d0fit",	(Float_t) d0fit->M()); 
npsi4160->Column("antid0fit",	(Float_t) antid0fit->M());		 
 
When I run my macro I get something like this: 
 
Error in <TDecompLU::DecomposeLUCrout>: matrix is singular 
Error in <TDecompLU::InvertLU>: matrix is singular, 0 diag elements < tolerance of 2.2204e-16 
 
It is the same going over and over again. 
Is there something wrong??? 
	
		
		
		[Updated on: Fri, 12 September 2014 10:32] by Moderator Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	
		
		
			| Re: 4Cfit [message #16624 is a reply to message #16613] | 
			Wed, 14 May 2014 14:25   | 
		 
		
			
				
				
				
					
						  
						Alexandros
						 Messages: 51 Registered: January 2014  Location: KVI
						
					 | 
					continuous participant  | 
					From: *kvi-cart.rug.nl
  | 
		 
		 
	 | 
 
	
		so problem solved!!!! 
i was using march14 version and not the scrut14... 
with scrut 14 4Cfit works...with march14 not.. 
you can close the topic!! 
thanks again...
		
		
		
 |  
	| 
		
	 | 
 
 
 |