Skip to content
Snippets Groups Projects
Commit f24db089 authored by Chad Lantz's avatar Chad Lantz
Browse files

Update README.md

parent 55f5f891
No related branches found
No related tags found
No related merge requests found
## ZDC Digitizer ## ZDC Digitizer
Everything is super simple right now. We can complicate it more if we want. Everything is super simple right now. We can complicate it more if we want.
I made a single .cc file with three functions: I made a single .cc file with three functions:
________________________ ________________________
#### cutZDCoutput(string fileName, int rodNum) #### cutZDCoutput(string fileName, int rodNum)
- ##### Arguments: - ##### Arguments:
- fileName - The input .root file - fileName - The input .root file
- rodNum - The transmission spectrum you would like to use. Uses the old numbering scheme. I will change that as soon as I figure out the conversion. - rodNum - The transmission spectrum you would like to use. Uses the old numbering scheme. I will change that as soon as I figure out the conversion.
- ##### Description: - ##### Description:
- Takes an input .root file with photon data from the top of the ZDC and cuts it based on the transmission spectrum for the selected rod. - Takes an input .root file with photon data from the top of the ZDC and cuts it based on the transmission spectrum for the selected rod.
- ##### Output: - ##### Output:
- .root file and .txt file with photon data after cuts. Named the same as the input file prepended with Out_ - .root file and .txt file with photon data after cuts. Named the same as the input file prepended with Out_
___ ___
#### PMTcuts(string fileName, int PMTmodel = 6091) #### PMTcuts(string fileName, int PMTmodel = 6091)
- ##### Arguments: - ##### Arguments:
- fileName - The input .root file - fileName - The input .root file
- PMTmodel - Loads the Quantum efficiency curve for the given PMT model #. Currently we only have data for the 6091. Waiting on datasheets from Peter for the other options. - PMTmodel - Loads the Quantum efficiency curve for the given PMT model #. Currently we only have data for the 6091. Waiting on datasheets from Peter for the other options.
- ##### Description: - ##### Description:
- Takes an input .root file with photon data from the top of the ZDC light guide - Takes an input .root file with photon data from the top of the ZDC light guide
and cuts it based on the Quantum Efficiency for the selected PMT model. and cuts it based on the Quantum Efficiency for the selected PMT model.
- ##### Output: - ##### Output:
- .txt file with photon data after cuts. Named the same as the input file - .txt file with photon data after cuts. Named the same as the input file
prepended with Out_ prepended with Out_
___ ___
SetBranches() #### SetBranches()
- ##### Arguments: - ##### Arguments:
- None - None
- ##### Description: - ##### Description:
- Does like it sounds. The input and output files and variables are global - Does like it sounds. The input and output files and variables are global
so we can reuse this section of code. so we can reuse this section of code.
- ##### Output: - ##### Output:
- None - None
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment