forked from dimihayl/DLM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUpdate_Notes_270420.txt
31 lines (23 loc) · 1.7 KB
/
Update_Notes_270420.txt
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
Git status before the commit:
new file: CATS_Extentions/DLM_Ck.cpp
new file: CATS_Extentions/DLM_Ck.h
renamed: CATS_Extentions/DLM_CkDecomposition.cpp -> CATS_Extentions/DLM_CkDecomp.cpp
renamed: CATS_Extentions/DLM_CkDecomposition.h -> CATS_Extentions/DLM_CkDecomp.h
modified: CATS_Extentions/DLM_CkDecomposition.cpp
modified: CATS_Extentions/DLM_CkDecomposition.h
modified: CATS_Extentions/DLM_Fitters.cpp
modified: CATS_Extentions/DLM_Fitters.h
modified: CATS_Extentions/DLM_ResponseMatrix.cpp
modified: CATS_Extentions/DLM_ResponseMatrix.h
modified: CATS_Extentions/DLM_Source.cpp
new file: DLM_RootTools/DLM_RootWrapper.cpp
new file: DLM_RootTools/DLM_RootWrapper.h
please note the new files, that you will need to add to you CMakeList
In order to compile, you might need to REMOVE the files 'DLM_SmearedCats.cpp(h)' from the CMakeList
In summary: this update is done in order to make a dream come true: CATS without ROOT by replacing TH2F with DLM_Histo<float>
with this update I have removed completely the ROOT requirement in the DLM_CkDecomposition object (now renamed DLM_CkDecomp)
In order to keep backwards compatibility, the class DLM_CkDecomposition is reimplemented, where it keeps the out input arguments (including TH2F)
but converts them to the DLM_CkDecomp format.
I have also provided a DLM_RootWrapper, which provides to functions needed to convert TH2F <-> DLM_Histo<float>
TROUBLESHOOTING:
the only real problems I had with the new code, is that the TH2F include was carried around by the DLM_CkDecomposition.h, while now it is not. Thus if you were sloppy (as I was) with the includes, you may have to #include "TH2F.h" in the files where you get a compilation error.