forked from SND-LHC/fedra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevelopment_notes.txt
More file actions
7030 lines (4509 loc) · 265 KB
/
development_notes.txt
File metadata and controls
7030 lines (4509 loc) · 265 KB
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
the contents of this file is moved to this page:
http://emulsion.na.infn.it/wiki/index.php/FEDRA_development_notes
------------------------------------------------------------------------
r1284 | ariga | 2012-08-01 22:03:02 +0200 (Mit, 01. Aug 2012) | 2 Zeilen
global variable gStage added.
------------------------------------------------------------------------
r1283 | ariga | 2012-07-24 23:54:25 +0200 (Die, 24. Jul 2012) | 4 Zeilen
libACQ compilation problem in StdAfx.h is fixed. this problem was observed at least with Vidual Studio 2008. now, the solution is tested only VS2008 (hopefully this should work also for VS2010).
if you find a problem, please let me know. Aki
------------------------------------------------------------------------
r1282 | ariga | 2012-07-22 16:46:46 +0200 (Son, 22. Jul 2012) | 1 Zeile
Add a function to read DAC value for Light level.
------------------------------------------------------------------------
r1281 | meisel | 2012-07-21 19:50:28 +0200 (Sam, 21. Jul 2012) | 5 Zeilen
Inclusion of the Xi2Hat-Background-Reduction-Algorithm.
Performance of this algo is now being tested...
------------------------------------------------------------------------
r1280 | meisel | 2012-07-21 15:59:39 +0200 (Sam, 21. Jul 2012) | 3 Zeilen
Modifications to include the newer Background Reduction Algorithms better...
------------------------------------------------------------------------
r1279 | brunet | 2012-07-13 16:59:09 +0200 (Fre, 13. Jul 2012) | 1 Zeile
Several fixes into the libShower concerning energy estimation, plate numbering and plate thickness
------------------------------------------------------------------------
r1278 | russand | 2012-07-06 15:12:17 +0200 (Fre, 06. Jul 2012) | 2 Zeilen
new methods to simulate DS are added.
------------------------------------------------------------------------
r1277 | russand | 2012-07-06 15:11:48 +0200 (Fre, 06. Jul 2012) | 1 Zeile
------------------------------------------------------------------------
r1276 | valeri | 2012-07-02 15:21:37 +0200 (Mon, 02. Jul 2012) | 1 Zeile
cosmetic modifications to fix compilation warnings
------------------------------------------------------------------------
r1275 | valeri | 2012-06-29 20:20:14 +0200 (Fre, 29. Jun 2012) | 3 Zeilen
- fix memory leak in rwcToEdb and accelerate it
------------------------------------------------------------------------
r1274 | valeri | 2012-06-01 12:34:23 +0200 (Fre, 01. Jun 2012) | 1 Zeile
minor fix
------------------------------------------------------------------------
r1273 | valeri | 2012-05-30 17:36:35 +0200 (Mit, 30. Mai 2012) | 2 Zeilen
new class EdbVertexComb
------------------------------------------------------------------------
r1272 | meisel | 2012-04-18 08:58:21 +0200 (Mit, 18. Apr 2012) | 44 Zeilen
Implementation of new Background Cleaning Function!
It does it not only on global scale, but rather in angular space bins of the segments.
---------------------------------------------------------------------------------------
Basically it works like this:
* Calculates BaseTrackDensity for 10 different TanTheta Bins (width=0.1; TT=[0..1]).
* Adapts the Quality Cut for the Segments, according to waht angular bin the belong to.
* Creates a new EdbPVRec Object out of this.
HowTo Do This?
// Get Your Volume
TFile* f = new TFile("ScanVolume_Ali.root","READ");
EdbPVRec* ali = (EdbPVRec*)f->Get("EdbPVRec");
// Create Your Cleaning Instance
EdbPVRQuality* qc = new EdbPVRQuality(ali);
// Start Cleaning in Angular Bins now (NEW!)
qc->Execute_ConstantBTDensityInAngularBins();
// Create with the cuts obtained now the new volume.
qc->CreateEdbPVRec();
// Get the new Volume back.
ali2=qc->GetEdbPVRec(1);
// Create a new Cleaning Instance and see new values of new volume
EdbPVRQuality* ww = new EdbPVRQuality(ali2);
---------------------------------------------------------------------------------------
There are though some TODO points:
* Code Cleaning, rm unnecesary output, write output more clearly.
* Test on various data samples. ( My Test were done on some generic BGs).
* Find a better equalization function for the angular distribution - large angles are by now
not yet cut enough.
* Find Bugs and Fix them.
------------------------------------------------------------------------
r1271 | meisel | 2012-04-17 14:06:37 +0200 (Die, 17. Apr 2012) | 14 Zeilen
new version
to be explained later....
------------------------------------------------------------------------
r1270 | meisel | 2012-04-14 14:10:25 +0200 (Sam, 14. Apr 2012) | 2 Zeilen
exhcange only
------------------------------------------------------------------------
r1269 | valeri | 2012-04-13 17:45:29 +0200 (Fre, 13. Apr 2012) | 2 Zeilen
corrected volume propagation to basetracks
------------------------------------------------------------------------
r1268 | valeri | 2012-04-13 12:43:26 +0200 (Fre, 13. Apr 2012) | 4 Zeilen
modify libVt++ makefile (linux) making it more close to fedra standard to
avoid stochastic compilation problems with new gcc versions - to be tested in
various envirenment
------------------------------------------------------------------------
r1267 | meisel | 2012-04-13 08:11:16 +0200 (Fre, 13. Apr 2012) | 9 Zeilen
Code Exchange
(
First Update for Basetrack density calculation also in theta space.
BT density corection is not yet fully correct, and nice comments and cleanings have to be put in.
)
------------------------------------------------------------------------
r1266 | valeri | 2012-04-11 15:07:06 +0200 (Mit, 11. Apr 2012) | 6 Zeilen
Minor improvements:
- correctly propagate Volume and eSigmaX values from EdbSegment(raw) to EdbSegP (couples)
- add a debug option in DoubletsFilterOut
- update of default parameters for linking
------------------------------------------------------------------------
r1265 | valeri | 2012-04-11 10:18:22 +0200 (Mit, 11. Apr 2012) | 1 Zeile
new gcc compilation issue
------------------------------------------------------------------------
r1264 | meisel | 2012-04-07 13:43:08 +0200 (Sam, 07. Apr 2012) | 3 Zeilen
code exchange
------------------------------------------------------------------------
r1263 | andrey | 2012-03-25 00:20:31 +0100 (Son, 25. Mär 2012) | 1 Zeile
added makefile for windows
------------------------------------------------------------------------
r1262 | valeri | 2012-03-16 18:30:08 +0100 (Fre, 16. Mär 2012) | 1 Zeile
increase raw data file size limit from 15 to 32 Gb
------------------------------------------------------------------------
r1261 | valeri | 2012-03-12 17:14:31 +0100 (Mon, 12. Mär 2012) | 7 Zeilen
add new card to correct pixel/micron ratio in linking phase in link.rootrc:
fedra.link.PixelCorr: 0 1. 1.
If the first parameter is 1 the correction factors will be applied to x and y of
segments in view RS while reading from raw data.
This option may help to process data with badly setted pix/mic without rescan.
------------------------------------------------------------------------
r1260 | valeri | 2012-03-05 16:58:03 +0100 (Mon, 05. Mär 2012) | 1 Zeile
Windows compilation issues
------------------------------------------------------------------------
r1259 | dominique | 2012-03-01 15:29:56 +0100 (Don, 01. Mär 2012) | 5 Zeilen
-D.D. modify the error parameterisation of the angular method to match the NJP
publication
- correct a small error in the fit range which occurs for very short tracks
------------------------------------------------------------------------
r1258 | dominique | 2012-03-01 14:53:35 +0100 (Don, 01. Mär 2012) | 1 Zeile
svn access test
------------------------------------------------------------------------
r1257 | meisel | 2012-02-29 21:18:50 +0100 (Mit, 29. Feb 2012) | 5 Zeilen
Correct small bug which is already resolved in ShowRec and libShowRec but not in the official reco:
Do not skip basetracks in the ConeTube Function if they have same Z position, but rather take them.
------------------------------------------------------------------------
r1256 | ariga | 2012-02-27 11:24:01 +0100 (Mon, 27. Feb 2012) | 5 Zeilen
Number of letters for each line in par file is increased (256->512)
some time, we need a long line for quality cuts.
Aki
------------------------------------------------------------------------
r1255 | ariga | 2012-02-27 10:17:03 +0100 (Mon, 27. Feb 2012) | 2 Zeilen
a minor modification...
------------------------------------------------------------------------
r1254 | ariga | 2012-02-27 09:48:04 +0100 (Mon, 27. Feb 2012) | 7 Zeilen
ShowerRec modification
- to save the showers reconstructed even as single segment.
- bigger tolerance for Z difference from 1300 microns.
Aki
------------------------------------------------------------------------
r1253 | valeri | 2012-02-24 18:31:45 +0100 (Fre, 24. Feb 2012) | 2 Zeilen
Add scale arrows on the deformations map
------------------------------------------------------------------------
r1252 | valeri | 2012-02-16 15:56:53 +0100 (Don, 16. Feb 2012) | 1 Zeile
Bug fixed in DoubletsFilterOut function: it was possible that also good combinations eliminated
------------------------------------------------------------------------
r1251 | meisel | 2012-02-15 18:41:59 +0100 (Mit, 15. Feb 2012) | 2 Zeilen
test2
------------------------------------------------------------------------
r1250 | meisel | 2012-02-15 10:55:46 +0100 (Mit, 15. Feb 2012) | 2 Zeilen
test
------------------------------------------------------------------------
r1249 | valeri | 2012-02-11 18:10:44 +0100 (Sam, 11. Feb 2012) | 1 Zeile
reduce debugging output
------------------------------------------------------------------------
r1248 | sheshuk | 2012-02-09 14:38:22 +0100 (Don, 09. Feb 2012) | 3 Zeilen
minor correction
------------------------------------------------------------------------
r1247 | sheshuk | 2012-02-09 11:44:23 +0100 (Don, 09. Feb 2012) | 5 Zeilen
Added EdbDataStore class:
a container for segment patterns, geometry,
tracks and vertices.
------------------------------------------------------------------------
r1246 | valeri | 2012-02-08 18:17:26 +0100 (Mit, 08. Feb 2012) | 3 Zeilen
small corrections in scripts
------------------------------------------------------------------------
r1245 | valeri | 2012-02-08 18:14:55 +0100 (Mit, 08. Feb 2012) | 6 Zeilen
- new application "emtrackan" to read tracks, analyse them and calculate the local
corrections if necessary
- new application "empred" to produce the predictions (not finished yet)
- in emtra - option to produce erase files
------------------------------------------------------------------------
r1244 | valeri | 2012-02-08 18:02:56 +0100 (Mit, 08. Feb 2012) | 4 Zeilen
- new function: EdbScanProc::MakeEraseFile - produce id.er.root mask file
- many corrections in EdbScanProc and EdbScanTracking
------------------------------------------------------------------------
r1243 | valeri | 2012-02-08 17:48:51 +0100 (Mit, 08. Feb 2012) | 4 Zeilen
- add new class EdbCorrectionMapper to calculate local correctios
- correspondent modifications in EdbAlignmentV class
------------------------------------------------------------------------
r1242 | valeri | 2012-02-08 17:39:10 +0100 (Mit, 08. Feb 2012) | 18 Zeilen
- move EdbSegmentCut class into separated files .h .cxx
- move EdbSegCorr class into separated files .h .cxx
- in EdbLayer - add new member eMap to keep the local corrections table if any
IMPORTANT: modified EdbLayer is not backword compatible with one's written using the old version
it means that old *.set.root files should be recreated. Generally this should not be
a problem since all corrections are in aff.par files and using makescanset application
*.set.root files can be easely recreated.
- in EdbLayer new member eNcp - to keep the number of coincidences used to calculate the corrections
- new EdbCorrectionMap class to keep local corrections table
- in EdbLayer - new functions to handle the local corrections
- in EdbScanset::UpdateBrickWithP2P bug corrected - now the alignments and corrections are calculated in respect to
eReferencePlate as it's should be, before it was not the case. Note that it can change some
"usual" behavior when assemble scan set. Now the reference plate must be correctly defined.
add local corrections treatment
------------------------------------------------------------------------
r1241 | valeri | 2012-02-08 17:02:36 +0100 (Mit, 08. Feb 2012) | 4 Zeilen
- add correct propagation of EdbSegP::ScanID during reconstruction steps
- new function EdbRunAccess::GetRawSegment( int vid, int sid, int rs ) to get individual raw segment in given RS
------------------------------------------------------------------------
r1240 | valeri | 2012-02-08 16:25:18 +0100 (Mit, 08. Feb 2012) | 2 Zeilen
Add EdbVertexComb class for combinatorial vertex test (aka Bari event)
------------------------------------------------------------------------
r1239 | valeri | 2012-02-08 16:23:28 +0100 (Mit, 08. Feb 2012) | 5 Zeilen
- add EdbPattern::ScanID() access function
- split EdbVertexRec to EdbVertexPar and EdbVertexRec
- add MinDist() and Volume() functions to EdbVertex
------------------------------------------------------------------------
r1238 | valeri | 2012-02-08 16:08:24 +0100 (Mit, 08. Feb 2012) | 1 Zeile
add SetPixelSize function EdbViewMatch
------------------------------------------------------------------------
r1237 | valeri | 2012-02-08 16:03:33 +0100 (Mit, 08. Feb 2012) | 5 Zeilen
Add initialization functions to EdbAffine2D:
void Set( EdbAffine2D &a )
void Set( const char *str=0 )
------------------------------------------------------------------------
r1236 | valeri | 2012-02-08 15:59:28 +0100 (Mit, 08. Feb 2012) | 4 Zeilen
- add copy constructor and custom streamer to EdbCell2
- small corrections in other classes
------------------------------------------------------------------------
r1235 | russand | 2012-01-27 16:12:11 +0100 (Fre, 27. Jan 2012) | 1 Zeile
------------------------------------------------------------------------
r1234 | ariga | 2012-01-26 15:14:04 +0100 (Don, 26. Jan 2012) | 5 Zeilen
Modification of EdbMomentumEstimator::DrawPlots().
DrawPlots() and DrawPlots(TCanvas *) is merged. and now only DrawPlots(TCanvas *c1=NULL).
Aki
------------------------------------------------------------------------
r1233 | ariga | 2012-01-26 15:02:53 +0100 (Don, 26. Jan 2012) | 4 Zeilen
EDA Update
now you can select the method for momentum calculation (Angular/Coordinate) in plot tab.
------------------------------------------------------------------------
r1232 | russand | 2012-01-25 18:11:29 +0100 (Mit, 25. Jan 2012) | 2 Zeilen
Management of ID is improved for use in the DecaySearch algorithm.
------------------------------------------------------------------------
r1231 | sirri | 2011-12-19 18:23:56 +0100 (Mon, 19. Dez 2011) | 4 Zeilen
[Michele]
bug Fix in readCatalog function +
replacing of all sizeof() with the number of byte to be read.
------------------------------------------------------------------------
r1230 | ariga | 2011-12-16 13:09:59 +0100 (Fre, 16. Dez 2011) | 2 Zeilen
Minor update in EDA, to avoid a certain crash.
------------------------------------------------------------------------
r1229 | valeri | 2011-12-13 16:46:13 +0100 (Die, 13. Dez 2011) | 1 Zeile
fix compilation on Linux
------------------------------------------------------------------------
r1228 | sirri | 2011-12-01 17:40:00 +0100 (Don, 01. Dez 2011) | 1 Zeile
src/appl/rwcToEdb: New raw data converter (checked only for Windows 32 bit)
------------------------------------------------------------------------
r1227 | meisel | 2011-11-27 13:07:04 +0100 (Son, 27. Nov 2011) | 5 Zeilen
GS algo search finalized for Case A (vertex info available).
Numbers (in documentation on page 28) look very promising.
real data check ongoing to crosscheck cutvalues.
------------------------------------------------------------------------
r1226 | ariga | 2011-11-20 15:59:28 +0100 (Son, 20. Nov 2011) | 1 Zeile
Minor update on microtrack search implementation in EDA.
------------------------------------------------------------------------
r1225 | valeri | 2011-10-26 17:52:45 +0200 (Mit, 26. Okt 2011) | 1 Zeile
compilation issue fixed
------------------------------------------------------------------------
r1224 | valeri | 2011-10-26 16:58:25 +0200 (Mit, 26. Okt 2011) | 1 Zeile
add new tracking; many small corrections
------------------------------------------------------------------------
r1223 | valeri | 2011-10-26 16:51:53 +0200 (Mit, 26. Okt 2011) | 1 Zeile
view correction added
------------------------------------------------------------------------
r1222 | valeri | 2011-10-26 16:46:58 +0200 (Mit, 26. Okt 2011) | 1 Zeile
add mode 14 with track extrapolation line drawing
------------------------------------------------------------------------
r1221 | valeri | 2011-10-26 16:38:55 +0200 (Mit, 26. Okt 2011) | 1 Zeile
minor updates
------------------------------------------------------------------------
r1220 | valeri | 2011-10-26 10:20:58 +0200 (Mit, 26. Okt 2011) | 2 Zeilen
combinations generator added, + minor modifications
------------------------------------------------------------------------
r1219 | meisel | 2011-10-16 21:53:21 +0200 (Son, 16. Okt 2011) | 18 Zeilen
Rewritten the Reconstruction Mode. Now It works not on PID() numbers anymore,
but rather on Z-pattern steppings. This seems to be more failsafe for the
cases where Pattern->ID(),PID(), BT->PID() are all mixed up.
This can happen as I have seen it on some testsamples that were sent to me.
Try the following:
shrec = new EdbShowerRec(pvr);
shrec->SetInBTArray(pvr,0);
shrec->Execute();
shrec->PrintRecoShowerArray();
Please try it out if it works.
------------------------------------------------------------------------
r1218 | meisel | 2011-10-14 19:01:31 +0200 (Fre, 14. Okt 2011) | 74 Zeilen
First of all: eMail address change. Please write to frank.meisel@gmx.de
Finally finished the Gamma Pair Search Algorithm.
Delay for such a long time due to efficiency and speedup reasons.
A neural network cut was necessary to reduce the huge amount of fake
basetrack pairings from background.
The Algorithm works in a easy way:
// It needs an EdbPVRec* object.
// Additionally -but not necessary- an array (or one) vertex, w.r.t. which the
// basetracks should be looked at.
// If vertex array is not given, then the basetracks of the volume will be
// used to create interim helper vertices.
// Usage:
// Alg = new EdbShowerAlg_GS();
// Alg->SetEdbPVRec(EdbPVRec* pvr);
// Alg->SetInVtx(EdbVertex* vtx); // additionally...but recommended
// // since it reduces possible background
// Alg->Execute();
// TObjArray* pairs = Alg->GetRecoShowerArray();
//
// Returns the compatible Pair Segments (stored as EdbTrackP*).
==================================================================================
PLEASE TRY IT ON REAL EVENTS WHERE YOU HAVE GAMMAS ALREADY SELECTED
==================================================================================
Next steps for the library libShower are:
a) Fix the long outsolved crash issue when looping over the patterns
of a volume with reverse plate ID orderings. The problem is that
up to now the incremental plate is read by PID() and not by
absolute Z-positions.
For example, especially in the Bari test sample (b....) this is an
urgent issue.
Priority: Very High.
b) Fix internal energy calculation inconsitency:
I observe a higher energy output when running my algorithm on my
self trained data (-> came out in working session with Florian Brunet)
I do have a guess where it comes from (weightfile binning for plate
steps; shower alg with slightly different parameters used for training).
This is highest priority, cause then it will not give correct energy value
on the testsample itself. Energy estimation of nu_e and tau-> e samples
would be useless if not solved.
Priority: Very High.
c) Reduction of background density by the Quality class. The effect on the
energy is still too large to be ignored.
Priority: Middle
d) ID tagging of e/gamma separation. Since by visual
inspection basetrack pairs are looked for anyway for gamma check.
Priority: Low.
e) Porting everything new to library libShowRec.
Priority: Low.
------------------------------------------------------------------------
r1217 | meisel | 2011-10-07 16:44:51 +0200 (Fre, 07. Okt 2011) | 20 Zeilen
intermediate small update.
sorry to bother, but I need this information to debug the libShower/EdbShowerAlg-GS algo.
next steps will be: full treatement of gamma search basetrack pairs in the volume.: this will be good for basetrack pairs. coming from gamma.
it only (well, "only" is a word with many meanings...) has to be crosschecked by data.
---> frederic juget will provide me the data for this, and I will implement it.
but for now just do a print modification.
#########################################################################################
# by the way.: new eMail adress: frank.meisel@gmx.de
# (lhep wont work anymore...)
#########################################################################################
------------------------------------------------------------------------
r1216 | ariga | 2011-10-01 23:25:18 +0200 (Sam, 01. Okt 2011) | 2 Zeilen
To solve compile error of libShower under Windows.
------------------------------------------------------------------------
r1215 | meisel | 2011-09-25 19:59:16 +0200 (Son, 25. Sep 2011) | 3 Zeilen
Exchange Commit before on leave to Germany...
------------------------------------------------------------------------
r1214 | valeri | 2011-09-23 11:47:34 +0200 (Fre, 23. Sep 2011) | 1 Zeile
Add new application emcheck.cpp. This application is not completed yet, but this will solve the compilation problem of emrec applications group reported by Ariga
------------------------------------------------------------------------
r1213 | meisel | 2011-09-17 19:25:10 +0200 (Sam, 17. Sep 2011) | 4 Zeilen
Drop BT pair search over Full Volume,
it simply takes too much time in the current implementation.
------------------------------------------------------------------------
r1212 | meisel | 2011-09-12 19:43:09 +0200 (Mon, 12. Sep 2011) | 3 Zeilen
next step....
dont bother if you dont use...
------------------------------------------------------------------------
r1211 | meisel | 2011-09-11 23:17:00 +0200 (Son, 11. Sep 2011) | 3 Zeilen
Exchange commit. GS_Algo improvement is not yet fully finished, but for file transfer I have to update it via this way.
GS algo is improving adding a last cut using neural network discrimination. First results to separaete gamma pairs from fake bg look very promising, see also pages 24ff. in the manual libShowerMANUAL.odp
------------------------------------------------------------------------
r1210 | meisel | 2011-09-06 06:53:03 +0200 (Die, 06. Sep 2011) | 2 Zeilen
Exchange Commit Only
------------------------------------------------------------------------
r1209 | meisel | 2011-08-31 16:20:12 +0200 (Mit, 31. Aug 2011) | 3 Zeilen
several small updates for exchange synchronisation.
------------------------------------------------------------------------
r1208 | valeri | 2011-08-26 18:22:14 +0200 (Fre, 26. Aug 2011) | 1 Zeile
small corrections
------------------------------------------------------------------------
r1207 | valeri | 2011-08-26 18:15:38 +0200 (Fre, 26. Aug 2011) | 4 Zeilen
emvtx - new application for the fast vertex check starting from the ascii file -
mainly for the CS check. See help message for usage
small modifications in the related classes
------------------------------------------------------------------------
r1206 | valeri | 2011-08-26 17:57:17 +0200 (Fre, 26. Aug 2011) | 1 Zeile
modifications in lib functions necessary for the above committed applications
------------------------------------------------------------------------
r1205 | valeri | 2011-08-26 17:30:10 +0200 (Fre, 26. Aug 2011) | 7 Zeilen
new input parameters for the new linking ("-new") are introduced
fedra.link.read.HederCut view headers selection (for example position)
fedra.link.read.ICUT the same as ICUT in par-files
fedra.link.RemoveDoublets "yes/no dr dt checkview" remove microtracks
duplicated in the view overlap zones before linking
------------------------------------------------------------------------
r1204 | valeri | 2011-08-26 17:19:16 +0200 (Fre, 26. Aug 2011) | 7 Zeilen
in makescanset application new options introduced:
- resetaff - to reset alignment par files using the values from set.root
- resetpar - to reset shrinkage corrections using values from set.root
- reset - reset all corrections and alignment
------------------------------------------------------------------------
r1203 | meisel | 2011-08-24 19:46:00 +0200 (Mit, 24. Aug 2011) | 7 Zeilen
Improvements and rearrangements.
It is now possible to to pair search over full volume if nothing more is given.
Unfortunately, this does take _very_ long time.
It is recommended for the _GS algo that you at least give a set of tracks or vertices
to start from.
------------------------------------------------------------------------
r1202 | ariga | 2011-08-23 09:48:34 +0200 (Die, 23. Aug 2011) | 2 Zeilen
makeall.cmd, makeall.sh is modified to compile libAnalysis.
Aki
------------------------------------------------------------------------
r1201 | ariga | 2011-08-22 19:18:09 +0200 (Mon, 22. Aug 2011) | 66 Zeilen
Decay search class is added in libAnalysis.
4 classes are added.
EdbDecaySearch, which does decay search
EdbDecayVertex : public EdbVertex, which has all flags and results of decay search.
EdbSmallKink : public EdbVertex, which is for small kink. (maybe later deleted.)
EdbTrackDS : public EdbTrackP, which has all flags for decay search.
this is an activity in collaboration with Valeri and Antonia. this will later be a common tool for decay search in OpEmuRec.
these are the simplifed implementation of EdbEDADecaySearch, EdbEDATrackP, EdbEDADecayVertex...
a flowchart is in EdbDecaySearch.pdf, this will be updated later.
the simplest use of decay search is following.
{
// prepare data with tracks and vertices and also segments.
EdbPVRec *pvr = xxx;
// EDA... optional
EdbEDA *gEDA = new EdbEDA(pvr);
// EdbDecaySearch
EdbDecaySearch *ds = new EdbDecaySearch;
ds->SetPVR(pvr);
EdbVertex *v1 = ds->FindPrimaryVertex();
ds->SetVertex(v1);
ds->DoSearch(); // do track search and vertex search
// Primary vertex
v1 = ds->GetPrimaryVertex();
gEDA->GetVertexSet()->AddVertex(v1);
// Decay Vertices
for(int i=0; i<ds->NDecayVertices(); i++) {
EdbDecayVertex *v = ds->GetDecayVertex(i);
gEDA->GetVertexSet()->AddVertex( v);
TString vtxtype;
if ( v->IsShort()) vtxtype = "short";
else if( v->IsSmallKink()) vtxtype = "small kink";
else if( v->IsLong()) vtxtype = "kink";
EdbEDAText *tx = new EdbEDAText(v->X(), v->Y(), v->Z(), vtxtype.Data());
gEDA->AddDrawObject(tx);
if(v->GetParent()) {
EdbTrackP *s1 = v->GetParent()->GetSegmentLast();
gEDA->AddDrawObject( new EdbEDAText(s1->X(), s1->Y(), s1->Z(), "parent"));
}
if(v->GetDaughter()) {
EdbTrackP *s2 = v->GetDaughter()->GetSegmentFirst();
EdbTrackP *s3 = v->GetDaughter()->GetSegmentLast();
gEDA->AddDrawObject( new EdbEDAText((s2->X()+s3->X())/2, (s2->Y()+s3->Y())/2, (s2->Z()+s3->Z())/2, "daughter"));
}
}
gEDA->Redraw();
gEDA->UpdateScene();
}
waiting for response.
by Aki.
------------------------------------------------------------------------
r1200 | meisel | 2011-08-17 14:18:01 +0200 (Mit, 17. Aug 2011) | 3 Zeilen
Remove Double_BT view overlap linear correlation line.
------------------------------------------------------------------------
r1199 | meisel | 2011-08-15 19:34:01 +0200 (Mon, 15. Aug 2011) | 2 Zeilen
small script to quickly find pairs belonging to e+e-.
------------------------------------------------------------------------
r1198 | meisel | 2011-08-15 19:31:58 +0200 (Mon, 15. Aug 2011) | 2 Zeilen
ShowRec program backup.
------------------------------------------------------------------------
r1197 | meisel | 2011-08-15 19:30:25 +0200 (Mon, 15. Aug 2011) | 3 Zeilen
minor updates, again code cleaning.
------------------------------------------------------------------------
r1196 | meisel | 2011-08-15 19:29:31 +0200 (Mon, 15. Aug 2011) | 2 Zeilen
Only minor updates (laptop transfer).
------------------------------------------------------------------------
r1195 | meisel | 2011-08-11 18:04:01 +0200 (Don, 11. Aug 2011) | 2 Zeilen
small fixes. prevent another, but very unlikely (strange combination of commands) crahsh.
------------------------------------------------------------------------
r1194 | meisel | 2011-08-11 18:02:58 +0200 (Don, 11. Aug 2011) | 2 Zeilen
backup.
------------------------------------------------------------------------
r1193 | meisel | 2011-08-10 17:17:49 +0200 (Mit, 10. Aug 2011) | 2 Zeilen
SVN Works if submitted from Bern VPN. Dont know why...
------------------------------------------------------------------------
r1192 | meisel | 2011-08-10 16:50:16 +0200 (Mit, 10. Aug 2011) | 4 Zeilen
Bugfix.
Crashed when having more than 100k initiator basetracks.
------------------------------------------------------------------------
r1191 | meisel | 2011-08-07 11:45:42 +0200 (Son, 07. Aug 2011) | 1 Zeile
------------------------------------------------------------------------
r1190 | valeri | 2011-08-04 16:03:06 +0200 (Don, 04. Aug 2011) | 1 Zeile
was not consistent with the last commit
------------------------------------------------------------------------
r1189 | ariga | 2011-07-27 22:35:20 +0200 (Mit, 27. Jul 2011) | 5 Zeilen
Debug of libShower for Windows. mainly 2 points.
- cout << TString; doesn't work in Windows in compiled mode.
- stack overflow. reduce the use of stack memory.
Aki
------------------------------------------------------------------------
r1188 | valeri | 2011-07-27 14:42:03 +0200 (Mit, 27. Jul 2011) | 1 Zeile
minor modifications
------------------------------------------------------------------------
r1187 | ariga | 2011-07-26 09:29:27 +0200 (Die, 26. Jul 2011) | 2 Zeilen
small modification in EDAShowerTab, so that one can use "Reco" button even under Windows.
Aki
------------------------------------------------------------------------
r1186 | ariga | 2011-07-25 12:53:38 +0200 (Mon, 25. Jul 2011) | 1 Zeile
Makefile.w32 for libShower is modified to fit with recent file structure.
------------------------------------------------------------------------
r1185 | meisel | 2011-07-24 17:00:26 +0200 (Son, 24. Jul 2011) | 4 Zeilen
Statements for TestBeam Documentation.
This is my (FWM) opinion after the experiences with analyzing the electron/pion TB data from 2009.
------------------------------------------------------------------------
r1184 | meisel | 2011-07-24 13:23:52 +0200 (Son, 24. Jul 2011) | 5 Zeilen
Updated Parameterset
to get .txt and .root parameterset files, please run parasets/CreateParaset_GS_Alg.C after compilation of fedra
manually, because, the .txt and .root files are too large for the svn repository setting, to put them also there.
------------------------------------------------------------------------
r1183 | meisel | 2011-07-24 13:19:00 +0200 (Son, 24. Jul 2011) | 2 Zeilen
additional helper macros to make life easy
------------------------------------------------------------------------
r1182 | meisel | 2011-07-24 11:55:25 +0200 (Son, 24. Jul 2011) | 5 Zeilen
Important Bugfix for ShowRec Program.
The GammaSearch Algorithm was wrongly implemented, it just looked on pairings for the same plate.
Now fixed.
------------------------------------------------------------------------
r1181 | meisel | 2011-07-24 11:53:51 +0200 (Son, 24. Jul 2011) | 11 Zeilen
*Added retrieval function for the neural network in the Energy function.
GetNeuralNetwork,
TrainNeuralNetwork,
DumpNeuralNetworkWeight
By default it returns the ANN for the largest number of plates.
* Improved Gamma Search Algorithm
------------------------------------------------------------------------
r1180 | meisel | 2011-07-24 11:53:20 +0200 (Son, 24. Jul 2011) | 9 Zeilen
*Added retrieval function for the neural network in the Energy function.
GetNeuralNetwork,
TrainNeuralNetwork,
DumpNeuralNetworkWeight
By default it returns the ANN for the largest number of plates.
* Improved Gamma Search Algorithm
------------------------------------------------------------------------
r1179 | meisel | 2011-07-20 21:04:26 +0200 (Mit, 20. Jul 2011) | 2 Zeilen
.* Backup ShowRec program
------------------------------------------------------------------------
r1178 | meisel | 2011-07-20 20:58:08 +0200 (Mit, 20. Jul 2011) | 4 Zeilen
src/libShower/EdbPVRQuality.cxx
* Latest Modifications in PVR Quality (can now remove tracks, segments, trackarrays and segarrays from a pvrec object).
------------------------------------------------------------------------
r1177 | meisel | 2011-07-19 11:43:14 +0200 (Die, 19. Jul 2011) | 8 Zeilen
* Important Update: In Shower Reco, when writing shower basetracks to the treebranch tree, make background basetracks exactly like they come out of fedra microscope scanning:
// shower_ntrace1simub=-999
// shower_ntrace2simub=seg->W();
// shower_ntrace3simub=-999
// shower_ntrace4simub=0
* Minor Fixes.
* Installation routines for libShowRec (succesor of libShower) added.
------------------------------------------------------------------------
r1176 | meisel | 2011-07-18 15:40:55 +0200 (Mon, 18. Jul 2011) | 2 Zeilen
Im
------------------------------------------------------------------------
r1175 | meisel | 2011-07-18 15:37:30 +0200 (Mon, 18. Jul 2011) | 2 Zeilen
RemoveFakedoublets improved.
------------------------------------------------------------------------
r1174 | meisel | 2011-07-17 11:10:44 +0200 (Son, 17. Jul 2011) | 2 Zeilen
Small Improvement. Backup purpose.
------------------------------------------------------------------------
r1173 | meisel | 2011-07-03 12:18:15 +0200 (Son, 03. Jul 2011) | 3 Zeilen
Add Parametersetfiles for GS_Alg (as it is in libShowRec).
------------------------------------------------------------------------
r1172 | meisel | 2011-07-03 12:17:14 +0200 (Son, 03. Jul 2011) | 2 Zeilen
Small addition in tools.
------------------------------------------------------------------------
r1171 | valeri | 2011-07-01 18:08:09 +0200 (Fre, 01. Jul 2011) | 1 Zeile
the library for the general-purpose analysis algorithms
------------------------------------------------------------------------
r1170 | valeri | 2011-06-30 14:26:52 +0200 (Don, 30. Jun 2011) | 1 Zeile
small fix
------------------------------------------------------------------------
r1169 | meisel | 2011-06-26 16:09:58 +0200 (Son, 26. Jun 2011) | 2 Zeilen
Fix.
------------------------------------------------------------------------
r1168 | ariga | 2011-06-10 20:24:54 +0200 (Fre, 10. Jun 2011) | 5 Zeilen
EdbEDADecaySearch update
sorry so many updates. now we (Aki + Florian) is working intensively.
Aki
------------------------------------------------------------------------
r1167 | ariga | 2011-06-10 11:07:01 +0200 (Fre, 10. Jun 2011) | 4 Zeilen
EdbPVRec::AddSegment() is modified to accept microtracks. before, if there is no corresponding pattern to a given segment, it add a new pattern without setting Side. this is corrected.
I hope there is not interference to other codes...
Aki
------------------------------------------------------------------------
r1166 | valeri | 2011-06-08 11:54:26 +0200 (Mit, 08. Jun 2011) | 6 Zeilen
- make o2root interface similar to other applications like emalign, etc -
now use the "=" convention for parameters values
Example: o2root -brick=72693 -info
- Small improvements in brick info output format
------------------------------------------------------------------------
r1165 | valeri | 2011-06-08 11:48:20 +0200 (Mit, 08. Jun 2011) | 1 Zeile
comment out declarations of 2 functions added by Frank without definition. this makes possible applications building again
------------------------------------------------------------------------
r1164 | ariga | 2011-06-08 11:39:10 +0200 (Mit, 08. Jun 2011) | 6 Zeilen
--------
Decay search
short decay added.
a bug fixed concerning the dependence on EDA.
------------------------------------------------------------------------
r1163 | meisel | 2011-06-08 08:31:26 +0200 (Mit, 08. Jun 2011) | 5 Zeilen
Made class EdbShowPVRQuality identical to the one of libShower.
ATTENTION: This is not yet of relevance for the end user - just developers update.
------------------------------------------------------------------------
r1162 | valeri | 2011-06-07 14:08:07 +0200 (Die, 07. Jun 2011) | 1 Zeile
disable the automatic time calculation for a saved view. Now the variables eTime and eLastSystemTime can be used in convertors
------------------------------------------------------------------------
r1161 | meisel | 2011-06-06 12:16:30 +0200 (Mon, 06. Jun 2011) | 47 Zeilen
Some modifications:
* Small fix in EdbPVRQuality class.
* Major memory management improvement in the shower reconstruction, for data the reconstruction is now done using the source EdbPVRec object as a whole, i.e. it is not divided intu smaller objects anymore. This leads to the consequence that reco is slower, but memoryfailsafe for old PCs.
See also code documentation in void EdbShowerRec::Transform_eAli( EdbSegP* InitiatorBT, Float_t ExtractSize=1000).
// Transform an EdbPVRec Object into a smaller EdbPVRec object.
// The length (number of plates/patterns) of eAli_Sub is not changed.
// Only XY-size (+- ExtractSize) and MC cuts (same MC or BG) around
// the InitiatorBT are applied.
// This method increases speed of processing, useful for large simulation MC
// datasets.
// ( Code Detail Warning:
// In case there are tooo many InitiatorBTs (order of 10k), the memory
// consumption be very high, the reason is that we cannot delete the
// small EdbPVRec objects build for the previous InitiatorBT, since the
// addresses of the segments will be deleted as well, segfault will appear.
// In this case the EdbPattern::ExtractSubPattern function will not only
// clone the InitiatorBTs, but also the EdbPatterns, and the existing
// EdbSegPs in it.
// This method is more intended to use for the standalone program