Changeset 9402
- Timestamp:
- 03/16/09 15:13:43 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9401 r9402 18 18 19 19 -*-*- END OF LINE -*-*- 20 2009/03/16 Daniel Hoehne-Moenchr 20 2009/03/16 Thomas Bretz 21 22 * ganymed.rc, ganymed_onoff.rc, ganymed_wobble.rc: 23 - added new starguider calibration since 1000534 24 25 * datacenter/macros/plotdb.C, datacenter/macros/plotrundb.C: 26 - added option to set ds-number in datset 27 28 * mgeom/MGeomCamMagic.cc: 29 - fixed layout of the MII camera 30 31 * mpointing/MPointingDevCalc.cc: 32 - updated informations 33 34 35 36 2009/03/16 Daniel Hoehne-Moench 37 21 38 * datacenter/scripts/fillcamera 22 39 - bugfix: the first line was moved by a tabulator … … 25 42 26 43 2009/03/16 Stefan Ruegamer 44 27 45 * datacenter/scripts/makecallistolinks 28 46 - added >/dev/null in line 68 to prevent the mails to dc@astro -
trunk/MagicSoft/Mars/NEWS
r9394 r9402 2 2 3 3 == <cvs> == 4 5 ;ganymed: 6 7 * added new starguider calibration for sequences since 1000534 4 8 5 9 -
trunk/MagicSoft/Mars/datacenter/macros/plotdb.C
r9385 r9402 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.5 5 2009-03-04 18:45:26tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.56 2009-03-16 15:13:43 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 379 379 delete fDataSet; 380 380 } 381 void SetDataSet(const TString filename )381 void SetDataSet(const TString filename, UInt_t num=(UInt_t)-1) 382 382 { 383 383 if (fDataSet) … … 392 392 return; 393 393 394 fDataSet = new MDataSet(filename );394 fDataSet = new MDataSet(filename, num); 395 395 fPrimaryNumber="Sequences.fSequenceFirst"; 396 396 } … … 427 427 case kNone: 428 428 case kGroupByPrimary: 429 query += Form("%s AS %s", valued.Data(), valued.Data()+1);429 query += Form("%s AS %s", named.Data(), valued.Data()+1); 430 430 break; 431 431 case kGroupByHour: … … 701 701 } 702 702 703 int plotdb(TString from, TString to, const char *dataset=0 )703 int plotdb(TString from, TString to, const char *dataset=0, UInt_t num=(UInt_t)-1) 704 704 { 705 705 MSQLMagic serv("sql.rc"); … … 721 721 722 722 MPlot plot(serv); 723 plot.SetDataSet(dataset );723 plot.SetDataSet(dataset, num); 724 724 plot.SetDisplay(d); 725 725 plot.SetRequestRange(from, to); … … 731 731 } 732 732 733 int plotdb(const char *ds, TString path)733 int plotdb(const char *ds, UInt_t num, TString path="/magic/sequences") 734 734 { 735 735 MSQLMagic serv("sql.rc"); … … 751 751 752 752 MPlot plot(serv); 753 plot.SetDataSet(ds );753 plot.SetDataSet(ds, num); 754 754 plot.SetDisplay(d); 755 755 plot.SetRequestRange("", ""); … … 759 759 760 760 return 1; 761 } 762 763 int plotdb(const char *ds, TString path="/magic/sequences") 764 { 765 return plotdb(ds, (UInt_t)-1, path); 761 766 } 762 767 -
trunk/MagicSoft/Mars/datacenter/macros/plotrundb.C
r9389 r9402 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: plotrundb.C,v 1. 8 2009-03-06 20:36:20tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: plotrundb.C,v 1.9 2009-03-16 15:13:43 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 78 78 cond += tel; 79 79 } 80 81 //cond +=" AND (RunData.fSourceKEY=403 OR RunData.fSourceKEY=871) "; 82 80 83 plot.SetCondition(cond); 81 84 … … 94 97 95 98 plot.SetDescription("L1 trigger rate after cleaning;R_{L1}", "CleanL1"); 96 plot.Plot("RunDataCheck.fRateCleanedTrig", -0 , 400, 1);99 plot.Plot("RunDataCheck.fRateCleanedTrig", -0.5, 399.5, 1); 97 100 plot.SetDescription("Sum trigger rate after cleaning;R_{sum}", "CleanSum"); 98 plot.Plot("RunDataCheck.fRateCleanedSum", -0 , 400, 1);101 plot.Plot("RunDataCheck.fRateCleanedSum", -0.5, 399.5, 1); 99 102 plot.SetDescription("Unknown events trigger rate after cleaning;R_{0}", "Clean0"); 100 plot.Plot("RunDataCheck.fRateCleanedNull", -0 , 400, 1);103 plot.Plot("RunDataCheck.fRateCleanedNull", -0.5, 399.5, 1); 101 104 102 105 /* … … 122 125 } 123 126 124 int plotrundb(TString from, TString to, const char *dataset=0 )127 int plotrundb(TString from, TString to, const char *dataset=0, UInt_t num=(UInt_t)-1) 125 128 { 126 129 MSQLMagic serv("sql.rc"); … … 142 145 143 146 MPlot plot(serv); 144 plot.SetDataSet(dataset );147 plot.SetDataSet(dataset, num); 145 148 plot.SetDisplay(d); 146 149 plot.SetRequestRange(from, to); … … 152 155 } 153 156 154 int plotrundb(const char *ds )157 int plotrundb(const char *ds, UInt_t num=(UInt_t)-1) 155 158 { 156 159 MSQLMagic serv("sql.rc"); … … 172 175 173 176 MPlot plot(serv); 174 plot.SetDataSet(ds );177 plot.SetDataSet(ds, num); 175 178 plot.SetDisplay(d); 176 179 plot.SetRequestRange("", ""); -
trunk/MagicSoft/Mars/ganymed.rc
r9367 r9402 56 56 #MPointingDevCalc.MaxAge 1.0 57 57 58 MPointingDevCalc.PointingModels: 1 81855 83722 89180 267253 291104 328198 58 MPointingDevCalc.PointingModels: 1 81855 83722 89180 267253 291104 328198 1000534 59 59 60 60 # ------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/ganymed_onoff.rc
r9367 r9402 56 56 #MPointingDevCalc.MaxAge 1.0 57 57 58 MPointingDevCalc.PointingModels: 1 81855 83722 89180 267253 291104 328198 58 MPointingDevCalc.PointingModels: 1 81855 83722 89180 267253 291104 328198 1000534 59 59 60 60 # ------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/ganymed_wobble.rc
r9367 r9402 56 56 #MPointingDevCalc.MaxAge 1.0 57 57 58 MPointingDevCalc.PointingModels: 1 81855 83722 89180 267253 291104 328198 58 MPointingDevCalc.PointingModels: 1 81855 83722 89180 267253 291104 328198 1000534 59 59 60 60 # ------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mgeom/MGeomCamMagic.cc
r9398 r9402 889 889 // 890 890 MGeomCamMagicII::MGeomCamMagicII(const char *name) 891 : MGeomCamDwarf( 475., 30, 17, name)891 : MGeomCamDwarf(505., 30, 17, name) 892 892 { 893 893 SetTitle("Geometry information of Magic II Camera"); … … 902 902 // 903 903 MGeomCamMagicII::MGeomCamMagicII(Double_t dist, const char *name) 904 : MGeomCamDwarf( 475., 30, dist, name)904 : MGeomCamDwarf(505., 30, dist, name) 905 905 { 906 906 SetTitle("Geometry information of Magic II Camera"); -
trunk/MagicSoft/Mars/mpointing/MPointingDevCalc.cc
r9195 r9402 159 159 // 18. Oct. 2007 291104 // Correction for the offsets introduced by AMC 160 160 // 14. Jan. 2008 328198 // Complete new pointing model 161 // 11. Jun. 2008 161 // 11. Jun. 2008 1000534 (ca. 23:00) // Before new TPoints 162 162 // 19. Jun. 2008 (ca. 15:00) // From new TPoints 163 // 7. Mar. 2009 (ca. 14:00) // From new TPoints (0808-0902) 163 164 // 164 165 // From 2.2.2006 beginnig of the night (21:05h, run >=81855) to 24.2.2006
Note:
See TracChangeset
for help on using the changeset viewer.