Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ecal libs #34

Open
wants to merge 165 commits into
base: master
Choose a base branch
from
Open

Ecal libs #34

wants to merge 165 commits into from

Conversation

somovalex
Copy link

Initial ECAL libs

rjones30 and others added 30 commits March 12, 2021 15:34
…_fix_rtj

This fixes the discrepancy between G3/G4 as shown in issue #181
 for their location. Note these are still hard coded and will need
 a proper treatement using ccdb in the near future.
  constants, and convert to internal units. [rtj]
 make FMWPC wire locations compatible with using cm as units
…tively

move division by wire_pitch inside the floor function.
change wire pitch and wire offsets to 1.016*cm and 73*1.016*cm respec…
  since normally the user starts off without one, and this message
  is really only a warning anyway. [rtj]
  production in the liquid hydrogen target when GENBEAM 'BHgen'
  is set in control.in [rtj]
  in the tracking inside sweeping magnets in the photon beamline [rtj]
  volume type is correctly reported as kParameterised when the
  division is added as a daughter to divide a mother volume. [rtj]
  add more detail to error messages [rtj]
  generation mechanism, based on the G4BetheHeitler5DModel class
  introduced in G4.10.06, modeled after G4BeamConversionProcess [rtj]
  generic G4VDiscreteProcess to the more specific G4VEmProcess; [rtj]
* add new c++ class member modifiers (virtual, explicit, override, final)
  to better document their purpose and role; [rtj]
* introduce InitialiseProcess members to take care of initialization of
  internal tables for the generators, rather than waiting to do all
  initialization at tracking time; [rtj]
* remove the copy constructor; [rtj]
* set verboseLevel=0 in the constructor to reduce unnecessary verbage
  at startup time; [rtj]
  and GlueXBernardConversionProcess side-by-side in the same
  executable. [rtj]
* protect GlueXPhysicsList.cc against compiling without the
  G4BetheHeitler5DModel header file available. [rtj]
* include the G4PairConversionRelModel.hh header in case we are
  building GlueXBeamConversionProcess without the more powerful
  G4BetheHeitler5DModel class available (G4.10.04 and earlier) [rtj]
  sections for Bethe Heitler processes. [rtj]
  in step size in the stepTrial loop, when the loop approaches the
  maxTrial count without having achieved convergence. This corrects
  a fatal error in the tracking that occurred for low-momentum e-
  tracks curling in the non-homogeneous field at the downstrea end
  of the FDC, that would reach the end of the stepTrial loop before
  the step size gets small enough to achieve the expected accuracy.
* include unmodified copies of the standard G4ChordFinderDelegate.hh,
  G4IntegrationDriver.hh, G4MagIntegratorDriver.hh where the template
  G4ChordFinderDelegate is instantiated. [rtj]
* include G4ChordFinder.cc to trigger the inclusion of the updated
  template code in the G4ChordFinderDelegate.icc source file.
  work with either zero polarization or unit (full linear) polarization
  of incoming photons in the pair conversion process. [rtj]
  in the GlueX target on a similar basis as e+e- pair conversion that
  happens when GENBEAM 'BHgen' is set in control.in [rtj]
* generalize PairConversionProcess to allow for any lepton pair to
  be created by gamma conversion from a nuclear or free electron
  target. [rtj]
  the GlueXBernardConversionProcess to switch from e+e- to mu+mu-
  pair conversion, based on the first GENBEAM argument being
  'BHgen' for e+e- or 'BHmuons' for mu+mu-. [rtj]
* add a support to GlueXBeamConversionProcess to control the
  switching between e+e- and mu+mu- pair conversion at startup. [rtj]
  Bethe Heitler pair production by high energy electron beam. [rtj]
rjones30 and others added 27 commits November 25, 2023 16:04
  without modification, because they are in the dependency list of this
  one class G4VDivisionParameterisation that I needed to split to make
  it thread-safe. [rtj]
  source tree into G4.10.07.p03fixes to make sure that all instances
  of #include "G4VDivisionParameterisation.hh" pick up the modified
  version of that file. [rtj]
  has assigned as the new pdg particle number for optical (Cerenkov)
  photons. [rtj]
  ownership of the newly constructed G4Rotation object seems to be
  being passed to the host G4VPhysicalVolume object at the end of
  this method. [rtj]
  gammas and optical photons, whereas starting at 10.7 the code
  for optical photons changes to -22. Suppress warnings about
  unknown particle code -22 for older library binaries. [rtj]
  propagated to all tracking threads. [rtj]
  where it resets the internal state of G4MagHelicalStepper objects
  at the start of each new event, otherwise repeatability is lost
  when running multi-threaded. [rtj]
  decay secondaries in the vertex record, not other secondaries that
  were generated along with the decays in the final tracking step. [rtj]
  and writing them out ordered by eventNo, optionally erasing the
  hitView secondary vertex information for repeat simulations. [rtj]
…oduces long tail not observed in data. follow example from ST
Leading edge time for TOF, CTOF, PS and PSC
@jrstevenjlab
Copy link
Contributor

don't you want to make this PR to https://github.com/JeffersonLab/HDGeant4 instead?

@somovalex
Copy link
Author

somovalex commented Apr 24, 2024 via email

  a primary track from the input hddm file and assign it to the
  G4PrimaryTrack object; fixes to GlueXBeamConversionProcess to
  avoid division by zero in the case of an unpolarized beam photon,
  or a target nucleus at rest in the lab. [rtj]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants