From 1bf7b4a6a180f90c3cda0608eec127e9e0777412 Mon Sep 17 00:00:00 2001 From: Anna Bergamaschi Date: Wed, 6 Dec 2017 09:10:13 +0100 Subject: [PATCH] directory restuctured --- slsDetectorCalibration/IntMap.h | 113 - slsDetectorCalibration/PlotGifs.C | 194 - slsDetectorCalibration/analogDetector.h | 395 ++- .../Mythen3_01_jctbData.h | 0 .../{ => dataStructures}/adcSar2_jctbData.h | 0 .../{ => dataStructures}/chiptestBoardData.h | 0 .../eigerHalfModuleData.h | 0 .../{ => dataStructures}/gotthardModuleData.h | 0 .../gotthardShortModuleData.h | 0 .../{ => dataStructures}/jungfrau02Data.h | 0 .../jungfrau10ModuleData.h | 0 .../moench02Ctb10GbData.h | 0 .../{ => dataStructures}/moench02CtbData.h | 0 .../{ => dataStructures}/moench02ModuleData.h | 0 .../moench03Ctb10GbData.h | 0 .../moench03Ctb10GbT1Data.h | 0 .../{ => dataStructures}/moench03CtbData.h | 0 .../{ => dataStructures}/moench03T1CtbData.h | 0 .../dataStructures/moench03T1ReceiverData.h | 285 ++ .../{ => dataStructures}/moench03T1ZmqData.h | 0 .../dataStructures/moench03T1ZmqDataNew.h | 268 ++ .../moench03TCtb10GbData.h | 0 .../{ => dataStructures}/moench03TCtbData.h | 0 slsDetectorCalibration/demoCreateTree.C | 31 - slsDetectorCalibration/etaVEL/imageMacro.C | 457 --- slsDetectorCalibration/etaVEL/imageMacroG2D.C | 185 - .../etaVEL/imageMacroSample.C | 173 - .../etaVEL/interpolationMacro.C | 3109 ----------------- slsDetectorCalibration/gMapDemo.C | 11 - slsDetectorCalibration/gainMap.C | 228 -- .../interpolations/.__afs3A48 | Bin 0 -> 48795 bytes .../etaInterpolationBase.h | 101 +- .../etaInterpolationGlobal.h | 0 .../etaInterpolationPosXY.h | 30 +- .../{ => interpolations}/etaVEL/EVELAlg.C | 0 .../{ => interpolations}/etaVEL/EtaVEL.cpp | 0 .../{ => interpolations}/etaVEL/EtaVEL.h | 0 .../{ => interpolations}/etaVEL/EtaVELTr.py | 0 .../etaVEL/interpolation_etaVEL.cpp | 0 .../interpolation_EtaVEL.h | 0 .../linearInterpolation.h | 12 +- .../noInterpolation.h | 8 +- .../slsInterpolation.h | 5 +- slsDetectorCalibration/jungfrauReadData.C | 264 -- slsDetectorCalibration/makefile | 10 - slsDetectorCalibration/moench03ReadData.C | 1117 ------ slsDetectorCalibration/moench03ReadData10Gb.C | 496 --- .../moenchExecutables/Makefile.cluster_finder | 33 + .../{ => moenchExecutables}/Makefile.moench | 0 .../Makefile.moench_eta | 13 +- .../Makefile.moench_zmq | 0 .../moenchExecutables/Makefile.phoenix | 30 + .../moenchExecutables/Makefile.tiff_to_th2f | 25 + .../moench03ClusterFinder.cpp | 255 ++ .../moench03ClusterFinderPhoenix.cpp | 192 + .../moench03Interpolation.cpp | 171 + .../moenchExecutables/moench03MakeEta.cpp | 62 + .../moench03NoInterpolation.cpp | 171 + .../moench03OnTheFlyAnalysis.C | 0 .../moenchExecutables/moench03ZmqOnTheFly.cpp | 272 ++ .../moench03ZmqOnTheFlyEta.cpp | 306 ++ .../moench03ZmqOnTheFlyInterpolating.cpp | 251 ++ .../moench03ZmqOnTheFlyInterpolation.cpp | 219 ++ .../moench03ZmqOnTheFlySinglePhoton.cpp | 248 ++ .../moenchExecutables/readClusters.C | 209 ++ .../moenchExecutables/tiff_to_th2f.cpp | 57 + slsDetectorCalibration/moenchMakeTree.C | 244 -- slsDetectorCalibration/moenchReadData.C | 238 -- slsDetectorCalibration/moenchReadDataMT.C | 52 - .../multiThreadedAnalogDetector.h | 572 +++ .../multiThreadedDetector.h | 459 --- slsDetectorCalibration/raedNoiseData.C | 136 - slsDetectorCalibration/readJungfrauData.C | 31 - slsDetectorCalibration/readMoench03Data.C | 366 -- slsDetectorCalibration/singlePhotonDetector.h | 225 +- slsDetectorCalibration/single_photon_hit.h | 31 +- .../slsDetectorCalibration.doxy | 18 +- slsDetectorCalibration/viewMoenchDRXRays.C | 178 - 78 files changed, 4212 insertions(+), 8344 deletions(-) delete mode 100644 slsDetectorCalibration/IntMap.h delete mode 100644 slsDetectorCalibration/PlotGifs.C rename slsDetectorCalibration/{ => dataStructures}/Mythen3_01_jctbData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/adcSar2_jctbData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/chiptestBoardData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/eigerHalfModuleData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/gotthardModuleData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/gotthardShortModuleData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/jungfrau02Data.h (100%) rename slsDetectorCalibration/{ => dataStructures}/jungfrau10ModuleData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/moench02Ctb10GbData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/moench02CtbData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/moench02ModuleData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/moench03Ctb10GbData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/moench03Ctb10GbT1Data.h (100%) rename slsDetectorCalibration/{ => dataStructures}/moench03CtbData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/moench03T1CtbData.h (100%) create mode 100644 slsDetectorCalibration/dataStructures/moench03T1ReceiverData.h rename slsDetectorCalibration/{ => dataStructures}/moench03T1ZmqData.h (100%) create mode 100644 slsDetectorCalibration/dataStructures/moench03T1ZmqDataNew.h rename slsDetectorCalibration/{ => dataStructures}/moench03TCtb10GbData.h (100%) rename slsDetectorCalibration/{ => dataStructures}/moench03TCtbData.h (100%) delete mode 100644 slsDetectorCalibration/demoCreateTree.C delete mode 100644 slsDetectorCalibration/etaVEL/imageMacro.C delete mode 100644 slsDetectorCalibration/etaVEL/imageMacroG2D.C delete mode 100644 slsDetectorCalibration/etaVEL/imageMacroSample.C delete mode 100644 slsDetectorCalibration/etaVEL/interpolationMacro.C delete mode 100644 slsDetectorCalibration/gMapDemo.C delete mode 100644 slsDetectorCalibration/gainMap.C create mode 100755 slsDetectorCalibration/interpolations/.__afs3A48 rename slsDetectorCalibration/{etaVEL => interpolations}/etaInterpolationBase.h (85%) rename slsDetectorCalibration/{etaVEL => interpolations}/etaInterpolationGlobal.h (100%) rename slsDetectorCalibration/{etaVEL => interpolations}/etaInterpolationPosXY.h (73%) rename slsDetectorCalibration/{ => interpolations}/etaVEL/EVELAlg.C (100%) rename slsDetectorCalibration/{ => interpolations}/etaVEL/EtaVEL.cpp (100%) rename slsDetectorCalibration/{ => interpolations}/etaVEL/EtaVEL.h (100%) rename slsDetectorCalibration/{ => interpolations}/etaVEL/EtaVELTr.py (100%) rename slsDetectorCalibration/{ => interpolations}/etaVEL/interpolation_etaVEL.cpp (100%) rename slsDetectorCalibration/{etaVEL => interpolations}/interpolation_EtaVEL.h (100%) rename slsDetectorCalibration/{etaVEL => interpolations}/linearInterpolation.h (96%) rename slsDetectorCalibration/{etaVEL => interpolations}/noInterpolation.h (90%) rename slsDetectorCalibration/{etaVEL => interpolations}/slsInterpolation.h (98%) delete mode 100644 slsDetectorCalibration/jungfrauReadData.C delete mode 100644 slsDetectorCalibration/makefile delete mode 100644 slsDetectorCalibration/moench03ReadData.C delete mode 100644 slsDetectorCalibration/moench03ReadData10Gb.C create mode 100644 slsDetectorCalibration/moenchExecutables/Makefile.cluster_finder rename slsDetectorCalibration/{ => moenchExecutables}/Makefile.moench (100%) rename slsDetectorCalibration/{ => moenchExecutables}/Makefile.moench_eta (54%) rename slsDetectorCalibration/{ => moenchExecutables}/Makefile.moench_zmq (100%) create mode 100644 slsDetectorCalibration/moenchExecutables/Makefile.phoenix create mode 100644 slsDetectorCalibration/moenchExecutables/Makefile.tiff_to_th2f create mode 100644 slsDetectorCalibration/moenchExecutables/moench03ClusterFinder.cpp create mode 100644 slsDetectorCalibration/moenchExecutables/moench03ClusterFinderPhoenix.cpp create mode 100644 slsDetectorCalibration/moenchExecutables/moench03Interpolation.cpp create mode 100644 slsDetectorCalibration/moenchExecutables/moench03MakeEta.cpp create mode 100644 slsDetectorCalibration/moenchExecutables/moench03NoInterpolation.cpp rename slsDetectorCalibration/{ => moenchExecutables}/moench03OnTheFlyAnalysis.C (100%) create mode 100644 slsDetectorCalibration/moenchExecutables/moench03ZmqOnTheFly.cpp create mode 100644 slsDetectorCalibration/moenchExecutables/moench03ZmqOnTheFlyEta.cpp create mode 100644 slsDetectorCalibration/moenchExecutables/moench03ZmqOnTheFlyInterpolating.cpp create mode 100644 slsDetectorCalibration/moenchExecutables/moench03ZmqOnTheFlyInterpolation.cpp create mode 100644 slsDetectorCalibration/moenchExecutables/moench03ZmqOnTheFlySinglePhoton.cpp create mode 100644 slsDetectorCalibration/moenchExecutables/readClusters.C create mode 100644 slsDetectorCalibration/moenchExecutables/tiff_to_th2f.cpp delete mode 100644 slsDetectorCalibration/moenchMakeTree.C delete mode 100644 slsDetectorCalibration/moenchReadData.C delete mode 100644 slsDetectorCalibration/moenchReadDataMT.C create mode 100644 slsDetectorCalibration/multiThreadedAnalogDetector.h delete mode 100644 slsDetectorCalibration/multiThreadedDetector.h delete mode 100644 slsDetectorCalibration/raedNoiseData.C delete mode 100644 slsDetectorCalibration/readJungfrauData.C delete mode 100644 slsDetectorCalibration/readMoench03Data.C delete mode 100644 slsDetectorCalibration/viewMoenchDRXRays.C diff --git a/slsDetectorCalibration/IntMap.h b/slsDetectorCalibration/IntMap.h deleted file mode 100644 index 253ee95e5..000000000 --- a/slsDetectorCalibration/IntMap.h +++ /dev/null @@ -1,113 +0,0 @@ -#ifndef INTMAP_H -#define INTMAP_H -#define N 60 -#include -#include - - - - -class IntMap{ - - - public: - - IntMap(){}; - - ~IntMap(){}; - - void Init(){ - //lookup table of the output intensity for IR laser - //measurements performed by Dominic april 2014 - //intensity[59]=intensity with 0 Optical Density - //intensity[0]=intensity with 5.9 Optical Density - intensity[0]=29;//5.9 - intensity[1]=21;//5.8 - intensity[2]=31;//5.7 - intensity[3]=43;//5.6 - intensity[4]=60;//5.5 - intensity[5]=91;//5.4 - intensity[6]=69;//5.3 - intensity[7]=102;//5.2 - intensity[8]=136;//5.1 - intensity[9]=196;//5.0 - intensity[10]=425;//4.9 - intensity[11]=311;//4.8 - intensity[12]=462;//4.7 - intensity[13]=653;//4.6 - intensity[14]=926;//4.5 - intensity[15]=1423;//4.4 - intensity[16]=1072;//4.3 - intensity[17]=1592;//4.2 - intensity[18]=2142;//4.1 - intensity[19]=3085;//4.0 - intensity[20]=729;//3.9 - intensity[21]=533;//3.8 - intensity[22]=793;//3.7 - intensity[23]=1121;//3.6 - intensity[24]=1588;//3.5 - intensity[25]=2439;//3.4 - intensity[26]=1842;//3.3 - intensity[27]=2730;//3.2 - intensity[28]=3663;//3.1 - intensity[29]=5271;//3.0 - intensity[30]=8102;//2.9 - intensity[31]=5933;//2.8 - intensity[32]=8789;//2.7 - intensity[33]=12350;//2.6 - intensity[34]=17358;//2.5 - intensity[35]=26300;//2.4 - intensity[36]=20029;//2.3 - intensity[37]=29414;//2.2 - intensity[38]=39202;//2.1 - intensity[39]=55724;//2.0 - intensity[40]=15697;//1.9 - intensity[41]=11541;//1.8 - intensity[42]=16976;//1.7 - intensity[43]=23866;//1.6 - intensity[44]=33478;//1.5 - intensity[45]=50567;//1.4 - intensity[46]=38552;//1.3 - intensity[47]=56394;//1.2 - intensity[48]=74897;//1.1 - intensity[49]=106023;//1.0 - intensity[50]=157384;//0.9 - intensity[51]=117677;//0.8 - intensity[52]=171101;//0.7 - intensity[53]=236386;//0.6 - intensity[54]=327248;//0.5 - intensity[55]=492781;//0.4 - intensity[56]=379641;//0.3 - intensity[57]=546927;//0.2 - intensity[58]=717203;//0.1 - intensity[59]=1000000;//0. - return; - }; - //_od is the total Optical Density - int getIntensity(float _od){ - int _int(-1); - - //these lines are to take into account rounding errors with floats - float hun_od = 100.*_od; - int Ihun_od = (int)round(hun_od); - float R_od =(float) Ihun_od/10.; - int I_od = (int)R_od; - - if(I_od >-1 && I_od <60){ - int index=59-I_od; - cerr<readNextFrame(filebin); - framen=decoder->getFrameNumber(buff); - - int counter(0); - - while(framen