/
ChangeLog
11062 lines (8109 loc) · 333 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
commit ddd39578c402708862bbae91d336b53f5c679135
Author: Ole Hansen <ole@jlab.org>
Date: Thu Dec 6 17:20:18 2012 -0500
Version is 1.5.24
1 1 Makefile
commit 31279189abb64a5d0f1427ac762036b6dee22884
Merge: bab79b2 df68229
Author: Ole Hansen <ole@jlab.org>
Date: Thu Dec 6 17:14:25 2012 -0500
Merge latest upstream
commit df68229ca73321dd7d0f51f27954876ce98c4755
Author: Ole Hansen <ole@jlab.org>
Date: Thu Dec 6 17:12:45 2012 -0500
Fix ambiguous (and unnecessary) use of pow()
1 1 src/THaQWEAKHelicity.C
commit bab79b2adb043763a4a2565e088fac8b925dedc3
Merge: 35cf952 ce2e77f
Author: Ole Hansen <ole@jlab.org>
Date: Thu Dec 6 16:37:44 2012 -0500
Merge upstream into current develop on Fedora 17
commit ce2e77f3069327d1588b184366a4483c1a4b0b40
Author: Ole Hansen <ole@jlab.org>
Date: Thu Dec 6 16:24:10 2012 -0500
Add experimental support for MacOSX
30 1 Makefile
25 0 hana_decode/Makefile
19 0 hana_scaler/Makefile
commit 35cf95236b82ae5b353f3a0dfe3d183d59c3b494
Author: Ole Hansen <ole@jlab.org>
Date: Thu Dec 6 16:10:39 2012 -0500
Fix compilation warnings for gcc 4.7.2 (Fedora 17)
17 17 hana_decode/THaCodaDecoder.C
1 2 hana_decode/evio.C
6 4 hana_decode/swap_util.C
1 1 hana_scaler/THaScaler.C
1 4 src/THaNormAna.C
11 10 src/THaScintillator.C
2 2 src/THaTextvars.C
3 2 src/THaVarList.C
commit a19171c8f8333629b93e9bfdea2d0ae6f9134533
Author: Ole Hansen <ole@jlab.org>
Date: Fri Oct 19 16:33:27 2012 -0400
Create symbolic links for shared libraries without an absolute path.
Without this, links would have to be rebuilt after moving the libdir
to a new location.
7 6 Makefile
commit 62b6d1c3692583abca2f8e44b80b9d5c915eb2d0
Author: Ole Hansen <ole@jlab.org>
Date: Wed Oct 17 15:47:11 2012 -0400
Improve warning message in THaRunBase::SetDataRequired().
2 2 src/THaRunBase.C
commit 182667233a6195549c765ecc43c1079af52ab4e0
Author: Ole Hansen <ole@jlab.org>
Date: Wed Oct 17 15:31:56 2012 -0400
Add option to THaRunBase to override default fDataRequired. Fix silent exit for short runs.
For special cases (DAQ test runs), THaRunBase::SetDataRequired(mask) allows
one to override the default set of information items that a run must
contain for Init() to succeed. For example
run->SetDataRequired( THaRunBase::kDate );
will allow run->Init() if only the run date is available, but not run number,
prescales etc.
Also, do not silently terminate analysis if EOF is hit during ReadInitInfo().
This would happen if a run had fewer events than fMaxScan and not all
required information was found. Instead, let the user know that info is
missing and error out.
4 2 src/THaRun.C
26 1 src/THaRunBase.C
3 1 src/THaRunBase.h
commit 163befbe26dc27d26b9c7585d0d23976f46f0c7e
Author: Ole Hansen <ole@jlab.org>
Date: Wed Oct 17 14:31:08 2012 -0400
Fix incorrect delete of fVarDef in assignment operator.
1 1 src/THaFormula.C
commit 9117d864ae3a6a40586bcb083eb7dbd3d9a9aeee
Author: Ole Hansen <ole@jlab.org>
Date: Wed Oct 17 14:20:43 2012 -0400
Stop hana_scaler Makefile from forcing scaler.map into DB directory.
Instead, track DB/scaler.map like any other database file.
3 1 .gitignore
2345 0 DB/scaler.map
0 1 hana_scaler/Makefile
0 2345 hana_scaler/scaler.map
create mode 100644 DB/scaler.map
delete mode 100644 hana_scaler/scaler.map
commit 3b573735a21d6157f2cab116aa1e79ed2c05408e
Author: Ole Hansen <ole@jlab.org>
Date: Wed Oct 17 14:15:59 2012 -0400
Switch from .cvsignore to .gitignore
0 14 .cvsignore
25 0 .gitignore
delete mode 100644 .cvsignore
create mode 100644 .gitignore
commit c44f3df7396bcadf229da66f6e9c9c87de15630e
Author: Ole Hansen <ole@jlab.org>
Date: Tue Oct 16 20:15:50 2012 +0000
Update to weed out the most common untracked files in a working directory.
THIS IS THE LAST COMMIT IN THIS CVS REPOSITORY. THE PROJECT WILL BE MANAGED
UNDER GIT FROM NOW ON. SEE http://hallaweb.jlab.org/podd
12 0 .cvsignore
commit bab1a51f4e5e5da8aed95cf9e7ae285f32490cf3
Author: Ole Hansen <ole@jlab.org>
Date: Tue Jun 21 05:02:18 2011 +0000
Fix printf format warning with error message in Init().
1 1 src/THaRunBase.C
commit 6c8f0ab4e83680a57f4fe58f8f8a4533d73c1877
Author: Ole Hansen <ole@jlab.org>
Date: Mon Jun 20 19:25:54 2011 +0000
Fix printf formats for error messages in ReadDatabase
4 4 src/THaADCHelicity.C
commit f9c42634f6cef279a3df910fe7b6442d96cb32df
Author: Ole Hansen <ole@jlab.org>
Date: Mon Jun 20 19:21:37 2011 +0000
Add missing <cmath> include (for fmod).
1 0 src/THaG0Helicity.C
commit fe6c5c9c18c4c652c8fb95bc432f93888b1b0fdc
Author: Ole Hansen <ole@jlab.org>
Date: Wed May 25 21:01:52 2011 +0000
VErsion is 1.5.23
1 1 Makefile
commit 1ec98d2e702affd4957f54c16489e0b00b2a7e99
Author: Ole Hansen <ole@jlab.org>
Date: Wed May 25 21:01:08 2011 +0000
- Improve error reporting (staterr() function). Print system error description
instead of just the error code.
- Remove explicit call to a destructor (the horror!) in addEvListFilt().
18 20 hana_decode/THaCodaFile.C
commit ec1fbc3446403e15a52204038ba749d8ec8da0a2
Author: Ole Hansen <ole@jlab.org>
Date: Wed May 25 20:58:58 2011 +0000
Bugfixes to evOpen:
- Fix incorrect free() if leading whitespace was trimmed from file name.
- Correctly handle file names with embedded whitespace
21 9 hana_decode/evio.C
commit ac9152f107ccca16262a219aa4a81410e05f5e4c
Author: Ole Hansen <ole@jlab.org>
Date: Thu May 12 16:42:04 2011 +0000
Make the makefile work even if ROOTSYS is not defined. All we need is root-config in our PATH.
2 1 SDK/Makefile
commit 0a5f549bfaca2b3e6045494148813d5d86707295
Author: Ole Hansen <ole@jlab.org>
Date: Thu Apr 7 02:46:59 2011 +0000
Rewrite THaEpics::LoadData() using STL. This avoids all arbitrary buffer and
string size limitations and really should be 64-bit safe now once and for all.
Also, clean up clumsy and inefficient handling of insertions into the
epicsData map.
60 86 hana_decode/THaEpics.C
5 2 hana_decode/THaEpics.h
commit 2f08cf88cdf59b2bc80b218e09ca0267e72b4c2d
Author: Ole Hansen <ole@jlab.org>
Date: Thu Apr 7 02:40:45 2011 +0000
Add warning about multiple hits on scintillator channels. The decoder is
only designed for single hit hardware.
6 0 src/THaScintillator.C
commit e730d909de1ee2ef23978b28e149edb79ad15893
Author: Ole Hansen <ole@jlab.org>
Date: Mon Mar 14 03:43:44 2011 +0000
Version is 1.5.22
1 1 Makefile
commit 87b896f7e006157d7969b6f658635adf9c1ea746
Author: Ole Hansen <ole@jlab.org>
Date: Mon Mar 14 03:38:55 2011 +0000
Change low TDC cut to 0 per request of current experiment.
These cuts REALLY should be in a database.
1 1 src/THaDecData.C
commit 0454724413a6ebf43482786a169a8b737d45aba1
Author: Ole Hansen <ole@jlab.org>
Date: Mon Mar 14 03:32:01 2011 +0000
Fix a dumb beginner's bug that caused all except for the first track in the
track array to be assigned incorrect vertex data.
1 1 src/THaReactionPoint.C
commit 81c963962562fb53728edf4e9d1037caa87f1a88
Author: Ole Hansen <ole@jlab.org>
Date: Wed Feb 16 14:57:44 2011 +0000
Version is 1.5.21
Add initial version of THaQWEAKHelicity class from Julie Roche.
This code is somewhat preliminary. Among other things, the database reader is
not yet implemented and parameters are hardcoded.
3 2 Makefile
3 0 src/HallA_LinkDef.h
575 0 src/THaQWEAKHelicity.C
91 0 src/THaQWEAKHelicity.h
326 0 src/THaQWEAKHelicityReader.C
96 0 src/THaQWEAKHelicityReader.h
create mode 100644 src/THaQWEAKHelicity.C
create mode 100644 src/THaQWEAKHelicity.h
create mode 100644 src/THaQWEAKHelicityReader.C
create mode 100644 src/THaQWEAKHelicityReader.h
commit f6a484e482ba560af803a83f2d295ec35bad87df
Author: Ole Hansen <ole@jlab.org>
Date: Tue Feb 15 20:39:31 2011 +0000
Version is 1.5.20
1 1 Makefile
commit c60eb6b66259a279717fa78f746d25357579bedf
Author: Ole Hansen <ole@jlab.org>
Date: Tue Feb 15 20:33:46 2011 +0000
Add and/or update several comments.
Slight code cleanup. No change in functionality.
58 51 src/THaDecData.C
commit 8bd968740c724244e201de814536be4e3fa44a54
Author: Ole Hansen <ole@jlab.org>
Date: Wed Feb 9 19:41:23 2011 +0000
Increase maximum size of a single database key/value line (including
continuation lines) from 16 kiB to 1 MiB.
3 2 src/THaAnalysisObject.C
commit fa34abf39f7b5d3d81d37efe5481e95dbc997b07
Author: Ole Hansen <ole@jlab.org>
Date: Sat Jan 29 14:54:23 2011 +0000
Add CAEN 1190 module (from Larry Selvy)
370 369 src/THaDetMap.C
commit 0c9389a02a644da9e1d701b64fb22b744eabd956
Author: Ole Hansen <ole@jlab.org>
Date: Thu Jan 27 05:43:07 2011 +0000
Version is 1.5.18
1 1 Makefile
commit 793804a17e8e6a60850efe70be12b4007e7ec5cb
Author: Ole Hansen <ole@jlab.org>
Date: Thu Jan 27 05:42:44 2011 +0000
Add support for decoding CAEN 1190 (from Larry Selvy)
56 0 hana_decode/THaCodaDecoder.C
1 0 hana_decode/THaCrateMap.C
commit 523f90dc06f8f8701161bceb16420ffdb38efb55
Author: Ole Hansen <ole@jlab.org>
Date: Mon Dec 20 18:49:18 2010 +0000
Version is 1.5.17
1 1 Makefile
commit eee61cd15704999baea0bbaf82fadfc7fefc3799
Author: Ole Hansen <ole@jlab.org>
Date: Mon Dec 20 18:48:22 2010 +0000
Correct wording in database error message
1 1 src/THaSpectrometer.C
commit edea000918fd4a6898c40750173daab7eb9fa225
Author: Ole Hansen <ole@jlab.org>
Date: Mon Dec 20 18:47:48 2010 +0000
Prevent unnecessary reading of one additional event if event count limit reached
1 2 src/THaAnalyzer.C
commit 71e9041f18591e315d691cb445eeebc9220c38cb
Author: Ole Hansen <ole@jlab.org>
Date: Mon Dec 6 23:15:19 2010 +0000
Version is 1.5.16
1 9 Makefile
commit 2ce047bd9701c23a3e30a434d1281b5dd5173c41
Author: Bob Michaels <rom@jlab.org>
Date: Fri Oct 8 13:41:52 2010 +0000
remove type casts to unsigned long that had caused problems on 64-bit machines. This now compiles without warning and runs identically on 64-bit and 32-bit
3 3 hana_scaler/THaScaler.C
2 1 hana_scaler/THaScaler.h
commit eb32cb5bd32525673095fe2038282f5100925916
Author: Ole Hansen <ole@jlab.org>
Date: Wed Oct 6 18:42:45 2010 +0000
Bob's patched version to prevent EPICS truncation.
13 1 hana_decode/THaEpics.C
commit bd730471bcada4ea012607dfe6e193f28b64d824
Author: Ole Hansen <ole@jlab.org>
Date: Wed Oct 6 18:41:47 2010 +0000
Version is 1.5.15
3 2 Makefile
commit 5abfd948c9426aad81b25eb58874a6a3e1036ba6
Author: Ole Hansen <ole@jlab.org>
Date: Mon Oct 4 14:18:22 2010 +0000
Patch to allow a variable number of detector map lines in the database.
8 6 src/THaVDCPlane.C
commit 91b5f763bbee35d9270c1d9467d54e2c3e1f9db7
Author: Ole Hansen <ole@jlab.org>
Date: Thu Aug 26 20:05:23 2010 +0000
Simplify SetCrateMapFileName according to the improved logic in
THaAnalysisObject. Basically, don't let the function interfere with the user
input.
Bugfix: Ensure run object is written to the output ROOT file, not the
current directory, which may be wrong if the input comes from a ROOT file, too.
7 18 src/THaAnalyzer.C
commit 2c02c4e0de4081c9178c344418d636ba7ecb1936
Author: Ole Hansen <ole@jlab.org>
Date: Thu Aug 26 19:59:15 2010 +0000
Extend file name logic of OpenFile(). If the file name contains a
directory separator (/ on Unix), assume that it is a verbatim database
file name. For example, on Unix,
OpenFile("DB/APP.det.txt",...)
will try to open ./DB/APP.det.txt, and only that. No time-dependent database
directories will be searched, and $DB_DIR will be ignored.
Also, if the database name already starts with "db_" or ends with ".dat",
respectively, this prefix/suffix is not added again. For example, all of these
OpenFile("db_cratemap.dat" ,...)
OpenFile("cratemap", ...)
OpenFile("db_cratemap", ...)
OpenFile("cratemap.dat")
will try to open "db_cratemap.dat" in the best-matching time-stamped database
directory according to the usual search rules.
41 17 src/THaAnalysisObject.C
commit d036e108efdad3290f7c26dd6c01da7e75e4b381
Author: Ole Hansen <ole@jlab.org>
Date: Sat Aug 21 05:14:11 2010 +0000
Add support for "text variables" in output and cut definition files as well
as in database files. Text variables are managed via the new global gHaTextvars,
which points to an instance of THaTextvars. Variables can be referred to
by ${name} in an input file, and ${name} is then automatically replaced
by its value(s). Text variables can be multi-valued in output and cut
definition files, but not in database files. Examples:
gHaTextvars->Add("arm","L,R");
replay.odef:
${arm}.vdc.u1.wire => L.vdc.u1.wire, R.vdc.u1.wire
gHaTextvars->Add("BigBite","B")
db_B.mwdc.dat:
${BigBite}.mwdc.planeconfig => B.mwdc.planeconfig
This facility should make it much easier to manage replay scripts.
2 2 Makefile
2 0 src/HallA_LinkDef.h
96 63 src/THaAnalysisObject.C
59 70 src/THaCutList.C
1 0 src/THaGlobals.h
13 9 src/THaInterface.C
64 53 src/THaOutput.C
6 17 src/THaOutput.h
303 0 src/THaTextvars.C
50 0 src/THaTextvars.h
create mode 100644 src/THaTextvars.C
create mode 100644 src/THaTextvars.h
commit 66431b6bf80cd31858b88ceb50c0b663931ea0d9
Author: Ole Hansen <ole@jlab.org>
Date: Thu Aug 19 03:23:49 2010 +0000
Change $(ROOTSYS)/bin to $(ROOTBIN). $ROOTSYS is deprecated.
5 9 Makefile
2 1 hana_decode/Makefile
2 1 hana_scaler/Makefile
commit 9c18a6ac0ef750b3bf9bd02edb53a1d5c4ff03a2
Author: Ole Hansen <ole@jlab.org>
Date: Wed Aug 18 20:29:10 2010 +0000
Fix bugfix from APEX version: reset static fgNeedInit in destructor.
(Ensures decoder re-init if a previous decoder instance already ran.)
Can't implement real fix now because it would not be binary compatible.
2 0 hana_decode/THaEvData.C
commit dc2169e0c00a7fa38938897a36a970b307e4b88e
Author: Ole Hansen <ole@jlab.org>
Date: Wed Aug 18 20:16:23 2010 +0000
Merge bugfixes from APEX version:
- don't crash in destructor if histograms no longer exist (e.g. when ROOT
file has been closed)
- fix bug in array index calculation if a "word" variable was defined for
data that is not actually present in the data stream.
- code cleanup, added comments
This entire module should be seriously rewritten.
86 29 src/THaDecData.C
commit 98890862b25d02ba33f4cc55b37f3d9993b24efa
Author: Ole Hansen <ole@jlab.org>
Date: Tue Apr 20 18:23:59 2010 +0000
Catch expections from ReadDatabase() call. Right now, only std::bad_alloc
gets its own error message, everything else has just a generic message.
Perhaps we should handle division by zero and similar that are not too
unlikely to happen.
20 7 src/THaAnalysisObject.C
commit 3c0e61fe925b217bfe37e4478634f860b6c54a14
Author: Ole Hansen <ole@jlab.org>
Date: Wed Apr 7 15:30:00 2010 +0000
Version is 1.5.13
1 1 Makefile
commit a75e1898c471ed43b36279b3ff1ce912fdbb926e
Author: Ole Hansen <ole@jlab.org>
Date: Wed Apr 7 15:28:35 2010 +0000
Improved diagnostic messages for CAEN 550 module (VME FADC).
17 12 hana_decode/THaCodaDecoder.C
commit eccd4bba6b7b9b97ee98c9e725528b78ebb872f7
Author: Ole Hansen <ole@jlab.org>
Date: Tue Mar 30 20:47:29 2010 +0000
Don't line IsTag() function. gcc 4.1 seems to have problems with it.
0 1 src/THaAnalysisObject.C
commit df1fe42387d20cafe16dc592de97a71253855adc
Author: Ole Hansen <ole@jlab.org>
Date: Thu Mar 25 20:10:12 2010 +0000
Make search for the header of the plane-specific data in the database (e.g.
[ R.vdc.u1 ] ) case-sensitive, consistent with the rest of the database system.
2 4 src/THaVDCPlane.C
commit 8b13ae324626f81bbd9ef4dd3f55b5a0a09b0b24
Author: Ole Hansen <ole@jlab.org>
Date: Thu Mar 25 20:08:35 2010 +0000
Make search for matrix element section header [ <prefix>.global ]
case-sensitive, consistent with the rest of the database system.
In THaVDC, print warning if a particular configuration is requested
(fConfig != "") but not found, and load the first found section as default.
Also, load the first section even if it starts with a config header and
no particular configuration was requested. (Previously, if fConfig == "",
nothing would get loaded if the first section started with a tag.)
Example in db_L.vdc.dat:
[ L.global ]
some numbers that are now completely ignored no matter what the comment says
[ config=highmom ]
comment line describing the matrix elements, ignored
t 0 0 0 -1.000 0.05 0.0002 0.000 etc...
This section will now be loaded if fConfig == "" or fConfig == "highmom".
19 10 src/THaVDC.C
commit cab06ef2b020e355d476d9ae21b7a9d657f58f71
Author: Ole Hansen <ole@jlab.org>
Date: Thu Mar 25 19:48:57 2010 +0000
If configuration explicitly set with SetConfig(), let this value override
the settings in the run database. This behavior is consistent with the rest of
the analyzer - the assumption being that anything set explicitly in a
script is usually what one really wants, no matter the database.
(Though this could backfire if someone "forgets" a Set command in a script.)
12 3 src/THaAnalysisObject.C
1 1 src/THaAnalysisObject.h
commit c98b9ddbf8dafee33f1a0d9f46cd51f043d53bba
Author: Ole Hansen <ole@jlab.org>
Date: Thu Mar 25 19:10:11 2010 +0000
Make static function IsTag() visible as a member function and change it to
match database tags consistent with the way SeekDBdate and SeekDBconfig work,
i.e. match regexp (.*\[.+\].*).
18 14 src/THaAnalysisObject.C
1 0 src/THaAnalysisObject.h
commit bdc1c2e228542a3f3ab069eb8518084ce24b818e
Author: Ole Hansen <ole@jlab.org>
Date: Thu Mar 25 17:25:20 2010 +0000
- Allow empty RHS for database key = value lines. This allows setting
strings to empty. This may be useful by iteself, but is also really
needed if one wants to use a special detector "config" definition only
for some time periods and then revert to config = "" later.
- Reset fConfig = "" in ReadRunDatabase if key not found.
Previously, fConfig would remain unchanged, which was wrong The rule is that
optional database values are set to their default ("" here) if no key found.
- Fix various erroneous comments.
8 10 src/THaAnalysisObject.C
commit 2665465cfc6aca61364489db838a1d641c57334a
Author: Ole Hansen <ole@jlab.org>
Date: Thu Mar 25 03:54:17 2010 +0000
Patches to allow VDC class to be used standalone, i.e. even if not part
of a spectrometer. (Still chasing Rob Feuerbach's ghosts.)
4 1 src/THaVDC.C
8 9 src/THaVDCPlane.C
commit cf460a720232dc20d01f95d500c4e735242e7d2d
Author: Ole Hansen <ole@jlab.org>
Date: Fri Mar 12 21:09:59 2010 +0000
Fix var_type_name[] definition and GetTypeName() function - update was
apparently forgotten when more data types were added in VarType.h.
10 3 src/THaVar.C
commit a40ee03a5e536d685358156a1380830fafc945ad
Author: Ole Hansen <ole@jlab.org>
Date: Sat Dec 12 00:35:36 2009 +0000
Minor corrections (title, wording). Added link to v14 release notes.
6 5 docs/RELEASE_NOTES.html
commit 8bed2e217fb7ced8bbd0f90130ab377f2b4c625f
Author: Ole Hansen <ole@jlab.org>
Date: Thu Dec 10 19:54:23 2009 +0000
Update to current version.
62 76 docs/RELEASE_NOTES.html
commit 1e485ce1470eb49a7f7b5aac41b50c0204289a2b
Author: Ole Hansen <ole@jlab.org>
Date: Sun Nov 8 02:21:22 2009 +0000
Remove inline qualifier from GetTrSorting() function, otherwise it won't link
into the dictionary.
0 1 src/THaHRS.C
commit 57a12f7de0707d8a9d8d8e5653665c8ba3f602ec
Author: Ole Hansen <ole@jlab.org>
Date: Sat Nov 7 22:03:01 2009 +0000
New well-optimized VDC reconstruction databases from Ge Jin/Doug Higinbotham.
630 0 DB/20090101/db_L.vdc.dat
674 0 DB/20090101/db_R.vdc.dat
create mode 100644 DB/20090101/db_L.vdc.dat
create mode 100644 DB/20090101/db_R.vdc.dat
commit 5c04fe484fef910932bc0f71c29954bd503ead6e
Author: Ole Hansen <ole@jlab.org>
Date: Mon Oct 5 21:38:25 2009 +0000
Version is 1.5.12
1 1 Makefile
commit d42a665aeea63da8f0446fec35007d57bbbee330
Author: Ole Hansen <ole@jlab.org>
Date: Mon Oct 5 21:22:59 2009 +0000
From Jin Huang: Add option to sort tracks by chi2/dof. This feature can
be enabled with SetTrSorting(kTRUE). It is likely to cause a (minor)
performance hit, but gives a well-defined GoldenTrack.
36 2 src/THaHRS.C
7 1 src/THaHRS.h
commit 58cb98c91147308b1b840bebb1ce346c53bd0b81
Author: Ole Hansen <ole@jlab.org>
Date: Mon Oct 5 20:53:50 2009 +0000
From Jin Huang: Make tracks sortable by their (externally calculated) Chi2/dof.
This change is not strictly binary-compatible, but it seems to me it is not
going to break anything: old clients will just continue to see non-sortable
tracks.
26 0 src/THaTrack.C
3 0 src/THaTrack.h
commit 3ad1cb8bdefa1e0d30ded3778ec1d95513ca8f40
Author: Ole Hansen <ole@jlab.org>
Date: Wed Sep 9 19:17:20 2009 +0000
From Jin Huang <jinhuang@jlab.org>: Allow more than one "module"
in the detector map.
7 1 src/THaRaster.C
commit c2988c59fc26cef796682d2281c50b72d6835f28
Author: Ole Hansen <ole@jlab.org>
Date: Tue May 5 17:17:48 2009 +0000
Version is 1.5.11
1 1 Makefile
commit 53a31b831bf3f03da2028109a1eb551a8e1eadea
Author: Ole Hansen <ole@jlab.org>
Date: Tue May 5 17:17:19 2009 +0000
Restore forgotten instantiation of default crate map "cmap" in constructor.
3 1 hana_decode/THaEvData.C
commit 0cc87f37a633f4d07828dec1f35a34dad24862f6
Author: Ole Hansen <ole@jlab.org>
Date: Tue May 5 03:29:54 2009 +0000
Fix typos in comments
3 3 hana_decode/Makefile
commit f5317b2536c5806551e753ef7ff8d32662354002
Author: Ole Hansen <ole@jlab.org>
Date: Tue May 5 03:29:28 2009 +0000
Two new still somewhat experimental features:
- Implement a new function THaAnalyzer::SetCrateMapFileName( const char* )
to allow replay scripts to set the crate map database file name on the
fly. In this way, multiple hardware configurations can be supported.
For binary compatibility, this is currently implemented using
static variables in THaEvData. Maybe this solution is fine in the end since
one would usually want decoders in the same replay to use the same crate map.
- Extend the range of error status codes from the decoder routines.
Instead of just OK/ERR, there can now be return codes of OK/WARN/ERR/FATAL,
where (you guessed it) FATAL will cause the analysis to abort immediately,
while WARN (and currently also ERR) will cause the analysis to continue
and just to ignore the current event.
I still need to test the production replay with this new code before I install
it in the counting house.
109 96 hana_decode/THaCodaDecoder.C
5 8 hana_decode/THaCodaDecoder.h
27 8 hana_decode/THaCrateMap.C
4 1 hana_decode/THaCrateMap.h
29 6 hana_decode/THaEvData.C
13 7 hana_decode/THaEvData.h
3 3 hana_decode/THaSlotData.C
1 0 hana_decode/THaSlotData.h
37 3 src/THaAnalyzer.C
3 7 src/THaAnalyzer.h
9 2 src/THaRun.C
commit c1e995cbd572a65da8689ab859878cdfc3eb2f4f
Author: Ole Hansen <ole@jlab.org>
Date: Mon May 4 15:56:49 2009 +0000
Version is 1.5.10
1 1 Makefile
commit c0440abd6daf8929f63727244596cbb7099538af
Author: Ole Hansen <ole@jlab.org>
Date: Mon May 4 15:13:36 2009 +0000
Fix transposed u2/v1 plane labels for VDC histograms.
4 4 src/THaDecData.C
commit d6d70351af3ced903581960e93d3394560421f35
Author: Ole Hansen <ole@jlab.org>
Date: Wed Feb 18 21:11:33 2009 +0000
Version is 1.5.9
1 1 Makefile
commit 34d3e2f07e770bc44c677013b264548cc7aeb2eb
Author: Ole Hansen <ole@jlab.org>
Date: Wed Feb 18 20:29:32 2009 +0000
1) Add support for the JLab 250MHz Flash ADC in "Window Raw Data" mode.
Example cratemap entry for this module (ROC=16, slot=4):
==== Crate 16 type vme
# slot model clear header mask nchan ndata
4 250 1 0x81000000 0xffc00000 16 2048
The header is 0x80000000 | (slot<<22). With ndata=2048, up to 2048/16=128
samples per channel can be read. If more samples are needed, increase ndata.
2) Speed up the outer loops in vme_decode. Only loop as many times as
needed, given the parameters from the crate map.
3) Fix a bug in physics decode where evbuffer[3] was incorrectly taken
to hold the event type. Add several checks for correct event header
signature bits, but comment them out for now to prevent any effects on
the ongoing production replay.
295 105 hana_decode/THaCodaDecoder.C
commit 0047da94592796584345f175a372181021710c0b
Author: Ole Hansen <ole@jlab.org>
Date: Mon Feb 16 18:11:31 2009 +0000
Version is 1.5.8
1 1 Makefile
commit 9cebfd99e0f6551487bd0b9f8a0a20d2074077ad
Author: Ole Hansen <ole@jlab.org>
Date: Mon Feb 16 18:08:41 2009 +0000
Turn on decoder VERBOSE messages for verbosity>=3.
Turn on decoder DEBUG messages for verbosity>=4.
Add function GetDecoder() to allow user access to decoder class.
3 0 src/THaAnalyzer.C
1 0 src/THaAnalyzer.h
commit 25b0239b42e13b3d213fbc7f0b8020ebfdf16244
Author: Ole Hansen <ole@jlab.org>
Date: Mon Feb 16 18:06:22 2009 +0000
Add methods SetVerbose(), SetDebug(), and EnableBenchmarks() to decoder.
These replace the hardcoded #defines VERBOSE, DEBUG, and BENCH, so verbose
reporting etc can now be turned on dynamically by user scripts.
44 46 hana_decode/THaCodaDecoder.C
31 15 hana_decode/THaEvData.C
11 2 hana_decode/THaEvData.h
commit f9935f939a52ebdc94683e7800c495b07ea9ce6c
Author: Ole Hansen <ole@jlab.org>
Date: Thu Jan 22 15:42:45 2009 +0000
(From Bryan Moffit) Improve warning messages for F1 TDCs.
17 14 hana_decode/THaCodaDecoder.C
commit 4681fa1d6d16c79ff5eb1d2212e30aa2c95e1f0c
Author: Ole Hansen <ole@jlab.org>
Date: Tue Jan 6 20:12:18 2009 +0000
Add support for large input files (>2GB).
Without additional modifications, the evio code now supports files up
to blocksize * 2GB in size. The default CODA blocksize is 16k, but may
be different depending on how the file was written. This should be
tested further. Also, how does this mesh with newer CODA?
4 3 Makefile
4 3 SDK/Makefile
4 3 hana_decode/Makefile
39 31 hana_decode/evio.C
3 2 hana_scaler/Makefile
9 9 src/THaAnalysisObject.C
commit a239fcbfafe8f2bdd3afa530b37449d8499a436d
Author: Ole Hansen <ole@jlab.org>
Date: Tue Jan 6 19:50:08 2009 +0000
Separate compiler flags for C++ and plain C compilation (merge from 1.4 branch)
This fixes spurious compilation warnings about unsupported compiler options
when compiling C files.
6 4 Makefile
8 5 hana_decode/Makefile
3 2 hana_scaler/Makefile
commit f31431caa24d582ba9dbb9daeb5af2d3ded0df22
Author: Ole Hansen <ole@jlab.org>
Date: Tue Jan 6 19:37:25 2009 +0000
Version is 1.5.6
2 2 Makefile
commit 1f61877c8fd0d35c596e6b02df36848d957d5cef
Author: Ole Hansen <ole@jlab.org>
Date: Mon Dec 8 15:49:17 2008 +0000
Let Update() get the beam momentum and polarization from gHaRun, not
fRunParam. This is a bit of a quick & dirty fix for a problem we sometimes
see with split runs where the fRunParam object of the beam class seems to
become invalid for the continuation segments. This fix provides the
exact same functionality, but the information will be retrieved as
intended even if THaBeam is not re-initialized at the start of a segment.
13 0 src/THaBeam.C
1 4 src/THaBeam.h
commit 294f3e5d8d5d186067d430a638ccca638293997c
Author: Bob Michaels <rom@jlab.org>
Date: Fri Dec 5 20:58:27 2008 +0000
Fix bug in getting time diff (need helicity as arg instead of clkslot in this particular location)
5 3 hana_scaler/THaScaler.C
commit c2a0c50bf4e861252039be240d675fc830f8ebd6
Author: Ole Hansen <ole@jlab.org>
Date: Tue Dec 2 18:12:16 2008 +0000
Add missing #includes for ROOT 5.20 to SDK example files
1 0 SDK/UserApparatus.cxx
1 0 SDK/UserScintillator.cxx
commit cbd29539527764498dae6b33691fe0f6a8ce8db8
Author: Ole Hansen <ole@jlab.org>
Date: Tue Nov 18 16:59:29 2008 +0000
Fix gcc 4.3 compilation warnings (unused parameters, empty loop bodies etc.)
1 1 hana_scaler/THaScaler.h
1 0 hana_scaler/THaScalerDB.h
6 6 src/THaAnalysisObject.C
3 3 src/THaAnalyzer.C
1 1 src/THaArrayString.C
1 1 src/THaAvgVertex.C
1 1 src/THaBeamEloss.C
2 2 src/THaCluster.C
1 2 src/THaCluster.h
1 1 src/THaCoincTime.C
3 3 src/THaCutList.C
3 2 src/THaDebugModule.C
7 6 src/THaDecData.C
1 1 src/THaDetMap.C
2 2 src/THaEvent.C
1 1 src/THaExtTarCor.C
3 3 src/THaFilter.C
1 1 src/THaFormula.C
6 4 src/THaFormula.h
2 2 src/THaG0Helicity.C
2 1 src/THaG0HelicityReader.C
1 1 src/THaGoldenTrack.C
23 14 src/THaNormAna.C
3 0 src/THaNormAna.h
3 3 src/THaOutput.h
2 2 src/THaPIDinfo.C
1 1 src/THaPhotoReaction.C
1 1 src/THaPrimaryKine.C
1 1 src/THaRTTI.C
1 1 src/THaReacPointFoil.C
1 1 src/THaReactionPoint.C
3 2 src/THaRunParameters.C
1 1 src/THaSAProtonEP.C
19 19 src/THaScintillator.C
1 1 src/THaSecondaryKine.C
2 2 src/THaShower.C
1 1 src/THaTrackEloss.C
2 2 src/THaTrackOut.C
2 2 src/THaTriggerTime.C
1 1 src/THaTwoarmVertex.C
2 2 src/THaVDC.C
0 4 src/THaVDCAnalyticTTDConv.h
4 3 src/THaVDCCluster.C
3 2 src/THaVDCCluster.h
3 2 src/THaVDCHit.h
1 1 src/THaVDCPlane.C
3 4 src/THaVDCTimeToDistConv.h
1 1 src/THaVDCTrackID.C
1 1 src/THaVDCTrackPair.C
1 1 src/THaVDCTrackPair.h
3 2 src/THaVDCUVTrack.h
1 1 src/THaVarList.C
commit b28f35a9257903f9add53018f43b2caccdbb2416
Author: Ole Hansen <ole@jlab.org>
Date: Tue Nov 18 14:54:19 2008 +0000
Comment out ONLINE_ET, checked in by mistake from online cluster.
1 1 Makefile
commit cbd01e6b94848c6f63cf5a5b08be0680fcb8845e
Author: Ole Hansen <ole@jlab.org>
Date: Fri Oct 31 16:08:26 2008 +0000
Version is 1.5.5
27 13 Makefile
commit b2486b7dd32732c9d0a59b1b3de04115621ade9d
Author: Ole Hansen <ole@jlab.org>
Date: Fri Oct 31 16:05:37 2008 +0000
Back out of previous change (make EvalBlock(const TList*) static to
preserve binary compatibility in Release 1.5. Postpone the change until
Release 1.6, when it is needed for new ThaAnalyzer.
3 1 src/THaCutList.h
commit 0568faf132976a160e816b917715fbf8dc3f4cce
Author: Bob Michaels <rom@jlab.org>
Date: Fri Oct 24 17:02:56 2008 +0000