[Halld-offline] getting the right calibration in MC
Shepherd, Matthew
mashephe at indiana.edu
Mon Feb 9 16:19:43 EST 2015
Paul,
> On Feb 9, 2015, at 4:10 PM, Paul Mattione <pmatt at jlab.org> wrote:
>
> setenv JANA_CALIB_CONTEXT "variation=mc"
Thanks.
> Where needed, I sometimes check how many DMCThrowns are in the event. If it's empty then it should be data.
>
> I don't know if this is a good idea though, at the level of applying calibration constants. I only use this for high-level things (e.g. thrown-detected matching).
Maybe this functionality is not needed if the flag
above switches what the CCDB serves up. For
that to work, the algorithm has to be the same
for both data and MC at that stage in the reconstruction
but just have different values of the CCDB constants.
Matt
More information about the Halld-offline
mailing list