See merge request lhcb/Gauss!231 i.e. merge branch 'cherry-pick-c62ced01' into 'Sim09-upgrade'
(cherry picked from commit cb05535b5e68be737252b7e5f13b26509225ec0a)
589da13a Merge branch 'LHCBGAUSS-1272.DaughtersInLHCbAndCutsForDstar3pi' into 'Sim09'
### Code modernisations and cleanups
- Fix AmpGen CMake config to include TBB, !244 (@dpopov)
Fix for AmpGen's CMake configuration to include TBB to fix linking problem for `slc6-gcc62` in master (v52r0 built against Gaudi v29r0 and LHCb v43r1).
### Monitoring changes and Changes to tests
- LHCBGAUSS-869: Set Log Output to WARNING to greatly reduce log size and run time, !308 (@kzarebsk) [LHCBGAUSS-869]
Owing to the large file size of the log file generated and the significant reduction (~10 factor) in the run time of the test the output information has been set to WARNING.
The majority of output/run time is due to the listing of each event being produced of the 10000 per combination.
It is hoped this is the reason for the test currently being absent from LHCbPR listings despite running successfully.
Due to the position of Scoring Plane 1 meaning a clash in Geant4 volumes the RadLength test must be run in two stages. It was recently discovered that the results for Rich1 Plane-to-Plane radiation length profiles were incorrect due to VELO components also being included. To fix this the test is now run in three stages:
- Full geometry for producing cumulative radiation and interaction length profiles
- VELO only for Plane-to-Plane profile for the VELO + PuVeto
- No VELO and no PuVeto for all other Plane-to-Plane profiles
#### Updated Profiles
- For better resolution of 2D scans, the method for firing the particle gun has been switched from random to being an eta-phi grid where the number of events is determined by nStepsEta*nStepsPhi.
- Option for adding a cap to Z maximum of the interaction/radiation length profiles for Rich1 and Velo has been added to reduce saturation due to contribution from the beam pipe.
#### Other
-`TNamed` added for each plot as a description to be picked up by LHCbPR.
For all non-sim09 branches the selection of GaussGeo fails currently due to a mix up between using half GiGaGeo and half GaussGeo. As Sim09 works I suggest it be left alone and this fix only be ported to master (I think merging this into Sim09 would cause conflicts anyway).
**Has been tested with `lhcb-gauss-dev` and `lhcb-g4r103`**
- LHCBGAUSS-869: Added Energy Iterations and Materials to Titles (to master), !256 (@kzarebsk) [LHCBGAUSS-869]
The original design of the test did not state the material and particle names within the titles for each histogram. As this test forms part of LHCbPR it is important to be able to distinguish them.
Furthermore it was realised that despite a list of energies being provided the plots were not created for each energy, this has now been fixed by adding the loop statement in `Sim/SimChecks/options/MakeEvents.py`.
The changes have been tested using `lhcb-gauss-dev` and so are confirmed to work in `master`, `CMT`/`CMake`.
**A Seperate Similar Merge Request Has Been Made for `Sim09`, lhcb/Gauss!257**
This has been cherry-picked for 'Sim09-upgrade' in lhcb/Gauss!260
- Adds profile histograms and gives plots more meaningful titles, !253 (@gcorti) [LHCBGAUSS-874]
Porting to master the merge of LHCBGAUSS-874.profhists into 'Sim09'
See merge request lhcb/Gauss!247
(cherry picked from commit 9469bfc890ea5c7852646bed895f24de382ba5c6)
1f1c8d13 Adds profile histograms for more easier comparisons
e0b77e70 Names Titles more meaningfully
- Update configuration of the script needed to run the EM test., !240 (@gcorti) [LHCBGAUSS-1120]
Merge branch 'cherry-pick-b6f6f128' into 'Sim09-upgrade, i.e. port merge request lhcb/Gauss!233
that was (cherry picked from commit 872e1975479d57db45e7285aa5366fdfbe246ece), i.e.
4f53caf1 Merge branch 'LHCBGAUSS-1120.Update' into 'Sim09', i.e. MR lhcb/Gauss!222