Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mahditaani
Copy link
Collaborator

This is the latest version of the hyper-k od. This includes the most recent hyper-k geometry as well as fixes to the photocoverage code.

P3tru and others added 30 commits January 18, 2018 16:39
Based on Super-K cosmic flux extrapolated to Hyper-K site
Embryo classes and methods for combined PMTs collection stacking action
Working. Need to add that in stacking action now
Add a new method to apply QE inside StackingAction for different PMT collection
The stacking action takes into account the QE of the PMTs and the absorption of the WLS plates
…ngAction class. Will be created once and used in SteppingAction to increase speed of simulation.
Create the emission spectrum for the WLS plates outside of the Steppi…
@tdealtry tdealtry closed this Jun 25, 2021
@tdealtry tdealtry reopened this Jun 25, 2021
@tdealtry tdealtry closed this Jun 25, 2021
@tdealtry tdealtry reopened this Jun 25, 2021
@tdealtry
Copy link
Contributor

I'm happy the validation is correctly working on your branch now, but the output is still different to what's expected unfortunately... will delve next week

Copy link
Contributor

@tdealtry tdealtry left a comment

Choose a reason for hiding this comment

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

Thanks for all this @mahditaani
I've had a skim through it all again, and just a few comments left (most trivial, couple are a bit more work)
Almost time to get this PR merged in!

wcsimrandomparameters->SaveOptionsToOutput(wcsimrootoptions);

//set Tree for gathering photon info inside stepping action
photonTree = new TTree("photons","Photon Tree");
Copy link
Contributor

Choose a reason for hiding this comment

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

Ok so I just run 10 events with OD.mac, and this is huge!

  • Photon tree: 38 MB
  • wcsimT tree: 1 MB

So we defintiely need to switch this off by default. I'd suggest something like

  • add a bool option to WCSimRunActionMessenger called SaveWLSPhotonInfo
  • only create the TTree here if that's true
  • only Fill() the tree in WCSimSteppingAction.cc if the tree is not null

It'd also be good to improve the description e.g.

Suggested change
photonTree = new TTree("photons","Photon Tree");
photonTree = new TTree("photons","Photons in WLS Tree");

Comment on lines +2021 to +2024
// COMBINED PMTS CLASS
// Goal is to instantiate purely virtual WCSimPMTObject Classes to contained an extended
// QE information of several PMTs collection
// Useful for applying QE in stacking action when several PMTs collection are defined
Copy link
Contributor

Choose a reason for hiding this comment

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

Ok thanks for this. Removing the WCSimBasicPMTObject class sounds great

@tdealtry tdealtry merged commit acba415 into WCSim:develop Sep 10, 2021
@tdealtry
Copy link
Contributor

Thanks for all this work @mahditaani and the rest of the OD group!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants