Skip to content

Commit 7dfb2c1

Browse files
authored
Merge pull request #64 from VERITAS-Observatory/v490.7-preprocessing-dev2
v490.7 preprocessing dev2
2 parents 473f1a2 + 95adfee commit 7dfb2c1

24 files changed

+196
-57
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
repos:
22
# https://pycqa.github.io/isort/docs/configuration/black_compatibility.html#integration-with-pre-commit
33
- repo: https://github.com/pycqa/isort
4-
rev: 5.12.0
4+
rev: 5.13.2
55
hooks:
66
- id: isort
77
args: ["--profile", "black", "--filter-files"]
88
- repo: https://github.com/psf/black
9-
rev: 23.7.0
9+
rev: 24.3.0
1010
hooks:
1111
- id: black
1212
args: ["--line-length=100"]
1313
# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html?highlight=other%20tools#flake8
1414
- repo: https://github.com/PyCQA/flake8
15-
rev: 6.1.0
15+
rev: 7.0.0
1616
hooks:
1717
- id: flake8
1818
args: ["--max-line-length=100", "--extend-ignore=E203,E712"]
1919
# https://github.com/pre-commit/pre-commit-hooks
2020
- repo: https://github.com/pre-commit/pre-commit-hooks
21-
rev: v4.4.0
21+
rev: v4.5.0
2222
hooks:
2323
- id: trailing-whitespace
2424
- id: end-of-file-fixer

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ cff-version: 1.2.0
44
message: If you use this software, please cite it using these metadata.
55
title: "Eventdisplay Analysis Files for VERITAS"
66
doi: 10.5281/zenodo.10616289
7-
version: 4.9
8-
date-released: 2024-02-05
7+
version: 4.9.7
8+
date-released: 2024-03-22
99
keywords:
1010
- "gamma-ray astronomy"
1111
- "astronomy software"

GammaHadronCutFiles/ANASUM.GammaHadron-Cut-NTel2-PointSource-Hard-TMVA-BDT.dat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Hard cuts (minimum 2 tel)
77
All lines without a '*' in the first column are ignored!
88
--------------------------------------------------------
99
i) stereo quality cuts
10-
successfull core and direction reconstruction (>=0.)
10+
successful core and direction reconstruction (>=0.)
1111
* arraychi2 0. 1.e30
1212
distance of core position to telescopes [m]
1313
* arraycore -1. 400.
1414

1515
size of the camera [deg], all events with direction
16-
outside of that intervall are ignored
16+
outside of that interval are ignored
1717
* cameraedge -1. 2.00
1818

1919
second largest image size
@@ -73,7 +73,7 @@ ii) direction cut [deg2]
7373
* arraytheta2 -1. 0.008
7474

7575
iii) gamma hadron cuts:
76-
b) mean scaled width cut (use cut selector 0 in runlist)
76+
b) mean scaled width cut (use cut selector 0 in run list)
7777
* arraymscw -2. 2.
7878
* arraymscl -2. 5.
7979

GammaHadronCutFiles/ANASUM.GammaHadron-Cut-NTel2-PointSource-Hard-TMVA-Preselection.dat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ BDT preselection cuts for TMVA BDT cuts optimization (hard cuts)
77
All lines without a '*' in the first column are ignored!
88
--------------------------------------------------------
99
i) stereo quality cuts
10-
successfull core and direction reconstruction (>=0.)
10+
successful core and direction reconstruction (>=0.)
1111
* arraychi2 0. 1.e30
1212
distance of core position to telescopes [m]
1313
* arraycore -1. 400.
1414

1515
size of the camera [deg], all events with direction
16-
outside of that intervall are ignored
16+
outside of that interval are ignored
1717
* cameraedge -1. 2.00
1818

1919
second largest image size
@@ -73,7 +73,7 @@ ii) direction cut [deg2]
7373
* arraytheta2 -1. 0.008
7474

