[BLAST_SHIFTS] charge before crunch finish

From: Chi Zhang (zhangchi@MIT.EDU)
Date: Wed Sep 08 2004 - 00:22:52 EDT


Hi, it is not true that CCR has to wait for the run to be crunched
completely before any charge info can be extracted.

Before crunch finish, one can still do:

root dst.C ####
[] int nsc = scaler->GetEntries()
[] scaler->GetEntry(nsc-1)
[] cout<<scaler->inhib_charge_p(0,0)<<" "
        <<scaler->inhib_charge_m(0,0)<<endl;
...

root will complain about file not closed but it will give the result. and
it is for the entire run. This can be done 10 minutes or so after lrn
started when the loop over all the epics and scaler events is finished.

Chi



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:31 EST