WCSim Update Erin OSullivan, on behalf on the WCSim group HK Open - - PowerPoint PPT Presentation

wcsim update
SMART_READER_LITE
LIVE PREVIEW

WCSim Update Erin OSullivan, on behalf on the WCSim group HK Open - - PowerPoint PPT Presentation

WCSim Update Erin OSullivan, on behalf on the WCSim group HK Open Meeting January 30, 2014 An Introduction to WCSim What is WCSim? WCSim: An open-sourced, GEANT4-based simulation code for water Cherenkov detectors. User can define a


slide-1
SLIDE 1

WCSim Update

Erin O’Sullivan, on behalf on the WCSim group HK Open Meeting January 30, 2014

slide-2
SLIDE 2

An Introduction to WCSim

slide-3
SLIDE 3

What is WCSim?

WCSim: An open-sourced, GEANT4-based simulation code for water Cherenkov detectors.

  • User can define a detector

configuration by choosing a PMT type, cylinder size, option to add Gadolinium loading. Also, the HK detector is defined here.

  • Run particles in your detector

using either a user-defined vector file or using GEANT4 particle generation.

slide-4
SLIDE 4

How do I get WCSim?

  • 1. git clone the development branch from
  • GitHub. This will give you the most up-to-

date version of the code.

  • 2. Download a zip file of a release (currently

v1.2.0). This will give you a stable version of the code.

  • 3. Download it as part of the Hyper-K

software package. 3 Different Methods

slide-5
SLIDE 5

git clone commands for https, ssh or svn Get the zip or tar file of the newest release (v1.2.0)

https://github.com/WCSim

Fork a copy of the code

slide-6
SLIDE 6

https://github.com/WCSim

Browse the code Get emails when there are new pull requests or issues See ongoing issues or report bugs you find See any outstanding pull requests

slide-7
SLIDE 7

How do I implement a change in WCSim?

  • Make a new branch on your local forked copy
  • Push your new branch to GitHub
  • Make a pull request and discuss!
  • Modify your pull request based on feedback
  • Your pull request is merged
slide-8
SLIDE 8

How do I implement a change in WCSim?

slide-9
SLIDE 9

Where can I get help with WCSim?

  • If you find a bug or have a suggestion

for how to enhance the code, you can

  • pen an issue on GitHub.
  • If you have a general code question,

you can email the HK software mailing list: hkwg-software@suketto.icrr.u- tokyo.ac.jp

slide-10
SLIDE 10

v1.2.0: Changes to the code structure

slide-11
SLIDE 11

Motivation

  • Separating the code allows for different

developers to work on the individual components

  • Is a move toward making the electronics in

WCSim more flexible by making it easier in the code to implement a new type of PMT or digitizer.

Separating the PMT and Digitizer in WCSim

slide-12
SLIDE 12

True Info: Contains info about which PMTs were hit, hit time, etc

Separating the PMT and Digitizer in WCSim

Old setup in WCSim: PMT and digitizer together. “Digitizer”: Contains info about the PMT (ex. charge conversion), the digitizer (ex. gating, threshold), and information about the PMT and digitizer together (ex. electronics response)

slide-13
SLIDE 13

Separating the PMT and Digitizer in WCSim

New setup in WCSim: PMT and digitizer are separate. PMT: Converts a hit to the corresponding charge. True Info: Contains info about which PMTs were hit, hit time, etc Digitizer: Contains info specific to the digitizer

slide-14
SLIDE 14

Making the PMTs in WCSim more modular

Motivation

  • Implementing this change will allow users to

“plug in” any of the predefined PMT types when they create a detector geometry.

  • This will also allow all of the PMT

information to be in one place, making it more straight forward for users who want to implement a different type of PMT.

slide-15
SLIDE 15

Making the PMTs in WCSim more modular

WCSimPMTObject Base Class:

20” PMT 8” PMT

GetPMTName GetPMTRadius GetPMTExposeHeight

10” PMT 10” HQEPMT 12” HQEPMT 20” HQEHPD

GetPMTGlassThickness GettimingResolution GetQEWavelength GetQE GetmaxQE Getqpe0 Derived Classes: Member Functions:

slide-16
SLIDE 16

Making the PMTs in WCSim more modular

WCSimDetectorConfigs.cc: Possibilities for CreatePMTObject are PMT20inch, PMT8inch, PMT10inch, PMT10inchHQE, PMT12inchHQE, HPD20inchHQE

slide-17
SLIDE 17

v1.2.0: New features in WCSim

slide-18
SLIDE 18

Adding HPDs to WCSim

  • 1 p.e. distribution: measured value of 8 inch HPD

in EGADS tank (champion data)

  • Quantum Efficiency: QE of High QE SK PMTs

which were the candidates of PMTs in EGADS.

  • Timing resolution: measured value of 8 inch HPDs
  • Photodetector shape: based on the design drawing

Information from Okajima-san

slide-19
SLIDE 19

New Detector Configuration for Hyper-K w/HPD

slide-20
SLIDE 20

Some small add-ons

  • Alex has added a python script which

generates vectors for monoenergetic single particles in the SK geometry

  • There is now a crude verification script

which looks at the basic outputs of WCSim (charge, time, number of tubes hit) and compares them to the output of a clean check out of the code.

slide-21
SLIDE 21

Ongoing work: More changes in the electronics scheme

slide-22
SLIDE 22

FADC in WCSim

Information from Thomas Lindner

Making the digitizer more flexible in the code and implementing the FADC to see if there are any benefits to using an FADC over the TDC/ADC electronics

slide-23
SLIDE 23

How can I get involved?

slide-24
SLIDE 24

Simulate the SK-IV Detector in WCSim

slide-25
SLIDE 25

Other Open Issues on GitHub

  • Document and internally comment the HK geometry

section of the code

  • Check/validate the Gd model
  • Check/validate the physics list
  • Check if code is compatible with newest Geant4

release

  • Add a validation suite
slide-26
SLIDE 26

Conclusion

  • WCSim is now on GitHub
  • Many changes to the electronics in the code to

make it easier to swap out different PMT types

  • HPDs are now available in the code and the Hyper-

K with HPD geometry is available for use.

  • Please get involved!
slide-27
SLIDE 27
slide-28
SLIDE 28

Wave Length [nm] 300 350 400 450 500 550 600 650 700 QE [%] 5 10 15 20 25 30 35 40

ZP0007 ZP0012 ZP0014 ZP0015 ZP0021 ZP0022 ZP0024 ZP0025 Normal SK PMT

High-QE R3600

Normal-QE R3600

×1.5

slide-29
SLIDE 29

Charge [p.e.] 5 10 15 20 25 30 Timing resolution [ns] 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

HPD timing resolution (measured value) HPD timing resolution (WCSim parameter) PMT timing resolution (WCSim parameter)