| to use the real STT Pattern Recognition [message #10156] | 
			Tue, 09 February 2010 14:28  | 
		 
		
			
				
				
				
					
						  
						Gianluigi Boca
						 Messages: 177 Registered: March 2004 
						
					 | 
					first-grade participant  | 
					From: *gsi.de
  | 
		 
		 
	 | 
 
	
		hi, 
if you want to use the real pattern recognition for the STT, you can use for instance 
$VMCWORKDIR/macro/stt/runreco.C 
 
with the following modification. 
Instead of the line 
  PndSttTrackFinderIdeal* sttTrackFinder = new PndSttTrackFinderIdeal(iVerbose); 
 
replace it with 
  PndSttTrackFinderReal* sttTrackFinder = new PndSttTrackFinderReal(iVerbose); 
 
If you do that, you re going to have at your disposal for further analysis tasks and for each event a TClones array of PndTrackCand each cointaining : 
 
- initial Px of the candidate track at the origin (0,0,0) 
- initial Py              " 
- initial Pz              " 
- Charge/Total Momentum   of the track candidate 
- the ORDERED list of hit NUMBERS belonging to the candidate track. Here ordered means from the hit nearest to the vertex to the further away along the Helix trajectory 
 
Cheers   Gianluigi
		
		
		
 |  
	| 
		
	 | 
 
 
 |