[Frost] gsim and rootbeer issues
Michael Dugger
dugger at jlab.org
Tue Sep 20 12:08:34 EDT 2011
Hi,
GSIM issue:
GSIM is smearing the target vertex wrong. The event generator I use sets
all of my reaction vertexes at 0,0,0 but after gsim the target is smeared
and the center ends up being at approximately + 4cm.
In the gsim_frost.ffread file, the target center is set to zero:
TGPOS 0.0 0.0 0.0
The start counter offset:
STZOFF 4.0
is the same as the offset I am seeing for the vertexes. Is this just a
coincidence?
The way I determine that the target is offset by 4 cm is by looking at
vertex from MVRT and TBTR (passed through GPID). I am having difficulties
plotting directly from MCVX (more on this later). I spot checked the MCVX
bank from the event generator to make sure the vertex was always at zero.
When I bosdump the output from gsim_bat (on the Jlab CUE) the
smeared vertex from MCVX appears to be consistently shifted downstream
consistent with the shift being about 4 cm.
ROOTBEER issue:
When I print out the MCTK_NH or MCVX_NH variables I always get 0. I have
checked that the root file I process has the MCTK and MCVX banks by
looking at the output of the bankdump command. When I try to compile the
code accessing individual members of the banks (MCTK and MCVX), I get
errors like:
/home/dugger/g9Ana/test/testDST.C:348: error: request for member z in *
MCVX, which is of non-class type MCVX_t*
The code I am using has for the bank definitions:
char *mybanks[]={"RUNC","GPID","MVRT","BEAM","TAGR","TGBI","null","MCVX","MCTK"};
And I try to access the z-vertex of the MCVX bank like this:
hVertMCVX->Fill(MCVX[0].z);
Should I be accessing the z-vertex from MCVX in a different way?
Thanks for your time.
Sincerely,
Michael
More information about the Frost
mailing list