Skip to content

Commit 295d235

Browse files
committed
refactor: rename analysis class methods...
...for consistency with histogramming class methods: - `processDirectory` -> `processRun` - `close` -> `write`
1 parent 2ac5970 commit 295d235

134 files changed

Lines changed: 268 additions & 268 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/org/jlab/clas/timeline/analysis/band/band_adccor.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class band_adccor {
77

88
def data = new ConcurrentHashMap()
99

10-
def processDirectory(dir, run) {
10+
def processRun(dir, run) {
1111
def h1 = dir.getObject('/BAND/H_BAND_ADC_LR_SectorCombination1')
1212
def h2 = dir.getObject('/BAND/H_BAND_ADC_LR_SectorCombination2')
1313

@@ -16,7 +16,7 @@ def processDirectory(dir, run) {
1616

1717

1818

19-
def close() {
19+
def write() {
2020

2121

2222
TDirectory out = new TDirectory()

src/main/java/org/jlab/clas/timeline/analysis/band/band_lasertime.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class band_lasertime {
77

88
def data = new ConcurrentHashMap()
99

10-
def processDirectory(dir, run) {
10+
def processRun(dir, run) {
1111
def h1 = dir.getObject('/BAND/H_BAND_LaserTimeFADC_SectorCombination1')
1212
def h2 = dir.getObject('/BAND/H_BAND_LaserTimeFADC_SectorCombination2')
1313

@@ -16,7 +16,7 @@ def processDirectory(dir, run) {
1616

1717

1818

19-
def close() {
19+
def write() {
2020

2121

2222
TDirectory out = new TDirectory()

src/main/java/org/jlab/clas/timeline/analysis/band/band_meantimeadc.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class band_meantimeadc {
77

88
def data = new ConcurrentHashMap()
99

10-
def processDirectory(dir, run) {
10+
def processRun(dir, run) {
1111
def h1 = dir.getObject('/BAND/H_BAND_MeanTimeFADC_SectorCombination1')
1212
def h2 = dir.getObject('/BAND/H_BAND_MeanTimeFADC_SectorCombination2')
1313

@@ -16,7 +16,7 @@ def processDirectory(dir, run) {
1616

1717

1818

19-
def close() {
19+
def write() {
2020

2121

2222
TDirectory out = new TDirectory()

src/main/java/org/jlab/clas/timeline/analysis/band/band_meantimetdc.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class band_meantimetdc {
77

88
def data = new ConcurrentHashMap()
99

10-
def processDirectory(dir, run) {
10+
def processRun(dir, run) {
1111
def h1 = dir.getObject('/BAND/H_BAND_MeanTimeTDC_SectorCombination1')
1212
def h2 = dir.getObject('/BAND/H_BAND_MeanTimeTDC_SectorCombination2')
1313

@@ -16,7 +16,7 @@ def processDirectory(dir, run) {
1616

1717

1818

19-
def close() {
19+
def write() {
2020

2121

2222
TDirectory out = new TDirectory()

src/main/java/org/jlab/clas/timeline/analysis/bmtbst/bmt_Occupancy.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class bmt_Occupancy {
77

88
def data = new ConcurrentHashMap()
99

10-
def processDirectory(dir, run) {
10+
def processRun(dir, run) {
1111
def h1 = dir.getObject('/cvt/hbmtOccupancy')
1212
h1.setTitle("BMT Occupancy");
1313
h1.setTitleX("BMT Occupancy (%)");
@@ -17,7 +17,7 @@ def processDirectory(dir, run) {
1717

1818

1919

20-
def close() {
20+
def write() {
2121

2222
TDirectory out = new TDirectory()
2323

src/main/java/org/jlab/clas/timeline/analysis/bmtbst/bmt_OnTrkLayers.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class bmt_OnTrkLayers {
77

88
def data = new ConcurrentHashMap()
99

10-
def processDirectory(dir, run) {
10+
def processRun(dir, run) {
1111
def h1 = dir.getObject('/cvt/hbmtOnTrkLayers')
1212
h1.setTitle("BMT Layers per Track");
1313
h1.setTitleX("BMT Layers per Track");
@@ -17,7 +17,7 @@ def processDirectory(dir, run) {
1717

1818

1919

20-
def close() {
20+
def write() {
2121

2222
TDirectory out = new TDirectory()
2323

src/main/java/org/jlab/clas/timeline/analysis/bmtbst/bst_Occupancy.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class bst_Occupancy {
77

88
def data = new ConcurrentHashMap()
99

10-
def processDirectory(dir, run) {
10+
def processRun(dir, run) {
1111
def h1 = dir.getObject('/cvt/hbstOccupancy')
1212
h1.setTitle("BST Occupancy");
1313
h1.setTitleX("BST Occupancy (%)");
@@ -17,7 +17,7 @@ def processDirectory(dir, run) {
1717

1818

1919

20-
def close() {
20+
def write() {
2121

2222
TDirectory out = new TDirectory()
2323

src/main/java/org/jlab/clas/timeline/analysis/bmtbst/bst_OnTrkLayers.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class bst_OnTrkLayers {
77

88
def data = new ConcurrentHashMap()
99

10-
def processDirectory(dir, run) {
10+
def processRun(dir, run) {
1111
def h1 = dir.getObject('/cvt/hbstOnTrkLayers')
1212
h1.setTitle("BST Layers per Track");
1313
h1.setTitleX("BST Layers per Track");
@@ -17,7 +17,7 @@ def processDirectory(dir, run) {
1717

1818

1919

20-
def close() {
20+
def write() {
2121

2222
TDirectory out = new TDirectory()
2323

src/main/java/org/jlab/clas/timeline/analysis/central/central_Km_num.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ class central_Km_num {
77

88
def data = new ConcurrentHashMap()
99

10-
def processDirectory(dir, run) {
10+
def processRun(dir, run) {
1111
def h1 = dir.getObject('/trig/H_trig_central_kminus_rat')
1212

1313
data[run] = [run:run, h1:h1]
1414
}
1515

1616

1717

18-
def close() {
18+
def write() {
1919

2020
TDirectory out = new TDirectory()
2121

src/main/java/org/jlab/clas/timeline/analysis/central/central_Kp_num.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ class central_Kp_num {
77

88
def data = new ConcurrentHashMap()
99

10-
def processDirectory(dir, run) {
10+
def processRun(dir, run) {
1111
def h1 = dir.getObject('/trig/H_trig_central_kplus_rat')
1212

1313
data[run] = [run:run, h1:h1]
1414
}
1515

1616

1717

18-
def close() {
18+
def write() {
1919

2020
TDirectory out = new TDirectory()
2121

0 commit comments

Comments
 (0)