Closed cvilelahep closed 3 months ago
.zenodo.json (1)
`165-169`: **Entry for Cristovao Vilela is correctly formatted and consistent.** The new entry for Cristovao Vilela follows the established structure and includes the necessary fields.
@cvilelahep , can you please apply clang-format
to the files?
Can you also update the license headers in both files by changing second line to:
* Copyright (C) 2014-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
?
@cvilelahep , can you please apply
clang-format
to the files? Can you also update the license headers in both files by changing second line to:* Copyright (C) 2014-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
?
@karabowi done.
There is a problem with your function. It is in conflict with the old function SetXYZ()
:
/Users/alfaci/alfaci/workspace/FairRootGroup_FairRoot_PR-1576/examples/simulation/Tutorial4/macros/run_tutorial4.C:107:13: error: call to member function 'SetBoxXYZ' is ambiguous
boxGen->SetBoxXYZ(-20., -20., 20., 20., 0.);
Maybe remove default values?
There is a problem with your function. It is in conflict with the old function
SetXYZ()
:/Users/alfaci/alfaci/workspace/FairRootGroup_FairRoot_PR-1576/examples/simulation/Tutorial4/macros/run_tutorial4.C:107:13: error: call to member function 'SetBoxXYZ' is ambiguous boxGen->SetBoxXYZ(-20., -20., 20., 20., 0.);
Maybe remove default values?
Ah, of course, sorry for missing this. I removed the default values.
@cvilelahep , sine your changes you should apply clang-format
again.
Also, you should squash your commits into one and write a nice commit message following
our guidelines like G3 and G4.
Please also add your name to the CONTRIBUTORS file, in a separate commit.
we maybe should update one example with the new feature (and keep another with the old one)?
@ChristianTackeGSI good idea, I have created an issue not to forget.
The current FairBoxGenerator allows only for generating particles over a plane as the depth of the box,
dZ
, is hard-coded to be 0.In this pull request, the
SetBoxXYZ
method is overloaded to accept also two values of z (z1
andz2
) from whichdZ
is computed in the same way asdX
anddY
.Checklist: