Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gwd213 authored Nov 27, 2024
1 parent 34a437c commit 5166117
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions general_codes/Jaein/QA_database/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ This script processes run files and inserts relevant data into the database.
- `main()`: Main function that orchestrates the processing of run files and insertion of data into the database.


### make_plots.py
## make_plots.py
This script generates various histograms and a tree from the database data related to the sPHENIX experiment.

## Functions
### Functions
- `get_run_events()`: Queries the database for run events.
get_num_events_from_daq(runnumbers): Queries the database for the number of events from DAQ.
- `process_run_file(hot_file_path)`: Processes a run file to count dead, cold, and hot channels.
Expand All @@ -34,4 +34,4 @@ create_histograms(): Creates histograms for no hit channels, runtime, BCO peak s
### Usage

Run the script using Python:
python3 make_plots.py
python3 make_plots.py

0 comments on commit 5166117

Please sign in to comment.