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

New bfield map and Guinea-Pig reader #15

Merged
merged 5 commits into from
Jan 24, 2017

Conversation

luisaleperez
Copy link

Added a couple of new functionality still under development

  • New B-field map
  • Guinea-Pig reader

@@ -64,7 +64,8 @@ include_directories( SYSTEM

file(GLOB sources
./sensitive/TPCSDAction.cpp
./sensitive/CaloPreShowerSDAction.cpp
./sensitive/CaloPreShowerSDAction.cpp
./sensitive/Geant4EventReaderGuineaPig.cpp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The event reader is not a sensitive detector.
Maybe create a plugins folder?

@andresailer
Copy link
Contributor

This is "work in progress", so it is not expected to get merged until development is complete, right?

@gaede
Copy link
Contributor

gaede commented Jan 22, 2017

  • You are right, creating a folder 'plugins' would be cleaner for the Geant4EventReader. However we eventually want to move this to DD4hep, once it is well tested and proven to work. It is just simpler to develop it in lcgeo for the time being.

  • I would like to include this in the master, event though it is not fully tested, just to have it in the development stream and the nightlies, etc...

  • one issue that we still have is the primary vertex of the pair particles, which seems to be ignored in ddsim/DDG4. I remember that we discussed this before for non-prompt single particles from the gun but do not remember what the resolution was.
    How do we get DDG4/ddsim to take the individual MCParticle's start vertex as G4PrimaryVertex ?

@andresailer
Copy link
Contributor

  • Why not directly develop the GuineaPig reader it in DD4hep then?

  • I don't think we should merge code that is not completely developed. Right now there is no difference between FieldMapXYZ and FieldMapBrBz besides the name of the class.

  • What exactly do you mean by "non-prompt single particles from the gun"? And why not open an issue in DD4hep about multiple vertex positions for individual events, so we can discuss it there.

@gaede
Copy link
Contributor

gaede commented Jan 24, 2017

Why not directly develop the GuineaPig reader it in DD4hep then?

  • see my previous comment

I don't think we should merge code that is not completely developed. Right now there is no difference between FieldMapXYZ and FieldMapBrBz besides the name of the class.

  • Since when have we adopted this policy ? We always committed partly incomplete code to the trunk/HEAD - as long as it compiled and it did not interfere with the rest of the code.

What exactly do you mean by "non-prompt single particles from the gun"? And why not open an issue in DD4hep about multiple vertex positions for individual events, so we can discuss it there.

  • Seems that you also don't remember what we discussed a while ago in one of the DD4hep developers meeting. Will come back to the issue when we know more ...

@gaede gaede merged commit 1f18f35 into key4hep:master Jan 24, 2017
@petricm
Copy link

petricm commented Feb 13, 2017

The GuineaPig reader is broken with respect to the DD4hep head. Please fix it. It would also be appreciated if it could be moved to DD4hep as it's tightly linked with it and to avoid such situations.

@gaede
Copy link
Contributor

gaede commented Feb 13, 2017

Sorry, got interrupted when making the PR - here it is: #33

@luisaleperez
Copy link
Author

luisaleperez commented Feb 14, 2017 via email

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.

4 participants