Skip to content

Commit e45083b

Browse files
authored
Merge pull request #300 from VERITAS-Observatory/v492-bookkeeping
v492 bookkeeping / maintenance
2 parents dabbd78 + 4bf8f0a commit e45083b

29 files changed

+148
-75
lines changed

.github/workflows/CI.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: CI
3+
4+
on:
5+
workflow_dispatch:
6+
pull_request:
7+
types: [opened, synchronize]
8+
schedule:
9+
- cron: "0 0 * * *"
10+
11+
jobs:
12+
13+
linting:
14+
runs-on: ubuntu-latest
15+
defaults:
16+
run:
17+
shell: bash -leo pipefail {0}
18+
19+
permissions:
20+
contents: read
21+
packages: read
22+
statuses: write
23+
24+
steps:
25+
- name: checkout
26+
uses: actions/checkout@v4
27+
28+
- name: Set up Python
29+
uses: actions/setup-python@v5
30+
with:
31+
python-version: "3.11"
32+
33+
- name: Check whether the citation metadata from CITATION.cff is valid
34+
uses: citation-file-format/cffconvert-github-action@2.0.0
35+
with:
36+
args: "--validate"
37+
38+
- name: Pre-commit
39+
run: |
40+
pip install pre-commit
41+
pre-commit run --all-files

CHANGELOG

