Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SPMTOfflineForCommissioning
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wudr@ihep.ac.cn
SPMTOfflineForCommissioning
Commits
de2f9c0d
Commit
de2f9c0d
authored
1 year ago
by
wudr@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
update README
parent
17b1a7be
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+17
-7
17 additions, 7 deletions
README.md
with
17 additions
and
7 deletions
README.md
+
17
−
7
View file @
de2f9c0d
...
...
@@ -8,37 +8,47 @@ Similar to JUNO Offline, two main structures exist: one is named **`algorithm`**
## How to use existing method
```
bash
source
setup.sh //
in
the spmtOffline folder
# The first time
git clone https://code.ihep.ac.cn/wudr/SPMTOfflineForCommissioning.git
cd
SPMTOfflineForCommissioning
source
setup.sh
./build.sh
```
```
bash
# If the software was already compiled, only need to config the environment
source
setup.sh
# in the SPMTOfflineForCommissioning folder
```
### Convert binary to ROOT
```
bash
python
$SHAREROOT
/convert.py
--input
[
path of binary file list]
--output
[
output path]
python
$SHAREROOT
/convert.py
--input
[
path of binary file list]
--output
[
output path
(
folder only
)]
# example: python $SHAREROOT/convert.py --input ./rootList --output ./ROOT/
```
### Get charge spectrum
```
bash
python
$SHAREROOT
/getChargeSpec.py
--input
[
path of ROOT file list]
--output
[
output path]
python
$SHAREROOT
/getChargeSpec.py
--input
[
path of ROOT file list]
--output
[
output path
(
folder only
)
]
```
### Get hit rate
```
bash
python
$SHAREROOT
/getHitRate.py
--input
[
path of ROOT file list]
--output
[
output path]
python
$SHAREROOT
/getHitRate.py
--input
[
path of ROOT file list]
--output
[
output path
(
folder only
)
]
```
### Get hit rate distribution in xoy
```
bash
python
$SHAREROOT
/getHitRateDis.py
--input
[
path of ROOT file list]
--output
[
output path]
python
$SHAREROOT
/getHitRateDis.py
--input
[
path of ROOT file list]
--output
[
output path
(
folder only
)
]
```
### Get time interval
```
bash
python
$SHAREROOT
/getTimeInterval.py
--input
[
path of ROOT file list]
--output
[
output path]
python
$SHAREROOT
/getTimeInterval.py
--input
[
path of ROOT file list]
--output
[
output path
(
folder only
)
]
```
### Get noise per channel
```
bash
python
$SHAREROOT
/getNoise.py
--input
[
path of ROOT file list]
--output
[
output path]
python
$SHAREROOT
/getNoise.py
--input
[
path of ROOT file list]
--output
[
output path
(
folder only
)
]
```
## Create your own algorithm
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment