Changeset 436 in Sophya for trunk/Poubelle
- Timestamp:
- Sep 24, 1999, 11:23:23 PM (26 years ago)
- Location:
- trunk/Poubelle/archTOI.old
- Files:
-
- 1 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/archeops_28.c
r342 r436 4 4 #include <stdio.h> 5 5 #include "archeops.h" 6 #include "arcunit.h" 6 7 7 8 /* sauve vol trapani 2eme config de vol */ … … 962 963 963 964 964 965 /* 965 966 unsigned int4 val_long(char x) 966 967 { … … 974 975 975 976 977 976 978 double val_double(char x) 977 979 { … … 991 993 } 992 994 993 995 */ 994 996 995 997 -
trunk/Poubelle/archTOI.old/archeopsfile.cc
r432 r436 9 9 extern "C" { 10 10 #include "compress.h" 11 #include "arcunit.h" 11 12 } 12 13 #include <iostream.h> … … 257 258 ArcheopsFile::ArcheopsFile(string const& fname) { 258 259 f = fopen(fname.c_str(), "rb"); 260 setvbuf(f, NULL, _IOFBF, 1024L*1024L); 261 259 262 fn = fname; 260 263 if (!f) throw ArchExc("file not found"); … … 294 297 fn = x.fn; 295 298 f = fopen(fn.c_str(), "rb"); 299 setvbuf(f, NULL, _IOFBF, 1024L*1024L); 296 300 297 301 rawMJD = x.rawMJD; … … 867 871 868 872 869 double ArcheopsFile::getRawBolo(int ibolo, int imesure) { // donnee brute, avec seulement soustraction offset 870 int nb_coups,aa; 873 double ArcheopsFile::getBoloRawMuV(int ibolo, int imesure) { // microvolts bruts 871 874 block_type_bolo* blk = imesure >= 0 ? lastBolo() : llastBolo(); 872 //cout << "raw " << imesure << " ";873 875 if (imesure < 0) imesure += nEchBlock(); 876 block_type_reglage* reglage = lastReglage(); 877 block_type_param* param = lastParam(); 874 878 if (!blk) return 0; 875 block_type_reglage* reglage = lastReglage();876 879 if (!reglage) return 0; 877 878 nb_coups= reglage->reglage.horloge.nb_mesures/2 - reglage->reglage.horloge.temp_mort; 879 aa = (nb_coups<<14) + (nb_coups*190) ; 880 880 if (!param) return 0; 881 881 882 int s = imesure % 2 ? 1 : -1; 882 883 //cout << s*(((val_DS(ibolo,imesure)-aa)<<1)/nb_coups) << "\n"; 884 885 return s*(((val_DS(ibolo,imesure)-aa)<<1)/double(nb_coups)); 886 } 887 888 double ArcheopsFile::getRawBoloCN(int ibolo, int imesure) { 889 // Si pas bloc comprime -> 0 890 if (lastBoloComp() == NULL) return 0; 891 if (numero_block(lastBoloComp()) != numero_block(lastBolo())) return 0; 892 block_type_reglage* reglage = lastReglage(); 893 if (!reglage) return 0; 894 895 int nb_coups= reglage->reglage.horloge.nb_mesures/2 - reglage->reglage.horloge.temp_mort; 896 unsigned int4* data = lastBoloComp()->data_bolo[ibolo]; 897 // Les deux premieres valeurs sont codees directement... 898 if (imesure<2) return 0; 899 int iExp = (imesure-2)/4 + 1; 900 int expo = data[iExp] & 0xf; 901 int noise = 1 << expo; 902 return (noise << 1)/double(nb_coups)/2.; 903 } 904 905 906 907 def_gains 908 909 double ArcheopsFile::getMuVBolo(int ibolo, int imesure) { // microvolts, filtre avec filtre carre 910 double y = (getRawBolo(ibolo, imesure-1) + getRawBolo(ibolo, imesure))/2.; 911 //if (imesure%2) y=-y; 883 884 return s*bolo_muV(¶m->param, ®lage->reglage, val_DS(ibolo,imesure), ibolo); 885 } 886 887 double ArcheopsFile::getBoloRawMuVCN(int ibolo, int imesure) { 888 // Si pas bloc comprime -> 1 bit 889 int lastbit = 1; 890 if (!(lastBoloComp() == NULL) && 891 (numero_block(lastBoloComp()) != numero_block(lastBolo()))) { 892 unsigned int4* data = lastBoloComp()->data_bolo[ibolo]; 893 // Les deux premieres valeurs sont codees directement... 894 if (imesure>=2) { 895 int iExp = (imesure-2)/4 + 1; 896 int expo = data[iExp] & 0xf; 897 lastbit = 1 << expo; 898 } 899 } 912 900 block_type_reglage* reglage = lastReglage(); 913 901 block_type_param* param = lastParam(); 914 902 if (!reglage) return 0; 915 903 if (!param) return 0; 916 //cout << "muv " << imesure << " " << y << "\n"; 917 return bol_micro_volt(y,(double)param->param.bolo[ibolo].bolo_gain*gain_ampli(reglage->reglage.bolo[ibolo])); 918 //return ((1e5*y)/(65536.*gain_ampli(reglage->reglage.bolo[ibolo]))); 919 } 920 921 double ArcheopsFile::getMuVBoloCN(int ibolo, int imesure) { // microvolts, sur valeur unique 922 double y = getRawBoloCN(ibolo, imesure); 923 block_type_reglage* reglage = lastReglage(); 924 block_type_param* param = lastParam(); 925 if (!reglage) return 0; 926 if (!param) return 0; 927 return bol_micro_volt(y,(double)param->param.bolo[ibolo].bolo_gain*gain_ampli(reglage->reglage.bolo[ibolo])); 928 } 929 930 931 double ArcheopsFile::getMuVBolo2(int ibolo, int imesure) { // microvolts, filtre 904 double noise = ( 905 bolo_muV(¶m->param, ®lage->reglage, lastbit, ibolo) - 906 bolo_muV(¶m->param, ®lage->reglage, 0, ibolo)) /2.; 907 908 return noise; 909 } 910 911 912 913 def_gains 914 915 double ArcheopsFile::getBoloMuV(int ibolo, int imesure) { // microvolts, filtre avec filtre carre 916 double y = (getBoloRawMuV(ibolo, imesure-1) + getBoloRawMuV(ibolo, imesure))/2.; 917 return y; 918 } 919 920 double ArcheopsFile::getBoloMuV2(int ibolo, int imesure) { // microvolts, filtre 932 921 // On commence par trouver la valeur d'offset, en fittant une droite sur les soustractions 933 922 if (!lastBolo() || !llastBolo()) return 0; 934 block_type_reglage* reglage = lastReglage();935 block_type_param* param = lastParam();936 if (!reglage) return 0;937 if (!param) return 0;923 //block_type_reglage* reglage = lastReglage(); 924 //block_type_param* param = lastParam(); 925 //if (!reglage) return 0; 926 //if (!param) return 0; 938 927 double sumx=0, sumy=0, sumxy=0, sumx2=0; 939 928 int n=20; … … 941 930 for (int i=1; i<=n; i++) { 942 931 double x = -i; 943 double y = s*(get RawBolo(ibolo, imesure-i+1) - getRawBolo(ibolo, imesure-i))/2;932 double y = s*(getBoloRawMuV(ibolo, imesure-i+1) - getBoloRawMuV(ibolo, imesure-i))/2; 944 933 s = -s; 945 934 sumx += x; … … 951 940 double b = (sumy/n) - a*(sumx/n); 952 941 s = imesure % 2 ? 1 : -1; 953 double y = get RawBolo(ibolo, imesure);942 double y = getBoloRawMuV(ibolo, imesure); 954 943 y = y-s*b; 955 return bol_micro_volt(y,(double)param->param.bolo[ibolo].bolo_gain*gain_ampli(reglage->reglage.bolo[ibolo])); 956 } 944 return y; 945 } 946 947 /* 948 double ArcheopsFile::getBoloMuV2(int ibolo, int imesure) { // microvolts, filtre 949 // On commence par trouver la valeur d'offset, en fittant une droite sur les soustractions 950 if (!lastBolo() || !llastBolo()) return 0; 951 double sumx=0, sumy=0, sumxy=0, sumx2=0; 952 int n=20; 953 int s = (imesure-n) % 2 ? 1 : -1; 954 static double* data = NULL; 955 if (!data) data = new double[n+1]; 956 for (int i=0; i<=n; i++) { 957 data[i] = getBoloRawMuV(ibolo, imesure-n+i); 958 } 959 for (int i=0; i<=n; i++) { 960 961 } 962 for (int i=1; i<=n; i++) { 963 double x = -i; 964 double y = s*(getBoloRawMuV(ibolo, imesure-i+1) - getBoloRawMuV(ibolo, imesure-i))/2; 965 s = -s; 966 sumx += x; 967 sumy += y; 968 sumxy += x*y; 969 sumx2 += x*x; 970 } 971 double a = (sumxy/n - (sumx/n)*(sumy/n)) / (sumx2/n - (sumx/n)*(sumx/n)); 972 double b = (sumy/n) - a*(sumx/n); 973 s = imesure % 2 ? 1 : -1; 974 double y = getBoloRawMuV(ibolo, imesure); 975 y = y-s*b; 976 return y; 977 } 978 */ 979 957 980 958 981 double ArcheopsFile::getGainAmpli(int ibolo) { … … 960 983 } 961 984 962 #define capa(uu) ((parametr.bolo[uu].bolo_bebo==10)?0.000868 * (double)parametr.bolo[uu].bolo_capa:0.001 * (double)parametr.bolo[uu].bolo_capa) // capa en pF963 #define pt_micA(uu) ((4096. * 22. * 20.) / capa(uu) ) // pts / micro Amperes964 965 966 #define pt_micV(uu) (((double)parametr.bolo[uu].bolo_diviseur) / 2441.) // pts / microvolt967 968 985 969 986 double ArcheopsFile::getDACV(int ibolo) { 970 double dacV = dac_V(lastReglage()->reglage.bolo[ibolo]); 971 param_bolo& parametr = lastParam()->param; 972 return dacV / pt_micV(ibolo); 987 block_type_reglage* reglage = lastReglage(); 988 block_type_param* param = lastParam(); 989 if (!reglage) return 0; 990 if (!param) return 0; 991 return DAC_muV(¶m->param, ®lage->reglage, ibolo); 973 992 } 974 993 975 994 double ArcheopsFile::getDACI(int ibolo) { 976 double dacI = dac_I(lastReglage()->reglage.bolo[ibolo]); 977 param_bolo& parametr = lastParam()->param; 978 return dacI / pt_micA(ibolo); 979 } 980 981 double ArcheopsFile::getMuVBolo2T(int ibolo, int imesure) { 982 return getMuVBolo2(ibolo, imesure) - getDACV(ibolo); 995 block_type_reglage* reglage = lastReglage(); 996 block_type_param* param = lastParam(); 997 if (!reglage) return 0; 998 if (!param) return 0; 999 return DAC_muA(¶m->param, ®lage->reglage, ibolo); 1000 } 1001 1002 double ArcheopsFile::getBoloMuV2T(int ibolo, int imesure) { 1003 return getDACV(ibolo) - getBoloMuV2(ibolo, imesure) ; 983 1004 } 984 1005 985 1006 double ArcheopsFile::getBoloRes(int ibolo, int imesure) { 986 1007 double i = getDACI(ibolo); // microAmps 987 double v = get MuVBolo2T(ibolo, imesure); // microVolts1008 double v = getBoloMuV2T(ibolo, imesure); // microVolts 988 1009 double r = v/i; // Ohms 989 1010 return r; 990 1011 } 1012 1013 double ArcheopsFile::getBoloTemp(int ibolo, int imesure) { 1014 double r = getBoloRes(ibolo, imesure); 1015 block_type_reglage* reglage = lastReglage(); 1016 block_type_param* param = lastParam(); 1017 if (!reglage) return 0; 1018 if (!param) return 0; 1019 return bolo_temp(¶m->param, ®lage->reglage, r, ibolo); 1020 } 1021 991 1022 992 1023 // Dilution -
trunk/Poubelle/archTOI.old/archeopsfile.h
r429 r436 130 130 int getBoloBlockNum(); 131 131 int getBoloCompBlockNum(); 132 double getRawBolo(int ibolo, int imesure); // donnee brute, avec seulement soustraction offset 133 double getRawBoloCN(int ibolo, int imesure); // bruit de compression, sur donnee brute 134 double getMuVBoloCN(int ibolo, int imesure); // bruit de compression, en microVolts 135 double getMuVBolo(int ibolo, int imesure); // microvolts, filtre avec filtre carre 136 double getMuVBolo2(int ibolo, int imesure); // microvolts, filtre +sioux 132 double getBoloRawMuV(int ibolo, int imesure); // donnee brute en microvolts et signe change. 133 double getBoloRawMuVCN(int ibolo, int imesure); // bruit de compression, en microVolts 134 double getBoloMuV(int ibolo, int imesure); // microvolts, filtre avec filtre carre 135 double getBoloMuV2(int ibolo, int imesure); // microvolts, filtre +sioux 137 136 double getGainAmpli(int ibolo); 138 137 double getDACV(int ibolo); // offset en microvolt 139 138 double getDACI(int ibolo); // courant en microAmps 140 double get MuVBolo2T(int ibolo, int imesure); // avec soustraction dacV139 double getBoloMuV2T(int ibolo, int imesure); // avec soustraction dacV 141 140 double getBoloRes(int ibolo, int imesure); // Ohms 141 double getBoloTemp(int ibolo, int imesure); // K 142 142 143 143 // Dilution -
trunk/Poubelle/archTOI.old/archtoi.cc
r432 r436 186 186 block_type_param* blk = iter.lastParam(); 187 187 if (blk) { 188 int nb = blk->param.n b_bolo;188 int nb = blk->param.n_max_bolo; 189 189 for (int i=0; i<nb; i++) { 190 190 #if version_num > 25 … … 280 280 block_type_param* blk = iter.lastParam(); 281 281 if (blk) { 282 int nb = blk->param.n b_bolo;282 int nb = blk->param.n_max_bolo; 283 283 j=0; 284 284 for (int i=0; i<nb; i++) { -
trunk/Poubelle/archTOI.old/archtoimain.cc
r363 r436 10 10 #include "toisvr.h" 11 11 12 //#include <profiler.h> 12 13 13 14 #ifdef __MWERKS__ … … 27 28 } 28 29 30 // ProfilerInit(collectDetailed, bestTimeBase, 10000, 200); 31 32 29 33 ArchTOI toi(argv[1]); 30 34 toi.run(argv[2]); 35 36 // ProfilerDump("\pprofiler.data"); 31 37 return(0); 32 38 } -
trunk/Poubelle/archTOI.old/arcunit.h
r434 r436 1 #define ARCUNIT_H 2 1 3 2 4 /*======================================================================*/ … … 112 114 #define chauffage7 0x00000100 /* 0: chauffage 7 */ 113 115 116 #ifndef ARCUNIT_H 114 117 enum{nbit_chauffage7,nbit_chauffage6,nbit_chauffage5,nbit_chauffage4,nbit_chauffage3 115 118 ,nbit_chauffage2,nbit_chauffage1,nbit_vanne_EVB,nbit_vanne_EVO … … 132 135 /* T_A1 EST AUSSI LE DRIVER DU MOTEUR DE PIVOT */ 133 136 137 #endif 138 134 139 #define val_multiplex(qq) (0.0003052*(double)((qq)-0x8000)) 135 140 #define val_temperature(qq) ((val_multiplex(qq)<0.2)?-99:((1146.3/(val_multiplex(qq)-0.1)) - 245.13)) -
trunk/Poubelle/archTOI.old/templocator.cc
r435 r436 17 17 { 18 18 lon = lat = ts = 0; 19 ra = dec= -99999;19 raZ = decZ = -99999; 20 20 xSampleNum = -99999; 21 21 fitsfile* fptr; … … 40 40 this->lon = lon; 41 41 this->lat = lat; 42 ra = dec= -99999; xSampleNum = -99999;42 raZ = decZ = -99999; xSampleNum = -99999; 43 43 } 44 44 … … 46 46 if (this->ts == ts) return; 47 47 this->ts = ts; 48 ra = dec= -99999; xSampleNum = -99999;48 raZ = decZ = -99999; xSampleNum = -99999; 49 49 } 50 50 51 51 void TempLocator::ComputeZenith() { 52 52 double ha; 53 aa_hadec (lat * M_PI/180, .5 * M_PI, 0, &ha, &dec); 54 ra = - (ha * 180. / M_PI / 15) + (ts/3600.); 55 dec = dec * 180. / M_PI; 53 aa_hadec (lat * M_PI/180, .5 * M_PI, 0, &ha, &decZ); 54 raZ = - (ha * 180. / M_PI / 15) + (ts/3600.); 55 if (raZ>24) raZ -= 24; 56 if (raZ<0) raZ += 24; 57 decZ = decZ * 180. / M_PI; 56 58 } 57 59 58 60 double TempLocator::getAlphaZenith() { 59 if (ra < -100) ComputeZenith();60 return ra ;61 if (raZ < -100) ComputeZenith(); 62 return raZ; 61 63 } 62 64 63 65 double TempLocator::getDeltaZenith() { 64 if (dec < -100) ComputeZenith(); 65 return dec; 66 } 66 if (decZ < -100) ComputeZenith(); 67 return decZ; 68 } 69 70 #define altbolo1 41.5 67 71 68 72 void TempLocator::findGeomFromGC(int sampleNum) // pour le bolo qui voit les xing 69 73 { 70 74 if (sampleNum == xSampleNum) return; 71 if (dec < -100) ComputeZenith();75 if (decZ < -100) ComputeZenith(); 72 76 73 77 azimBolGC = -9999; … … 84 88 double delG = 27. + 07./60. + 42./3600.; 85 89 double azCr1, azCr2; 86 int rc = PlGalCross(ts/3600., lat, (90. - 41.), alpG, delG, azCr1, azCr2);90 int rc = PlGalCross(ts/3600., lat, (90. - altbolo1), alpG, delG, azCr1, azCr2); 87 91 if (rc != 0) return; // pas deux points d'intersection 88 92 … … 97 101 98 102 azimBolGC = azCross - (sampleNum - (crossings[icross-1]+12))*rotSpeed; 99 // azimut du bolo 1 (central) pour sampleNum103 // azimut bolo 1 from crossing, for sampleNum 100 104 if (azimBolGC > 360) azimBolGC -= 360; 101 105 } … … 121 125 break; 122 126 case 9: 123 delElv = -0.78 * sqrt(3.)/2.;124 delAz = 127 delElv = 0.78 * sqrt(3.)/2.; 128 delAz = - 0.78 * 1./2.; 125 129 break; 126 130 case 4: … … 136 140 } 137 141 delAz /= cos(41 * M_PI/180); 138 elv = 41.+ delElv;142 elv = altbolo1 + delElv; 139 143 az = azimBolGC + delAz; 144 if (az>360) az -= 360; 145 if (az<0) az += 360; 140 146 return; 141 147 } … … 157 163 getAltAzBolo(sampleNum, ibolo, elv, az); 158 164 double ha; 165 double ra,dec; 159 166 aa_hadec (lat * M_PI/180, elv * M_PI/180, az * M_PI/180, &ha, &dec); 160 167 ra = - (ha * 180. / M_PI / 15) + (ts/3600.); … … 167 174 getAltAzBolo(sampleNum, ibolo, elv, az); 168 175 double ha; 176 double ra,dec; 169 177 aa_hadec (lat * M_PI/180, elv * M_PI/180, az * M_PI/180, &ha, &dec); 170 178 ra = - (ha * 180. / M_PI / 15) + (ts/3600.); -
trunk/Poubelle/archTOI.old/templocator.h
r432 r436 32 32 long* crossings; // samplenum des croisements galactiques 33 33 34 double ra ;35 double dec ;34 double raZ; //zenith 35 double decZ; //zenith 36 36 int xSampleNum; // pour le dernier calcul 37 37 double azimBolGC; -
trunk/Poubelle/archTOI.old/toiiter.cc
r432 r436 7 7 extern "C" { 8 8 #include "archeops.h" 9 #include "arcunit.h" 9 10 } 10 11 #endif … … 303 304 trigMask |= block_gps_mask; 304 305 break; 306 case voyantEVO: 307 case voyantEVF: 308 case commandeEV0: 309 case commandeEVF: 310 case commandeEVB: 311 case commandeEVV: 312 case pressEnt3He: 313 case debit3He: 314 case pressSor3He: 315 case pressEnt4He: 316 case debit4He: 317 case pressSor4He: 318 case pressAirVanne: 319 case pressPompChar: 320 case pressMembrane: 321 case pressExterne: 322 case tensPile10T: 323 case tensPileP18D: 324 case tensPileM18D: 325 case tensPile10B: 326 case tensPileP18B: 327 case tensPileM18B: 328 case tensPileCh: 329 case swPile5: 330 case swPile15: 331 case tempCaissH1: 332 case tempCaissH2: 333 case tempCaissB1: 334 case tempCaissB2: 335 case tempCaissTHe: 336 case tempCaissPiles: 337 case tempCaissDrv: 338 case pressHeBain: 339 case pressPirani: 340 trigMask |= block_dilution_mask; 341 break; 305 342 } 306 343 } … … 480 517 case boloRes: 481 518 case boloRawMuVCN: 519 case boloTemp: 482 520 if (imes==0 && file->llastBolo()==NULL) return false; 483 521 return file->lastBolo() != NULL; … … 531 569 case deltaSst: 532 570 return false; 533 534 case boloTemp: 535 return false; 571 case voyantEVO: 572 case voyantEVF: 573 case commandeEV0: 574 case commandeEVF: 575 case commandeEVB: 576 case commandeEVV: 577 case pressEnt3He: 578 case debit3He: 579 case pressSor3He: 580 case pressEnt4He: 581 case debit4He: 582 case pressSor4He: 583 case pressAirVanne: 584 case pressPompChar: 585 case pressMembrane: 586 case pressExterne: 587 case tensPile10T: 588 case tensPileP18D: 589 case tensPileM18D: 590 case tensPile10B: 591 case tensPileP18B: 592 case tensPileM18B: 593 case tensPileCh: 594 case swPile5: 595 case swPile15: 596 case tempCaissH1: 597 case tempCaissH2: 598 case tempCaissB1: 599 case tempCaissB2: 600 case tempCaissTHe: 601 case tempCaissPiles: 602 case tempCaissDrv: 603 case pressHeBain: 604 case pressPirani: 605 return file->lastDilution() != NULL; 536 606 } 537 607 return false; … … 573 643 return (getMJD()-archParam.acq.utcOrigin)*24.; 574 644 case boloMuV: 575 return file->get MuVBolo(index, imes);645 return file->getBoloMuV(index, imes); 576 646 case boloMuV2: 577 return file->get MuVBolo2(index, imes);647 return file->getBoloMuV2(index, imes); 578 648 case boloRawMuV: 579 return file->get RawBolo(index, imes);649 return file->getBoloRawMuV(index, imes); 580 650 case boloRawMuVCN: 581 return file->get MuVBoloCN(index, imes);651 return file->getBoloRawMuVCN(index, imes); 582 652 case boloGainAmpli: 583 653 return file->getGainAmpli(index); … … 587 657 return file->getDACI(index); 588 658 case boloMuV2T: 589 return file->get MuVBolo2T(index, imes);659 return file->getBoloMuV2T(index, imes); 590 660 case boloRes: 591 661 return file->getBoloRes(index, imes); 662 case boloTemp: 663 return file->getBoloTemp(index, imes); 592 664 case dilDAC: 593 665 return file->getADCDil(index); … … 659 731 return 0; 660 732 } 733 case voyantEVO: 734 return voyant_EVO(file->lastDilution()); 735 case voyantEVF: 736 return voyant_EVF(file->lastDilution()); 737 case commandeEV0: 738 return commande_EVO(file->lastDilution()); 739 case commandeEVF: 740 return commande_EVF(file->lastDilution()); 741 case commandeEVB: 742 return commande_EVB(file->lastDilution()); 743 case commandeEVV: 744 return commande_EVV(file->lastDilution()); 745 case pressEnt3He: 746 return pression_entree_3He(file->lastDilution()); 747 case debit3He: 748 return debit_3He(file->lastDilution()); 749 case pressSor3He: 750 return pression_sortie_3He(file->lastDilution()); 751 case pressEnt4He: 752 return pression_entree_4He(file->lastDilution()); 753 case debit4He: 754 return debit_4He(file->lastDilution()); 755 case pressSor4He: 756 return pression_sortie_4He(file->lastDilution()); 757 case pressAirVanne: 758 return pression_air_vanne(file->lastDilution()); 759 case pressPompChar: 760 return pression_pompe_charbon(file->lastDilution()); 761 case pressMembrane: 762 return pression_membranne(file->lastDilution()); 763 case pressExterne: 764 return pression_externe(file->lastDilution()); 765 case tensPile10T: 766 return tension_pile_10T(file->lastDilution()); 767 case tensPileP18D: 768 return tension_pile_p18D(file->lastDilution()); 769 case tensPileM18D: 770 return tension_pile_m18D(file->lastDilution()); 771 case tensPile10B: 772 return tension_pile_10B(file->lastDilution()); 773 case tensPileP18B: 774 return tension_pile_p18B(file->lastDilution()); 775 case tensPileM18B: 776 return tension_pile_m18B(file->lastDilution()); 777 case tensPileCh: 778 return tension_pile_Ch(file->lastDilution()); 779 case swPile5: 780 return switch_pile_5(file->lastDilution()); 781 case swPile15: 782 return switch_pile_15(file->lastDilution()); 783 case tempCaissH1: 784 return temperature_caisson_haut1(file->lastDilution()); 785 case tempCaissH2: 786 return temperature_caisson_haut2(file->lastDilution()); 787 case tempCaissB1: 788 return temperature_caisson_bas1(file->lastDilution()); 789 case tempCaissB2: 790 return temperature_caisson_bas2(file->lastDilution()); 791 case tempCaissTHe: 792 return temperature_caisson_tube_helium(file->lastDilution()); 793 case tempCaissPiles: 794 return temperature_caisson_piles(file->lastDilution()); 795 case tempCaissDrv: 796 return temperature_caisson_driver_moteur(file->lastDilution()); 797 case pressHeBain: 798 return pression_helium_bain(file->lastDilution()); 799 case pressPirani: 800 return pression_pirani(file->lastDilution()); 661 801 } 662 802 return -1; … … 685 825 case boloMuV2T: 686 826 case boloRes: 827 case boloTemp: 687 828 return file->blockNum() == file->getBoloBlockNum(); 688 829 case boloRawMuV: … … 731 872 case deltaRotAxis: 732 873 return true; // $CHECK$ with SSTHandler 874 case voyantEVO: 875 case voyantEVF: 876 case commandeEV0: 877 case commandeEVF: 878 case commandeEVB: 879 case commandeEVV: 880 case pressEnt3He: 881 case debit3He: 882 case pressSor3He: 883 case pressEnt4He: 884 case debit4He: 885 case pressSor4He: 886 case pressAirVanne: 887 case pressPompChar: 888 case pressMembrane: 889 case pressExterne: 890 case tensPile10T: 891 case tensPileP18D: 892 case tensPileM18D: 893 case tensPile10B: 894 case tensPileP18B: 895 case tensPileM18B: 896 case tensPileCh: 897 case swPile5: 898 case swPile15: 899 case tempCaissH1: 900 case tempCaissH2: 901 case tempCaissB1: 902 case tempCaissB2: 903 case tempCaissTHe: 904 case tempCaissPiles: 905 case tempCaissDrv: 906 case pressHeBain: 907 case pressPirani: 908 return file->blockNum() == file->getDilutionBlockNum() && imes==0; 733 909 } 734 910 return false; -
trunk/Poubelle/archTOI.old/toiiter.h
r432 r436 58 58 deltaFPAxis, // 59 59 alphaBolo, // sur le ciel, indexe par bolometre 60 deltaBolo // sur le ciel, indexe par bolometre 60 deltaBolo, // sur le ciel, indexe par bolometre 61 voyantEVO, 62 voyantEVF, 63 commandeEV0, 64 commandeEVF, 65 commandeEVB, 66 commandeEVV, 67 pressEnt3He, 68 debit3He, 69 pressSor3He, 70 pressEnt4He, 71 debit4He, 72 pressSor4He, 73 pressAirVanne, 74 pressPompChar, 75 pressMembrane, 76 pressExterne, 77 tensPile10T, 78 tensPileP18D, 79 tensPileM18D, 80 tensPile10B, 81 tensPileP18B, 82 tensPileM18B, 83 tensPileCh, 84 swPile5, 85 swPile15, 86 tempCaissH1, 87 tempCaissH2, 88 tempCaissB1, 89 tempCaissB2, 90 tempCaissTHe, 91 tempCaissPiles, 92 tempCaissDrv, 93 pressHeBain, 94 pressPirani 61 95 }; 62 96 -
trunk/Poubelle/archTOI.old/toisvr.cc
r432 r436 276 276 processRequest("#COMMENT sst software has not been updated to last DY code"); 277 277 processRequest("#COMMENT trajectory info only while italian TM got GPS info"); 278 processRequest("#COMMENT boloTemp is not implemented"); 279 280 } 278 279 }
Note:
See TracChangeset
for help on using the changeset viewer.