THaBeam* B = new THaIdealBeam("B","The Beam Class"); // or any other THaBeam
B->AddDetector( new THaG0Helicity("g0hel.L","Left arm G0 helicity") );
The new detector will read database keys starting with "g0hel.L.", "g0hel.", and "" in that order from the database file db_hel.dat. An updated example database is in $ANALYZER/DB/DEFAULT/db_hel.dat.
The final helicity of all THaHelicityDet classes is always in the global variable "helicity" (prefixed by the detector name), so in this case in "g0hel.L.helicity".
The decoder global variable "g.helicity" and with it the event header variable "fEvtHdr.fHelicity" are still not set. I will add this shortly.
A copy of this log entry has been emailed to: rom@jlab.org,camsonne@jlab.org,vasulk@jlab.org,moffit@jlab.org