7575
iii) gamma hadron cuts:
76-
b) mean scaled width cut (use cut selector 0 in runlist)
76+
b) mean scaled width cut (use cut selector 0 in run list)
7777
* arraymscw -2. 2.
7878
* arraymscl -2. 5.
7979

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
cut values for quality and gamma hadron cuts
2+
========================================================
3+
4+
Hard point source cuts (box cuts)
5+
6+
========================================================
7+
All lines without a '*' in the first column are ignored!
8+
--------------------------------------------------------
9+
i) stereo quality cuts
10+
successful core and direction reconstruction (>=0.)
11+
* arraychi2 0. 1.e30
12+
distance of core position to telescopes [m]
13+
* arraycore -1. 400.
14+
15+
size of the camera [deg], all events with direction
16+
outside of that are ignored
17+
* cameraedge -1. 2.00
18+
19+
second largest image size
20+
(this depends on the state of the instrument)
21+
* sizesecondmax 900. 1.e30 V4
22+
* sizesecondmax 900. 1.e30 V5
23+
* sizesecondmax 1400. 1.e30 V6
24+
25+
cut on mean emission height
26+
* emissionheight 6. 1.e10
27+
28+
cut on direction reconstruction quality
29+
(applies to Disp method only)
30+
Third parameter: require sucessful reconstruction for both methods
31+
* arraydispdiff -1. 0.5 1
32+
33+
Telescope multiplicity
34+
arrayltrig <bit coded telescope combination> <0=off, 1=on> <epoch> <telescope combinations for which this selection is valid>
35+
* arrayltrig 0 0
36+
T1
37+
* arrayltrig 1 0
38+
T2
39+
* arrayltrig 2 0
40+
T1/T2
41+
* arrayltrig 3 1
42+
T3
43+
* arrayltrig 4 0
44+
T1/T3 V4: unlikely to get a 2-tel gamma-ray event with T1 and T3
45+
* arrayltrig 5 0 V4 1234
46+
* arrayltrig 5 1 V5
47+
* arrayltrig 5 1 V6
48+
T2/T3
49+
* arrayltrig 6 1 V4
50+
T2/T3 and V5/V6: unlikely to get a 2-tel gamma-ray event with T2 and T3
51+
* arrayltrig 6 0 V5 1234
52+
* arrayltrig 6 0 V6 1234
53+
T1/T2/T3
54+
* arrayltrig 7 1
55+
T4
56+
* arrayltrig 8 0
57+
T1/T4 and V4: telescopes too close to each other
58+
* arrayltrig 9 0 V4
59+
T1/T4 and V5/V6: unlikely to get a 2-tel gamma-ray event with T1 and T4
60+
* arrayltrig 9 0 V5 1234
61+
* arrayltrig 9 0 V6 1234
62+
T2/T4 and V4: unlikely to get a 2-tel gamma-ray event with T2 and T4
63+
* arrayltrig 10 0 V4 1234
64+
* arrayltrig 10 1 V5
65+
* arrayltrig 10 1 V6
66+
T1/T2/T4
67+
* arrayltrig 11 1
68+
T3/T4
69+
* arrayltrig 12 1
70+
T1/T3/T4
71+
* arrayltrig 13 1
72+
T2/T3/T4
73+
* arrayltrig 14 1
74+
T1/T2/T3/T4
75+
* arrayltrig 15 1
76+
77+
ii) direction cut [deg2]
78+
* arraytheta2 -1. 0.008
79+
80+
iii) gamma hadron cuts:
81+
b) mean scaled width cut (use cut selector 0 in run list)
82+
* arraymscw -1.2 0.3
83+
* arraymscl -1.2 0.5
84+
85+
iv) energy reconstruction cuts
86+
echi2 is a measure of the difference between the energies
87+
estimated per individual telescope
88+
* arrayechi2 0. 99999.
89+
cut on energy of reconstruction shower (on linear energy scale, in [TeV])
90+
* arrayerec 0. 1.e10

GammaHadronCutFiles/ANASUM.GammaHadron-Cut-NTel2-PointSource-Moderate-TMVA-BDT.dat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Moderate cuts
77
All lines without a '*' in the first column are ignored!
88
--------------------------------------------------------
99
i) stereo quality cuts
10-
successfull core and direction reconstruction (>=0.)
10+
successful core and direction reconstruction (>=0.)
1111
* arraychi2 0. 1.e30
1212
distance of core position to telescopes [m]
1313
* arraycore -1. 400.
1414

1515
size of the camera [deg], all events with direction
16-
outside of that intervall are ignored
16+
outside of that are ignored
1717
* cameraedge -1. 2.00
1818

1919
second largest image size
@@ -73,7 +73,7 @@ ii) direction cut [deg2]
7373
* arraytheta2 -1. 0.008
7474

7575
iii) gamma hadron cuts:
76-
b) mean scaled width cut (use cut selector 0 in runlist)
76+
b) mean scaled width cut (use cut selector 0 in run list)
7777
* arraymscw -2. 2.
7878
* arraymscl -2. 5.
7979

