- Timestamp:
- 09/12/05 16:35:04 (19 years ago)
- Location:
- trunk/MagicSoft
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/tpoint/tpoint0508.txt
r7312 r7349 110 110 -158.9329 59.25593 343.5209 50.3878 22.09639 -0.3197222 -0.02317719 -0.02940316 53605.07934 225.9 3.172 111 111 47.22569 36.54395 189.7476 27.57011 3.405278 49.86111 0.003862221 -0.01007162 53605.086996 226.7 2.778 112 47.2862 19.15062 189.8253 10.21207 5.278056 45.99806 0.0391389 -0.01657546 53605.094364 237.2 2.561112 ##47.2862 19.15062 189.8253 10.21207 5.278056 45.99806 0.0391389 -0.01657546 53605.094364 237.2 2.561 113 113 79.92895 16.68103 222.4622 7.706874 4.598611 16.50917 0.006277146 -0.01605437 53605.099187 230.2 2.585 114 114 11.01569 58.63599 153.4992 49.66254 0.1530556 59.14972 -6.578275e-05 -0.01359514 53605.10435 223.9 2.947 … … 155 155 161.8803 89.35793 299.7242 80.34576 23.06278 28.08278 -0.03738417 -0.6555016 53606.086711 215.8 2.898 156 156 163.6731 89.36407 301.0457 80.35055 23.06278 28.08278 -0.03805907 -0.4174269 53606.086771 214.9 2.896 157 170.8408 89.39057 308.8955 80.37092 23.06278 28.08278 -0.04531978 -1.103237 53606.087063 228.1 2.895158 -121.2917 88.79779 18.18017 79.92512 23.06278 28.08278 -0.031293 0.1311272 53606.090658 221.6 2.902159 -112.6175 88.38288 27.57605 79.51355 23.06278 28.08278 -0.02953879 0.156851 53606.092121 221.5 2.902157 ##170.8408 89.39057 308.8955 80.37092 23.06278 28.08278 -0.04531978 -1.103237 53606.087063 228.1 2.895 158 ##-121.2917 88.79779 18.18017 79.92512 23.06278 28.08278 -0.031293 0.1311272 53606.090658 221.6 2.902 159 ##-112.6175 88.38288 27.57605 79.51355 23.06278 28.08278 -0.02953879 0.156851 53606.092121 221.5 2.902 160 160 -103.036 87.27255 38.36263 78.4079 23.06278 28.08278 -0.02274183 -0.1285554 53606.095774 213.3 2.923 161 161 -92.98912 82.61974 49.06547 73.75633 23.06278 28.08278 -0.0221741 0.02493934 53606.110593 224.7 2.903 … … 170 170 ##*7.06407 89.70317 142.6589 80.73923 0.1397222 29.09056 -0.06803369 -2.191836 53606.131926 220 2.919 171 171 ##*-1.52248 89.78481 133.9971 80.7929 0.1397222 29.09056 -0.1449181 -1.988184 53606.132103 225.2 2.841 172 173 -70.9905 88.95418 69.08482 80.07318 0.1397222 29.09056 -0.0393356 -0.6531291 53606.135354 219.2 2.819 172 ##*-70.9905 88.95418 69.08482 80.07318 0.1397222 29.09056 -0.0393356 -0.6531291 53606.135354 219.2 2.819 174 173 -80.35903 87.83797 60.95691 78.94047 0.1397222 29.09056 -0.05321397 -0.3171041 53606.139033 217.9 2.857 175 174 -84.43938 85.18967 57.44097 76.32055 0.1397222 29.09056 -0.0288866 -0.0387353 53606.147394 216.6 2.818 … … 179 178 -167.0579 42.31837 335.4432 33.45653 0.7263889 -17.98667 -0.01660967 -0.03691953 53606.184352 234.8 2.789 180 179 -158.024 40.35643 344.4685 31.50261 0.7263889 -17.98667 -0.009747074 -0.02461631 53606.204881 233.7 2.818 180 181 # --- 24.08.2005 --- 23:41:30.939 182 -88.52282 74.10703 53.84712 65.24541 19.51194 27.95972 -0.02750961 -0.03491044 53606.987164 213.8 3.427 183 79.64065 66.37057 222.1052 57.38383 22.71667 30.22139 -0.01569475 -0.03328937 53606.99492 215.1 3.497 184 108.8526 58.61587 251.3392 49.62471 23.07944 15.20528 -0.01559677 -0.03124082 53607.000179 223.8 3.241 185 -146.2146 26.10693 356.2921 17.24867 18.92111 -26.29667 -0.01329312 -0.02184206 53607.006437 223.2 2.767 186 79.03573 53.83671 221.5285 44.84998 0.1397222 29.09056 -0.01088316 -0.01395283 53607.014225 212.1 2.952 187 129.5383 70.16923 271.9313 61.15977 23.07944 15.20528 -0.03507286 -0.007031984 53607.041652 219.1 3.171 188 138.9459 72.75265 281.3576 63.73993 23.07944 15.20528 -0.03690827 -0.05554516 53607.053024 218.6 3.189 189 149.0339 74.53999 291.4158 65.53781 23.07944 15.20528 -0.02730475 -0.0541191 53607.062671 213.9 3.206 190 158.7699 75.62856 301.1194 66.63109 23.07944 15.20528 -0.02360277 -0.0386339 53607.07051 207.6 3.243 191 168.9346 76.287 311.2789 67.27668 23.07944 15.20528 -0.03681018 -0.04302131 53607.077839 229.3 3.207 192 175.1255 76.47321 317.4505 67.46098 23.07944 15.20528 -0.03834842 -0.03953659 53607.082066 230.8 3.233 193 178.0896 76.50303 320.4081 67.49782 23.07944 15.20528 -0.03119906 -0.04128377 53607.084064 216 3.236 194 -137.2408 46.33325 5.238231 37.47317 21.52583 -5.571111 -0.01792448 -0.02143795 53607.098696 210.6 3.541 195 -120.8641 58.21629 21.58423 49.35524 21.73639 9.875 -0.01912545 -0.01850997 53607.105274 219.9 3.151 196 -135.0097 51.84021 7.463116 42.96863 22.09639 -0.3197222 -0.0268074 -0.02402511 53607.116329 225.7 3.499 197 -128.5283 40.99052 13.95289 32.14789 21.52583 -5.571111 -0.0002818328 -0.01540228 53607.121639 215.2 3.475 198 -162.2549 29.26456 340.2528 20.39384 22.96083 -29.62222 -0.02528453 -0.02697356 53607.129839 217.6 2.774 199 106.8439 12.75349 249.3786 3.778848 5.242222 -8.201667 0.001284024 -0.02305091 53607.145795 225.9 2.752 200 89.60168 35.56171 232.1273 26.58736 4.598611 16.50917 0.003685579 -0.02187178 53607.153803 228.6 2.591 201 202 # --- 26.08.2005 --- 00:45:50.900 203 32.79023 42.52508 175.3046 33.56231 1.430278 60.23528 0.01006835 -0.008733998 53608.031839 212.9 3.49 204 32.2829 43.65327 174.8099 34.67476 1.430278 60.23528 -0.003129167 -0.02000797 53608.03839 219.2 3.508 205 173.1806 31.3109 315.6816 22.35161 22.96083 -29.62222 0.01467388 -0.02192207 53608.059185 225.3 2.748 206 143.9767 34.81 286.488 25.8176 0.7263889 -17.98667 -0.01653577 -0.03336686 53608.066557 212.9 3.62 207 120.7174 66.50854 263.1535 57.51825 0.2205556 15.18361 -0.01252493 -0.02600608 53608.072355 216.5 3.431 208 14.98074 57.76191 157.4607 48.78977 0.1530556 59.14972 0.001612599 -0.006773034 53608.083932 223 3.107 209 47.28834 39.15133 189.8232 30.1962 3.405278 49.86111 0.02284424 -0.02540887 53608.09011 214 2.836 210 211 # --- 26.08.2005 --- 02:25:29.032 212 -79.00837 79.39428 63.24001 70.52811 22.71667 30.22139 -0.0237752 -0.016141 53608.10103 211.6 3.493 213 ##-0.2182925 41.17548 142.2996 32.2714 23.65583 77.6325 -0.05855314 -0.01400654 53608.108525 214.1 3.688 214 ##-27.29195 15.54849 115.2259 6.607565 16.39972 61.51417 -0.0961527 -0.003416656 53608.115434 222.7 4.936 215 -11.24401 16.81794 131.2871 7.944027 14.845 74.15556 -0.04142678 -0.005003276 53608.119542 229 3.481 216 217 # --- 29.08.2005 --- 04:02:47.274 218 133.9884 79.0162 276.2545 69.99347 1.910556 20.80806 -0.04442089 -0.03447289 53611.168603 211 3.469 219 ##-7.227646 39.66832 135.2945 30.74782 23.65583 77.6325 -0.07557766 -0.01717359 53611.172917 222.9 4.587 220 -15.7744 59.06227 126.6965 50.20527 0.8183333 57.81583 -0.01223994 -0.007022888 53611.18887 206.3 3.915 221 -111.3784 60.62536 31.06256 51.76868 0.2205556 15.18361 -0.01512168 -0.01669907 53611.200159 220.2 3.583 222 75.35055 69.13086 217.7907 60.14197 3.902222 31.88361 -0.01222134 -0.02654317 53611.208418 209.7 3.52 -
trunk/MagicSoft/Mars/NEWS
r7342 r7349 8 8 * general: added a new game. Start it from the interpreter with 9 9 MagicJam j; 10 11 * callisto: MBadPixelsCalc now raises an error instead of simply stopping 12 the eventloop if something went wrong. This is necessary for the 13 automatic processing 14 15 * callisto: Fixed a bug in the treatment of times in the bad pixel 16 treatment. No neighbors have been taken into account, the new 17 arrival time was always calculated by the pixels 0 to 5. 18 19 * callisto: Fixed a bug which caused the random and peak-search pedestal 20 extracted with an extractor to be exchanged for the first (roughly) 21 500 events. (The were simple exchanged in callisto.cc) This bug might 22 have been introduced in Mars 0.9.4 when the order of calculation of the 23 two types of pedestal in callisto got exchanged. The bug only effects 24 the first seconds of data of each sequence. 10 25 11 26 -
trunk/MagicSoft/Mars/callisto.cc
r7189 r7349 598 598 599 599 // Where to search for calibration files 600 if (!job4.Process(job1.GetPedestalCam(), job 2.GetPedestalCam(), job3.GetPedestalCam()))600 if (!job4.Process(job1.GetPedestalCam(), job3.GetPedestalCam(), job2.GetPedestalCam())) 601 601 return 2; 602 602 -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.cc
r7130 r7349 137 137 // too high pedestal Rms with respect to the mean. 138 138 // 139 Bool_t MBadPixelsCalc::CheckPedestalRms(MBadPixelsPix::UnsuitableType_t type) const139 Int_t MBadPixelsCalc::CheckPedestalRms(MBadPixelsPix::UnsuitableType_t type) const 140 140 { 141 141 const Bool_t checklo = fPedestalLevelVarianceLo>0; … … 310 310 Int_t MBadPixelsCalc::Process() 311 311 { 312 return fCheckInProcess ? CheckPedestalRms(MBadPixelsPix::kUnsuitableEvt) : kTRUE; 312 if (!fCheckInProcess) 313 return kTRUE; 314 315 return CheckPedestalRms(MBadPixelsPix::kUnsuitableEvt) ? kTRUE : kERROR; 313 316 } 314 317 -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r7117 r7349 441 441 for (unsigned int j=0; j<time.GetSize(); j++) 442 442 { 443 const Double_t t = (*fEvt)[j].GetArrivalTime(); 444 if (t>=0) 443 const Int_t nn = gpix.GetNeighbor(j); 444 445 const Double_t t = (*fEvt)[nn].GetArrivalTime(); 446 if (t>=0 && !IsPixelBad(nn)) 445 447 time[n0++] = t; 446 448 } -
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r7178 r7349 2045 2045 //if (!GetCanvas(c->GetName())) 2046 2046 if (!tab || c->GetName()==(TString)tab) 2047 DrawClonePad( AddTab(c->GetName()), *c);2047 DrawClonePad(c->GetName(), *c); 2048 2048 2049 2049 return kTRUE; -
trunk/MagicSoft/Mars/mbase/MStatusDisplay.h
r7001 r7349 204 204 void Update() { HandleTimer(&fTimer); HandleTimer(&fLogTimer); } 205 205 206 void DrawClonePad(const char *tab, TCanvas &oldc) 207 { 208 DrawClonePad(AddTab(tab), oldc); 209 } 210 206 211 void SetNoContextMenu(Bool_t flag=kTRUE); 207 212 -
trunk/MagicSoft/Mars/mgui/MCamEvent.cc
r4577 r7349 55 55 InitSize(geom.GetNumPixels()); 56 56 } 57 58 // -------------------------------------------------------------------------- 59 // 60 // Return the mean of all corresponding GetPixelContent 61 // 62 Double_t MCamEvent::GetCameraMean(const MGeomCam &cam, Int_t type) const 63 { 64 Int_t num = 0; 65 Double_t mean = 0; 66 for (unsigned int i=0; i<cam.GetNumPixels(); i++) 67 { 68 Double_t val; 69 if (!GetPixelContent(val, i, cam, type)) 70 continue; 71 72 mean += val; 73 num ++; 74 } 75 return num == 0 ? 0 : mean/num; 76 } -
trunk/MagicSoft/Mars/mgui/MCamEvent.h
r4577 r7349 17 17 virtual void InitSize(const UInt_t i) { } // Used by MGeomApply see Init() 18 18 19 virtual Double_t GetCameraMean(const MGeomCam &cam, Int_t type=0) const; 20 19 21 ClassDef(MCamEvent, 0) // A camera event 20 22 }; -
trunk/MagicSoft/Mars/mhflux/MHThreshold.h
r7170 r7349 15 15 { 16 16 private: 17 const MMcEvt *fMcEvt; //! P Ointer to MC energy17 const MMcEvt *fMcEvt; //! Pointer to MC energy 18 18 19 19 TH1D fHEnergy; -
trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.cc
r7223 r7349 86 86 using namespace std; 87 87 88 const TString MHSectorVsTime::gsDefName = "M SectorHVsTime";88 const TString MHSectorVsTime::gsDefName = "MHSectorVsTime"; 89 89 const TString MHSectorVsTime::gsDefTitle = "Graph of sector mean vs. time"; 90 90 -
trunk/MagicSoft/Mars/mjobs/MDataSet.cc
r7286 r7349 110 110 while (!runs.IsNull()) 111 111 { 112 TString num = runs(regexp); 112 const TString num = runs(regexp); 113 114 if (num.IsNull()) 115 { 116 *fLog << warn << "WARNING - Sequence is NaN (not a number): " << runs << endl; 117 break; 118 } 113 119 114 120 const Int_t seq = atoi(num.Data()); … … 122 128 123 129 if (i<n) 124 *fLog << warn << "WARNING - Sequence #" << seq << " alr aedy in list... skipped." << endl;130 *fLog << warn << "WARNING - Sequence #" << seq << " already in list... skipped." << endl; 125 131 else 126 132 { -
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r7287 r7349 171 171 p += "/"; 172 172 p += fNameOutput.IsNull() ? Form("ganymed%08d.root", num) : fNameOutput.Data(); 173 gSystem->ExpandPathName(p); 173 174 return p; 174 175 } -
trunk/MagicSoft/Mars/mjobs/MSequence.cc
r7220 r7349 166 166 while (!runs.IsNull()) 167 167 { 168 TString num = runs(regexp); 168 const TString num = runs(regexp); 169 170 if (num.IsNull()) 171 { 172 *fLog << warn << "WARNING - Run is NaN (not a number): " << runs << endl; 173 break; 174 } 169 175 170 176 const Int_t run = atoi(num.Data()); … … 178 184 179 185 if (i<n) 180 *fLog << warn << "WARNING - Run #" << run << " alr aedy in list... skipped." << endl;186 *fLog << warn << "WARNING - Run #" << run << " already in list... skipped." << endl; 181 187 else 182 188 { -
trunk/MagicSoft/Mars/mpedestal/MPedPhotCam.cc
r7223 r7349 357 357 break; 358 358 case 5: 359 val = (*this)[idx].GetRms()* TMath::Sqrt(cam.GetPixRatio(idx));359 val = (*this)[idx].GetRms()*cam.GetPixRatioSqrt(idx); 360 360 break; 361 361 default: -
trunk/MagicSoft/Mars/msignal/MSignalCam.cc
r7297 r7349 252 252 Float_t testval = pix.GetNumPhotons()/pix.GetErrorPhot(); 253 253 if (geom) 254 testval *= TMath::Sqrt(geom->GetPixRatio(i/*pix.GetPixId()*/));254 testval *= geom->GetPixRatioSqrt(i/*pix.GetPixId()*/); 255 255 256 256 if (testval < minval) … … 280 280 Float_t testval = pix.GetNumPhotons()/pix.GetErrorPhot(); 281 281 if (geom) 282 testval *= TMath::Sqrt(geom->GetPixRatio(i/*pix.GetPixId()*/));282 testval *= geom->GetPixRatioSqrt(i/*pix.GetPixId()*/); 283 283 284 284 if (testval > maxval) -
trunk/MagicSoft/Mars/msignal/MSignalCam.h
r6856 r7349 46 46 } 47 47 48 // Setter functions for use in image cleaning classes only 49 void SetSinglePixels(Short_t num, Float_t size) { fNumSinglePixels=num; fSizeSinglePixels=size; } 50 void SetNumPixelsSaturated(UInt_t hi, UInt_t lo) { fNumPixelsSaturatedHiGain=hi;fNumPixelsSaturatedLoGain=lo; } 51 48 52 // Getter functions 49 53 UInt_t GetNumPixels() const { return fPixels->GetEntriesFast(); } … … 55 59 Int_t GetNumPixelsSaturatedHiGain() const { return fNumPixelsSaturatedHiGain; } 56 60 Int_t GetNumPixelsSaturatedLoGain() const { return fNumPixelsSaturatedLoGain; } 57 58 // Setter functions for use in image cleaning classes only59 void SetSinglePixels(Short_t num, Float_t size) { fNumSinglePixels=num; fSizeSinglePixels=size; }60 void SetNumPixelsSaturated(UInt_t hi, UInt_t lo) { fNumPixelsSaturatedHiGain=hi;fNumPixelsSaturatedLoGain=lo; }61 61 62 62 Bool_t IsPixelExisting(Int_t id) const;
Note:
See TracChangeset
for help on using the changeset viewer.