add ch-by-ch gain file and modify Deconvolution fhicl#125
add ch-by-ch gain file and modify Deconvolution fhicl#125szhang17phys wants to merge 2 commits intoDUNE:feature/vpec_chbych_gain_in_deconvfrom
Conversation
|
What does v6 refer to? |
There was a problem hiding this comment.
What does v6 refer to?
Can you add reference to the source of the gains? I think that can go into a comment in the fhicl configuration.
There was a problem hiding this comment.
Sorry for my delayed reply! I just added comments in the fhicl.
…hannel_gain_protoDUNEHD_v6.dat
|
Thank you for the comments @vpec0 . |
|
Thanks @szhang17phys. Why do you refer to a geometry file in the channel gain file name, is there a direct link between the two? I.e. would we need different gains file for different geometry versions?
Does this mean these gains are valid for the simulations only? If so, the fact should be reflected in the name of the .dat file. We should think of a better place to put the gains file to. I don't know if we want to keep it in the repository. If yes, then we need to use a dedicated dubdirectory. If no, we can have it copied over to stash cache. |
Those file are small so probably not a bid deal having them in duneopdet. But I agree, we should have at least a subdirectory to put files inside. |
|
I was also thinking about consistency. I know there's some data being coded into the fhicl files and there are other that are stored in stash cache ( and there are instances where it is hard-coded in the code itself). I haven't seen any best-practice guidance on this, so I assume either fhicl of stash-cache are acceptable. @szhang17phys , Shu, can you create We will then start moving the other leftover data files into |
True, we should discuss with Tom what is the best practice here. Hard-coded values are a huge NO so if you remember any place where you found an example of this, we need to change it. |
Yeah, it was the PD SP calibrator, but that's fixed now, #122. I'll try to act if I see any other hard-coding. |
|
@szhang17phys
and
|
|
Hello Viktor, sorry for my delayed reply. My GitHub account is not connected with my main email address. |
|
@szhang17phys However, please, add the file's version number as I think we can foresee the gains will change. In this case I would make it v0. Also, change the name to reflect these are meant to for simulations - ie. add |
Add channel-by-channel gain file to OpticalDetector folder.
Then modify the Deconvolution.fcl accordingly