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_slot73: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
Rough amplitude spectrum, you can use Sum$ in ROOT
T->Draw("Sum$(fadc_slot7[3])")
will plot sum of all samples
You could eyeball the pedestal and window is 100 samples now
T->Draw("Sum$(fadc_slot7[3])-100*pedestal")
would be centered at 0
Updated by Alexandre Camsonne almost 4 years ago · 5 revisions