analysis code for FRIB experiment e21062
Go to file
2024-05-30 17:13:01 -04:00
.vscode small insignificant chnages. The code tested with run 246-248. can produce 31Na decay 2024-05-30 17:13:01 -04:00
armory small insignificant chnages. The code tested with run 246-248. can produce 31Na decay 2024-05-30 17:13:01 -04:00
Hist_Style snapshot from workstation 2023-05-18 16:33:51 -04:00
.gitignore snapshot from workstation 2023-05-18 16:33:51 -04:00
Cali_gamma_histogram.C initial commit 2022-05-24 18:21:12 -04:00
compareTH2D.C finsihed PID calibration 2022-06-28 16:04:20 -04:00
convertElog2CSV.py edited runID in EventBuilder 2022-06-08 14:43:03 -04:00
convertPixie.sh small change in convertPixie.sh 2022-06-19 17:23:25 -04:00
convertRoot.sh overWrite output for converRoot.sh 2022-06-08 15:24:21 -04:00
correction_Clover.dat initial commit 2022-05-24 18:21:12 -04:00
correction_e.dat initial commit 2022-05-24 18:21:12 -04:00
correction_PID.dat finsihed PID calibration 2022-06-28 16:04:20 -04:00
DecayFinder.C small insignificant chnages. The code tested with run 246-248. can produce 31Na decay 2024-05-30 17:13:01 -04:00
DecayFinder.h snapshot from workstation 2023-05-18 16:33:51 -04:00
degai.cal initial commit 2022-05-24 18:21:12 -04:00
mapping.h initial commit 2022-05-24 18:21:12 -04:00
peachCake.C small insignificant chnages. The code tested with run 246-248. can produce 31Na decay 2024-05-30 17:13:01 -04:00
peachCake.h small insignificant chnages. The code tested with run 246-248. can produce 31Na decay 2024-05-30 17:13:01 -04:00
PIDCutChecker.C initial commit 2022-05-24 18:21:12 -04:00
PIDCutCreator.C snapshot from workstation 2023-05-18 16:33:51 -04:00
pixie_evt updated peachCake.C 2022-06-01 15:36:44 -04:00
plotPID.C snapshot from workstation 2023-05-18 16:33:51 -04:00
rawdata updated peachCake.C 2022-06-01 15:36:44 -04:00
README.md add README.md, a little clean up 2024-05-30 16:06:10 -04:00
rootlogon.C initial commit 2022-05-24 18:21:12 -04:00
script.C small insignificant chnages. The code tested with run 246-248. can produce 31Na decay 2024-05-30 17:13:01 -04:00

Introduction

This is analysis code package for FRIB iFDS (FRIB Decay Staion initiative) experiment e21061.

My personal analysis logbook can be found in Here. The experimental setup can also be found there.

The elog can be found in Here

Other information of the experiment can be found Here

Programs

convertPixie.sh

convert NSCL-evt (raw data) to pixie-evt, ripe off the NSCL header.

convertRoot.sh

convert pixie-evt to root with event building and mapping.h applied.

mapping.h

Thsi define the mapping

peachCake.C/h

Analysis class from TSelector. It do the primary analysis and apply corrections. It has option to output a new root file (with prefix "zzz_") with tree branches:

  • eventID | eventID
  • runID | runID
  • AoQ | A/Q value of PID
  • Z | Z value of PID
  • crossTime | cross scint. T2 analog time
  • crossEnergy | croos scint. T2 analog energy
  • flag | event identification flag, +1 = has Beta, +2 = has Ions, +4 = has Beam
  • vetoFlag | veto, +1 = has Front trigger, +2 = has Rear trigger, +4 = has cross scint T2/B2
  • xIons | x-pos of Ions
  • yIons | y-pos of Ions
  • xBeta | x-pos of beta
  • yBeta | y-pos of beta
  • dyIonsTime | dinode Ions time
  • dyBetaTime | dinode Beta time
  • veto_f | front veto detector energy
  • veto_r | rear veto detector energy

DecayFinder.C/h

The DecayFinder.C/h analysis the zzz_XXX files to obtain the decay curve for various isotopes.

PIDCutCreator.C and PIDCutChecker.C

Create/Check the PID cut.

scipt.C

root macro to run analysis flow at once.

Analysis Flow

  1. The NSCL-evt file to pixie-evt file (nscl2pixie)
  2. Use the EventBuilder to build event and apply the mapping.h
  3. Use peachCake.C/h to analysis and output a new root file.
  4. Use DecayFinder.C/h to obtain the decay histogram.

inside the Armory

DataBlock.h

This defines a class DataBlock to store data from pixie digitizer

nsclEvtReader.h

This defines a class NSCLEvtReader to read NSCL evt file.

nscl2pixie

This is a program to convert NSCL-evt file to evt file. Basically ripe out all NSCL header.

The bash script converPixie.sh use this program to batch convert NSCL-evt to evt file.

evtReader.h

This defines a class evtReader to read pixie evt file.

EventBuilder

This is a program to convert pixie-evt to root file with event building. This program will apply the mapping.h. The output tree has branches

  1. evtID | event ID, unsigned int
  2. multi | event multiplicity, int
  3. detID | detector ID defined in mapping.h, int
  4. e | energy, double
  5. e_t | timestamp, ULong64_t
  6. cfd | fine time from cfd, int
  7. qdc | 8-section of intergrated trace, int[8]
  8. multiClover | multiplicity of Clover
  9. multiBeam | multiplicity of beam-line detector
  10. runID | runID, e.g. run-0330-17 = 330*100 + 17 = 33017