Skip to content

jintonic/munich-psa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

================================
things to do
================================

- simulation

  V tune geometry in "Siegfried.gdml" according to technical drawing
  
  V use ROOT to check the geometry
  
  V tune the generator setup in "Tl208_top10cm.mac"
  
  V get familiar with the data structure in the output ROOT file
    (http://www.mppmu.mpg.de/~jingliu/cgi-bin/viewvc.cgi/doc/GERDAUsersGuide/)
    (chapter I/O scheme -> GEOutputCrystal)

  V select the DEP events. (single segment events, energy cut)
  
  V write a script (createPS.cc) to simulate the PS of DEP events

  V use the same way to create a background data sample (a gamma line)

- data

  V find out the data

  V select the DEP events

  V convert the selected events from Gerda format to Majorana format

  V do the same thing for a background data sample (a gamma line nearby)

- compare

  * learn how to use NN

  * train NN

  * create some distributions to compare
    
    o risetime
    
    o NN output

  * draw some conclusion

- memo

  * document every step

================================
how to use drawgdml.C
================================
$ root
root[] .x drawgdml.C("siegfried.gdml")


================================
how to tune generator
================================
$ MaGe Tl208_top10cm.mac
$ /remote/gx336-01/usr/wired3-14.2b4/bin/wired G4Data0.heprep


================================
how to use SVN (work with others)
================================

* first thing to do:
  $ svn co file:///home/pclg-13/jingliu/svn/PSA  # get a copy

* everytime before you start working:
  $ svn up  # update the current directory, get changes others made

* if you changed something:
  $ svn ci -m "what are the changes" changedFilesOrDirectories # commit your modification

* if you added a new file:
  $ svn add newfiles # add new files to the SVN repository

* before you stop working:
  $ svn st -vvv # check if you forget to check in some modifications
  $ svn ci -m "..." somethingYouForgetToCheckIn

================================
how to compile createPS.cc
================================
$ cd /path/to/MaGe/sandbox
$ ln -sf /path/to/PSA/sim/createPS.cc
$ xemacs GNUMakefile
    find the line starting with MGTARGETS
    change it to 
    MGTARGETS = createPS WaveformBrowser
    save and quit
$ make
$ cd /path/to/PSA/sim
$ createPS    # create pulse shapes
$ WaveformBrowser WFGenFromDriftOutput.root # check created ps

==================================================
how to convert Gerda PS file to Majorana PS file
==================================================
$ cd /path/to/PSA/dat/converter
$ make
$ ./g2m input.root
$ mv wfcollection.root ../outputName.root

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published