Project

General

Profile

DAQ how to » History » Revision 3

Revision 2 (Alexandre Camsonne, 01/14/2021 11:44 PM) → Revision 3/5 (Alexandre Camsonne, 01/14/2021 11:51 PM)

h1. DAQ how to  

 on clrlpc, a-compton account 

 to start coda ( need to be in tcsh ) 

 tcsh 
 startcoda 

 several windows will open 

 click in Control in rcgui pull down connect 

 select Configuration if not on desired configuration  


 Hit config , download, prestart and go to start a run 
   
 Intelvmeha8 FADC only ( most stable ) 
 FADCTDCDSC : FADC + F1 TDC + readout of discriminator scalers - need to reset and download at each run for now - still need to check  

 In case ROC or PEB crash, do Ctrl-C in their window and do reset and rcgui and restart a run 



 To look at data : 

 on clrlpc : 

 type tcsh 
 cd companaEcal  
 ./compana 

 type run number 

 type a 

 type 1 for all events 

 Open root file in Rootfiles directory 

 root Rootfiles/vtpCerenkov_795.root 

 One liner to display all waveforms : 

 T->Draw("fadc_slot7:Iteration$","") 

 Look    at one fadc channel 

 T->Draw("fadc_slot7[3]:Iteration$","") 

 To display event by event : 
 i=0 
 T->Draw("fadc_slot7:Iteration$","Iteration$>200&&Iteration$<600","L",1,i++) 

 if you go up in history and hit enter it will display next event