GammaHadronCutFiles/ANASUM.GammaHadron-Cut-NTel2-PointSource-Moderate-TMVA-Preselection.dat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ BDT preselection cuts for TMVA BDT cuts optimization (moderate cuts)
77
All lines without a '*' in the first column are ignored!
88
--------------------------------------------------------
99
i) stereo quality cuts
10-
successfull core and direction reconstruction (>=0.)
10+
successful core and direction reconstruction (>=0.)
1111
* arraychi2 0. 1.e30
1212
distance of core position to telescopes [m]
1313
* arraycore -1. 400.
1414

1515
size of the camera [deg], all events with direction
16-
outside of that intervall are ignored
16+
outside of that are ignored
1717
* cameraedge -1. 2.00
1818

1919
second largest image size
@@ -73,7 +73,7 @@ ii) direction cut [deg2]
7373
* arraytheta2 -1. 0.008
7474

7575
iii) gamma hadron cuts:
76-
b) mean scaled width cut (use cut selector 0 in runlist)
76+
b) mean scaled width cut (use cut selector 0 in run list)
7777
* arraymscw -2. 2.
7878
* arraymscl -2. 5.
7979

GammaHadronCutFiles/ANASUM.GammaHadron-Cut-NTel2-PointSource-Moderate.dat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Moderate point source cuts (box cuts)
77
All lines without a '*' in the first column are ignored!
88
--------------------------------------------------------
99
i) stereo quality cuts
10-
successfull core and direction reconstruction (>=0.)
10+
successful core and direction reconstruction (>=0.)
1111
* arraychi2 0. 1.e30
1212
distance of core position to telescopes [m]
1313
* arraycore -1. 400.
1414

1515
size of the camera [deg], all events with direction
16-
outside of that intervall are ignored
16+
outside of that are ignored
1717
* cameraedge -1. 2.00
1818

1919
second largest image size
@@ -78,7 +78,7 @@ ii) direction cut [deg2]
7878
* arraytheta2 -1. 0.008
7979

8080
iii) gamma hadron cuts:
81-
b) mean scaled width cut (use cut selector 0 in runlist)
81+
b) mean scaled width cut (use cut selector 0 in run list)
8282
* arraymscw -1.2 0.3
8383
* arraymscl -1.2 0.5
8484

GammaHadronCutFiles/ANASUM.GammaHadron-Cut-NTel2-PointSource-Soft-TMVA-BDT.dat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Soft cuts
77
All lines without a '*' in the first column are ignored!
88
--------------------------------------------------------
99
i) stereo quality cuts
10-
successfull core and direction reconstruction (>=0.)
10+
successful core and direction reconstruction (>=0.)
1111
* arraychi2 0. 1.e30
1212
distance of core position to telescopes [m]
1313
* arraycore -1. 400.
1414

1515
size of the camera [deg], all events with direction
16-
outside of that intervall are ignored
16+
outside of that are ignored
1717
* cameraedge -1. 2.00
1818

1919
second largest image size
@@ -73,7 +73,7 @@ ii) direction cut [deg2]
7373
* arraytheta2 -1. 0.008
7474

7575
iii) gamma hadron cuts:
76-
b) mean scaled width cut (use cut selector 0 in runlist)
76+
b) mean scaled width cut (use cut selector 0 in run list)
7777
* arraymscw -2. 2.
7878
* arraymscl -2. 5.
7979

GammaHadronCutFiles/ANASUM.GammaHadron-Cut-NTel2-PointSource-Soft-TMVA-Preselection.dat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ BDT preselection cuts for TMVA BDT cuts optimization (soft cuts)
77
All lines without a '*' in the first column are ignored!
88
--------------------------------------------------------
99
i) stereo quality cuts
10-
successfull core and direction reconstruction (>=0.)
10+
successful core and direction reconstruction (>=0.)
1111
* arraychi2 0. 1.e30
1212
distance of core position to telescopes [m]
1313
* arraycore -1. 400.
1414

1515
size of the camera [deg], all events with direction
16-
outside of that intervall are ignored
16+
outside of that are ignored
1717
* cameraedge -1. 2.00
1818

1919
second largest image size
@@ -73,7 +73,7 @@ ii) direction cut [deg2]
7373
* arraytheta2 -1. 0.008
7474

7575
iii) gamma hadron cuts:
76-
b) mean scaled width cut (use cut selector 0 in runlist)
76+
b) mean scaled width cut (use cut selector 0 in run list)
7777
* arraymscw -2. 2.
7878
* arraymscl -2. 5.
7979

0 commit comments

Comments
 (0)