Lines changed: 0 additions & 17 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog
2+
3+
All notable changes to the Eventdisplay_v4 project will be documented in this file.
4+
Changes for upcoming releases can be found in the [docs/changes](docs/changes) directory.
5+
Note that changes before release v492.0 are not documented here, but can be found in the
6+
[GitHub repository](https://github.com/VERITAS-Observatory/VTS-SimPipe/releases).
7+
8+
This changelog is generated using [Towncrier](https://towncrier.readthedocs.io/).
9+
10+
<!-- towncrier release notes start -->

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2022, Eventdisplay Developers
3+
Copyright (c) 2022, 2023, 2024, 2025 Eventdisplay Developers
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99

1010
Eventdisplay is a reconstruction and analysis pipeline for data of
1111
Imaging Atmospheric Cherenkov Telescopes.
12-
It has been primarily developed for VERITAS and CTA analysis and publications.
13-
This repository contains the Eventdisplay version used for VERITAS analysis (see [here](https://github.com/Eventdisplay/Eventdisplay) for the CTA version).
12+
It has been primarily developed for the analysis of VERITAS and CTAO data to generate results for scientific publications.
13+
This repository contains the Eventdisplay version used for VERITAS analysis ([CTAO version](https://github.com/Eventdisplay/Eventdisplay))
1414

1515
* Original developers: Gernot Maier and Jamie Holder
1616
* Authors and contributors: [CITATION.cff](CITATION.cff)
1717
* License: [LICENSE](LICENSE)
1818
* Contributing: [CONTRIBUTING.md](CONTRIBUTING.md)
19+
* Changelog: [CHANGELOG.md](CHANGELOG.md)
1920

2021
In case Eventdisplay is used in a research project, please cite this repository using the [Zenodo entry](https://zenodo.org/badge/latestdoi/221041866) and the following publication:
2122

@@ -57,7 +58,7 @@ Eventdisplay consists of the following main components:
5758

5859
Additional components:
5960

60-
* release test macros and results (see internal GitHub repository [Eventdisplay_ReleaseTests](https://github.com/VERITAS-Observatory/EventDisplay_ReleaseTests_code).
61+
* release test macros and results (see internal GitHub repository [Eventdisplay_ReleaseTests](https://github.com/VERITAS-Observatory/EventDisplay_ReleaseTests_code)).
6162

6263
## Documentation
6364

docs/ANASUM.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Lists and parameter files:
3838
see example $VERITAS_EVNDISP_AUX_DIR/ParameterFiles/ANASUM.runlist
3939

4040
definition of gamma/hadron cuts:
41-
41+
4242
see example $VERITAS_EVNDISP_AUX_DIR/ParameterFiles/ANASUM.GammaHadron.dat
4343

4444
Please check VERITAS analysis wiki for the standard cut files
@@ -56,7 +56,7 @@ Required instrument response function files:
5656
effective areas, see $VERITAS_EVNDISP_AUX_DIR/EffectiveAreas
5757

5858
radial acceptances, see $VERITAS_EVNDISP_AUX_DIR/RadialAcceptances
59-
59+
6060
--------------------------------------------------------
6161

6262
use the plotting tools in the shared library to plot the results:

docs/EFFECTIVEAREA.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ Required auxiliary files:
2424
for efficient usage, see scripts for typical usage:
2525

2626
[VTS] $EVNDISPSYS/scripts/VTS/VTS.EFFAREA.sub_analyse.sh and $EVNDISPSYS/scripts/VTS/VTS.EFFAREA.qsub_analyse.sh
27-

docs/EVNDISP.commandline.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Plot VTS data:
1515
Quick plotting of VTS data, ignoring all calibration data:
1616
./bin/evndisp -plotraw -nocalibnoproblem -display=1 -sourcefile <your vbf data file>
1717

18-
For analysis, use the ANALYSIS.evndisp.sh script.
18+
For analysis, use the ANALYSIS.evndisp.sh script.
1919
To run the calibration steps only, use the ANALYSIS.evndisp.sh with calibration option set to 5.
2020

2121
General:
@@ -40,7 +40,7 @@ General:
4040
7=DST (MC) file
4141
-runnumber=INT set runnumber (default: get run number from sourcefile name)
4242
-useDBinfo get run info (target, wobble offsets, etc.) from database
43-
(attention, this might overwrite some of the given command line parameters,
43+
(attention, this might overwrite some of the given command line parameters,
4444
default: on, switch of with -donotusedbinfo )
4545
-nevents=NEVENTS loop over NEVENTS events in display=0 mode (<0 = no limit) (default=-10000)
4646
-firstevent=EVENTNUMBER start analysis at event EVENTNUMBER (default=-10000)
@@ -57,12 +57,12 @@ Output:
5757
-writeallMC write all events, even those without array trigger, to showerpars and
5858
tpars trees (MC only, default: off)
5959
-writenoMCTree do not write MC event tree to output file (MC only, default: 1)
60-
-printdeadpixelinfo print list of the telescope, gain, and channel number of all disabled
61-
channels to <runnumber>.evndisp.log
62-
each line will contain the word DEADCHAN for easy grep-ability,
60+
-printdeadpixelinfo print list of the telescope, gain, and channel number of all disabled
61+
channels to <runnumber>.evndisp.log
62+
each line will contain the word DEADCHAN for easy grep-ability,
6363
and the reason(s) the channel was disabled
64-
-writeextracalibtree In gain calculating mode: Write additional tree into gain.root file
65-
containing channel charge, tzero, and monitor charge for all flasher events.
64+
-writeextracalibtree In gain calculating mode: Write additional tree into gain.root file
65+
containing channel charge, tzero, and monitor charge for all flasher events.
6666

6767
Detector definition:
6868
--------------------
@@ -77,7 +77,7 @@ Calibration:
7777
------------
7878
-readcalibdb read relative gains and time offsets from offline DB (switch off with -nocalibnoproblem)
7979
-calibrationfile FILENAME file with names of pedestal/gain/toffset/pixel status files (assume path $EVNDATA/calibration/)
80-
-lowgaincalibrationfile FILENAME file with names for pedestals and high/low gain multiplier files
80+
-lowgaincalibrationfile FILENAME file with names for pedestals and high/low gain multiplier files
8181
(assume path $EVNDATA/calibration/)
8282
-gaincorrection=FLOAT apply correction to gains (default=1)
8383
-usepeds use only true pedestal events (event type=2; use -donotusepeds to switch it off)
@@ -92,10 +92,10 @@ Calibration:
9292
-PedestalsLengthOfTimeSlice=FLOAT length of time slices for pedestal variations (default=180s)
9393
-deadchannelfile FILE read this file with dead channel definitions (default=deadChannelDefinition.dat)
9494

95-
Pointing:
95+
Pointing:
9696
---------
9797
-elevation telescope elevation
98-
-azimuth telescope azimuth
98+
-azimuth telescope azimuth
9999
-target TARGET telescope is pointed to this target (use -print targets to print available targets)
100100
-printtargets print available targets
101101
-declination=DEC target is at this declination (J2000)
@@ -106,20 +106,20 @@ Pointing:
106106
-wobbleeast=FLOAT wobble offset EAST (degrees) (this does not overwrite the DB value)
107107
-overwriteDB_wobblenorth=FLOAT wobble offset NORTH (degrees) (this does overwrite the DB value)
108108
-overwriteDB_wobbleeast=FLOAT wobble offset EAST (degrees) (this does overwrite the DB value)
109-
-checkpointing=FLOAT abort of difference between calculated pointing direction and vbf pointing direction
109+
-checkpointing=FLOAT abort of difference between calculated pointing direction and vbf pointing direction
110110
is larger than this value ([deg], default=999 deg)
111111
-pointingErrorX=INT:FLOAT take pointing error in array reconstruction into account
112-
(camera x-direction [deg], default 0,
112+
(camera x-direction [deg], default 0,
113113
usage: for telescope 1 do for example: -pointingErrorX=1:0.05)
114114
(NOTE: experts only; option disables reading of pointing values from the DB)
115115
-pointingErrorY=INT:FLOAT take pointing error in array reconstruction into account
116-
(camera y-direction [deg], default 0,
116+
(camera y-direction [deg], default 0,
117117
usage: for telescope 1 do for example: -pointingErrorY=1:0.05)
118118
(NOTE: experts only; option disables reading of pointing values from the DB)
119119
-useDBtracking use database to calculate pointing errors (default: on, switch off with -usenodbtracking )
120120
-useTCorrectionfrom SQL-DATE use pointing calculated with T-point correction valid for this data
121121
(default: not applied, example: -useTCorrectionfrom "2007-10-10"
122-
-pointingmonitortxt DIRECTORY find pointing monitor text files in this directory
122+
-pointingmonitortxt DIRECTORY find pointing monitor text files in this directory
123123
(default: not applied, expect filename as pointing_VPM.37195.t1.dat)
124124
-usedbvpm use calibrated pointing monitor data from DB (usenodbvpm to switch it off)
125125
-dstfile FILENAME name of dst output file (root file, default: dstfile.root)
@@ -144,7 +144,7 @@ Display options:
144144
-starcatalogue Hipparcos_MAG8_1997.dat plot stars into the display
145145
-starbrightness=float plot stars brighter than the given B magnitude
146146

147-
Simulations:
147+
Simulations:
148148
-------------
149149
-isMC=0/1/2 source data is MC (not/write all MC events/only triggered MC events, default=0)
150150
-fillmchisto fill MC histograms (default 1)
@@ -161,7 +161,7 @@ Simulations:
161161
-pedestalnoiselevel=int noise level used for external pedestal file (default=250)
162162
-pedestalDefaultPedestal=float default pedestals used in simulations (default=15.)
163163
-lowgainpedestallevel=float pedestal level to be used for low-gain channels in MC (default=off)
164-
-printGrisuHeader=0/1/2 0 (default)=nothing,
164+
-printGrisuHeader=0/1/2 0 (default)=nothing,
165165
1=Reproduce full grisu simulation header including detector config file (from VBF header).
166166
2=Print config file name that was used for detector simulation, if available.
167167

docs/GETRUNLIST.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
VTS.getRunListFromDB
22

3-
./VTS.getRunListFromDB
3+
./VTS.getRunListFromDB
44

5-
Examples:
5+
Examples:
66

77
VTS.getRunListFromDB -b 2009-09-01 -e 2009-10-01 -s Crab -z 60. -d 1200. -g -x
88
VTS.getRunListFromDB -l runlist.dat -t -x -v -g

docs/HILOANALYSIS.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
hiloAnalysis
1+
hiloAnalysis
22

33
-a Inner HiLo Run Number
44
-b Outer HiLo Run Number
@@ -35,8 +35,6 @@ VTS.EVNDISP.sub_make_DST.sh <runlist> [pedestal calculation (default=1=on)] [Sum
3535

3636
5. Then put these files into: $VERITAS_EVNDISP_AUX_DIR/Calibration/Tel_X/
3737

38-
For example:
38+
For example:
3939
if you are looking at runs 12345 and 12346 give them the filename 1234546.lmult.root
4040
and add the file to $VERITAS_EVNDISP_AUX_DIR/Calibration/calibrationlist.LowGain.dat
41-
42-

0 commit comments

Comments
 (0)