Changeset 9518 for trunk/MagicSoft
- Timestamp:
- 10/26/09 14:31:19 (15 years ago)
- Location:
- trunk/MagicSoft
- Files:
-
- 67 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Makefile
r9497 r9518 16 16 # 17 17 18 OSTYPE=$(shell uname -s | tr '[:upper:]' '[:lower:]') 19 18 include Makefile.conf.general 20 19 include Makefile.conf.$(OSTYPE) 21 include Makefile.conf.general22 20 23 21 # … … 26 24 SOLIB := libmars.so 27 25 28 CINT = M26 CINT = M 29 27 30 28 # -
trunk/MagicSoft/Mars/Makefile.conf.general
r9394 r9518 17 17 # export MARSLIBS="-lX11 -lXpm -L/usr/X11R6/lib" 18 18 # 19 OSTYPE = $(shell uname -s | tr '[:upper:]' '[:lower:]') 20 19 21 DEFINES := -DMARSVER=\"\<cvs\>\" -D__MARS__ $(ARCHDEF) $(MARSDEFINES) 20 22 -
trunk/MagicSoft/Mars/callisto.cc
r9482 r9518 87 87 gLog << " --movie Write a movie in addition to Mode-Y (this might " << endl; 88 88 gLog << " stop the eventloop before all evts are processed)" << endl; 89 gLog << " --test Use this to calibrate the callibration files" << endl; 90 gLog << " instead of the data files (for test purposes)" << endl; 89 91 // gLog << " --moon Force using pedestal fits instead of calculated RMS" << endl; 90 92 gLog << " --config=callisto.rc Resource file [default=callisto.rc]" << endl; … … 177 179 const Bool_t kDebugMem = arg.HasOnlyAndRemove("--debug-mem"); 178 180 const Bool_t kNullOut = arg.HasOnlyAndRemove("--dev-null"); 181 const Bool_t kTestMode = arg.HasOnlyAndRemove("--test"); 179 182 // Bool_t kMoon = arg.HasOnlyAndRemove("--moon"); 180 183 Int_t kDebugEnv = arg.HasOnlyAndRemove("--debug-env") ? 1 : 0; … … 510 513 job1.SetUseData(); 511 514 job1.SetExtractionFundamental(); 512 // job1.SetUseHists(kMoon);513 515 514 516 if (!job1.Process()) … … 627 629 job4.SetNullOut(kNullOut); 628 630 job4.SetCommandLine(MArgs::GetCommandLine(argc, argv)); 631 job4.SetTestMode(kTestMode); 629 632 if (!seq.IsMonteCarlo()) 630 633 job4.SetExtractor(job2.GetExtractor()); -
trunk/MagicSoft/Mars/ceres.rc
r9426 r9518 48 48 # BinningZd.Raw: 70 0 70 49 49 # BinningViewCone.Raw: 155 0 31 50 # BinningTrigPo d.Raw: 150 -25 12550 # BinningTrigPos.Raw: 150 -25 125 51 51 # BinningEvtWidth.Raw: 150 0 25 52 52 # BinningDist.Raw: 100 0 2.5 … … 137 137 PhotonDetectionEfficiency.FileName: resmc/dwarf-pde-gapd.txt 138 138 ConesAngularAcceptance.FileName: resmc/dwarf-cones.txt 139 ConesTransmission.FileName: resmc/dwarf-cones-trans.txt 139 140 140 141 -
trunk/MagicSoft/Mars/condor/program.submit
r8880 r9518 2 2 Arguments = $(args) 3 3 4 Out 4 Output = $(out) 5 5 Error = $(err) 6 6 … … 8 8 copy_to_spool = false 9 9 getenv = True 10 Log = /tmp/delme.log 10 #Log = /tmp/dag.log 11 #Log = $(out) 11 12 notification = Error 12 13 -
trunk/MagicSoft/Mars/manalysis/Makefile
r9153 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc
r9302 r9518 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MAstroCatalog.cc,v 1.3 3 2009-02-07 20:40:01tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MAstroCatalog.cc,v 1.34 2009-10-26 14:31:17 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 170 170 171 171 // Datacenter default path for catalogs 172 const TString MAstroCatalog::kDefaultPath="/magic/datacenter/setup ";172 const TString MAstroCatalog::kDefaultPath="/magic/datacenter/setup/"; 173 173 174 174 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mastro/Makefile
r7784 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mbadpixels/Makefile
r8577 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mbase/MAGIC.cc
r9195 r9518 40 40 bool MARS::CheckRootVer() 41 41 { 42 if (strcmp(gROOT->GetVersion(), "5.22/00")>0) 43 { 44 cout << "WARNING - Especially root 5.24/00 has a severe bug in projection 2D histograms" << endl; 45 cout << " which might cause unexpected crashes and could also affect the results." << endl; 46 cout << " Please, avoid using these root versions." << endl; 47 } 48 42 49 if (!strcmp(gROOT->GetVersion(), ROOT_RELEASE)) 43 50 return true; -
trunk/MagicSoft/Mars/mbase/MEnv.h
r9345 r9518 41 41 Int_t GetValue(const char *name, Int_t dflt); 42 42 Double_t GetValue(const char *name, Double_t dflt); 43 const char *GetValue(const char *name, const char *dflt );43 const char *GetValue(const char *name, const char *dflt=""); 44 44 45 45 // GetValue: regexp -
trunk/MagicSoft/Mars/mbase/MLut.cc
r9462 r9518 38 38 #include <stdlib.h> // atoi (Ubuntu 8.10) 39 39 40 #include <TRegexp.h> 41 40 42 #include "MLog.h" 41 43 #include "MLogManip.h" … … 286 288 Int_t MLut::ReadStream(istream &fin) 287 289 { 290 static const TRegexp reg("[^ 1234567890]"); 291 288 292 Delete(); 293 294 Int_t n = 0; 289 295 290 296 while (1) … … 294 300 if (!fin) 295 301 break; 302 303 n++; 304 305 if (line.Contains(reg)) 306 { 307 gLog << warn << "WARNING - MLut::ReadStream: Line #" << n << " contains invalid character... ignored." << endl; 308 continue; 309 } 296 310 297 311 // Split line by whitespaces -
trunk/MagicSoft/Mars/mbase/MParSpline.cc
r9428 r9518 322 322 fSpline->Paint("PC"); 323 323 } 324 325 void MParSpline::RecursiveRemove(TObject *obj) 326 { 327 if (obj==fSpline) 328 fSpline=0; 329 } -
trunk/MagicSoft/Mars/mbase/MParSpline.h
r9428 r9518 23 23 public: 24 24 MParSpline(const char *name=0, const char *title=0); 25 ~MParSpline() { Clear(); } 25 26 26 27 // MParSpline … … 50 51 void Paint(Option_t *o=""); 51 52 53 void RecursiveRemove(TObject *obj); 54 52 55 ClassDef(MParSpline, 1) // Container to hold a MSpline3 53 56 }; -
trunk/MagicSoft/Mars/mbase/MSpline3.cc
r9450 r9518 157 157 // W := fX[i+1]-fX[i] 158 158 // 159 Double_t MSpline3::Integral (Int_t i, Double_t x) const159 Double_t MSpline3::IntegralBin(Int_t i, Double_t x) const 160 160 { 161 161 Double_t x0, y, b, c, d; … … 171 171 // Return the integral of the spline's bin i. 172 172 // 173 Double_t MSpline3::Integral (Int_t i) const173 Double_t MSpline3::IntegralBin(Int_t i) const 174 174 { 175 175 Double_t x, y; … … 177 177 GetKnot(i+1, x, y); 178 178 179 return Integral (i, x);179 return IntegralBin(i, x); 180 180 } 181 181 … … 189 189 const Int_t m = FindX(b); 190 190 191 Double_t sum = -Integral (n, a);191 Double_t sum = -IntegralBin(n, a); 192 192 193 193 for (int i=n; i<=m-1; i++) 194 sum += Integral (i);195 196 sum += Integral (m, b);194 sum += IntegralBin(i); 195 196 sum += IntegralBin(m, b); 197 197 198 198 return sum; … … 208 208 209 209 for (int i=0; i<GetNp()-1; i++) 210 sum += Integral (i);210 sum += IntegralBin(i); 211 211 212 212 return sum; -
trunk/MagicSoft/Mars/mbase/MSpline3.h
r9424 r9518 15 15 MArrayD &ConvertFunc(const TF1 &f, Float_t freq) const; 16 16 17 Double_t Integral (Int_t i, Double_t x) const;18 Double_t Integral (Int_t i) const;17 Double_t IntegralBin(Int_t i, Double_t x) const; 18 Double_t IntegralBin(Int_t i) const; 19 19 20 20 public: -
trunk/MagicSoft/Mars/mbase/Makefile
r9428 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r9374 r9518 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MCalibrationChargeCalc.cc,v 1.18 7 2009-03-02 14:32:49tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MCalibrationChargeCalc.cc,v 1.188 2009-10-26 14:31:18 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 1357 1357 { 1358 1358 areavars[i] = (areavars[i] - areaphes[i]*areaphes[i]/numareavalid[i]) / (numareavalid[i]-1); 1359 areaphes[i] = areaphes[i] /numareavalid[i];1359 areaphes[i] /= numareavalid[i]; 1360 1360 } 1361 1361 -
trunk/MagicSoft/Mars/mcalib/Makefile
r8657 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mcamera/Makefile
r7443 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mcorsika/MCorsikaRead.h
r9186 r9518 17 17 { 18 18 private: 19 MCorsikaRunHeader *fRunHeader; // run header information container to fill from file20 MCorsikaEvtHeader *fEvtHeader; // event header information container to fill from file21 MPhotonEvent *fEvent; // event information19 MCorsikaRunHeader *fRunHeader; //! run header information container to fill from file 20 MCorsikaEvtHeader *fEvtHeader; //! event header information container to fill from file 21 MPhotonEvent *fEvent; //! event information 22 22 23 23 Bool_t fForceMode; // Force mode skipping defect RUNE -
trunk/MagicSoft/Mars/mcorsika/Makefile
r9182 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mdata/MDataMember.h
r8892 r9518 17 17 TString fDataMember; 18 18 19 MParContainer *fObject; 20 TMethodCall *fCall; 19 MParContainer *fObject; //! A pointer to the container from the paramater list 20 TMethodCall *fCall; //! The corresponding method call to the member function 21 21 22 22 enum { kIsInt = BIT(14) }; … … 48 48 void SetVariables(const TArrayD &arr) { } 49 49 50 ClassDef(MDataMember, 1) // MData object corresponding to a single data member of a Mars container50 ClassDef(MDataMember, 2) // MData object corresponding to a single data member of a Mars container 51 51 }; 52 52 -
trunk/MagicSoft/Mars/mdata/Makefile
r8073 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/melectronics/Makefile
r9473 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mextralgo/Makefile
r7942 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mfbase/Makefile
r8091 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mfileio/Makefile
r9029 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ 12 12 13 13 INCLUDES = -I. -I../mbase -I../mraw -I../mmc -I../mreflector -I../mgui \ 14 -I../mdata -I../mbadpixels 14 -I../mdata -I../mbadpixels -I../msim 15 15 #mraw: MRawRunHeader (MReadMaraFile) 16 16 #mmc: MMcRunHeader (MReadMarsFile) -
trunk/MagicSoft/Mars/mfilter/MFSoftwareTrigger.cc
r9374 r9518 388 388 memset(fCut, 0, sizeof(fCut)); 389 389 390 switch (fType) 391 { 392 case kSinglePixelNeighbors: 393 if (fNumNeighbors<2) 394 *fLog << inf << "Software trigger switched off (fNumNeighbors<2)." << endl; 395 else 396 *fLog << inf << fNumNeighbors << " required above " << fThreshold << " within " << fTimeWindow << "ns." << endl; 397 break; 398 case kAnyPattern: 399 *fLog << inf << "Cluster trigger switched on." << endl; 400 break; 401 } 402 390 403 return kTRUE; 391 404 } … … 400 413 { 401 414 case kSinglePixelNeighbors: 402 fResult = SwTrigger();415 fResult = fNumNeighbors>1 ? SwTrigger() : kTRUE; 403 416 break; 404 417 case kAnyPattern: -
trunk/MagicSoft/Mars/mfilter/Makefile
r8419 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mgeom/Makefile
r9464 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mgui/Makefile
r3927 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mhbase/MH3.cc
r9362 r9518 367 367 MH3::~MH3() 368 368 { 369 delete fHist; 369 if (fHist) 370 delete fHist; 370 371 371 372 for (int i=0; i<4; i++) -
trunk/MagicSoft/Mars/mhbase/MHn.cc
r9302 r9518 596 596 } 597 597 } 598 599 void MHn::RecursiveRemove(TObject *obj) 600 { 601 for (int i=0; i<6; i++) 602 { 603 if (!fHist[i]) 604 continue; 605 606 if (obj==fHist[i]) 607 fHist[i] = 0; 608 else 609 fHist[i]->RecursiveRemove(obj); 610 } 611 } -
trunk/MagicSoft/Mars/mhbase/MHn.h
r9195 r9518 75 75 //void Paint(Option_t *opt=""); 76 76 77 void RecursiveRemove(TObject *obj); 78 77 79 ClassDef(MHn, 1) // Generalized histogram class for up to six histograms 78 80 }; -
trunk/MagicSoft/Mars/mhbase/Makefile
r8695 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mhcalib/Makefile
r8988 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mhflux/Makefile
r7717 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mhft/Makefile
r6857 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mhist/MHCamEvent.cc
r9312 r9518 407 407 if (obj==fErr) 408 408 fErr = 0; 409 } 409 if (obj==fSum) 410 fSum = 0; 411 } -
trunk/MagicSoft/Mars/mhvstime/Makefile
r5676 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mimage/Makefile
r8957 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r9480 r9518 1735 1735 cont.Add(&fSequence); 1736 1736 1737 TNamed cmdline("CommandLine", fCommandLine.Data()); 1738 cont.Add(&cmdline); 1739 1737 1740 return WriteContainer(cont, GetOutputFileName(), "UPDATE"); 1738 1741 } -
trunk/MagicSoft/Mars/mjobs/Makefile
r9275 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mjoptim/Makefile
r8643 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mmain/Makefile
r9347 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mmontecarlo/Makefile
r6939 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mmovie/Makefile
r8434 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mmuon/Makefile
r6979 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mpedestal/Makefile
r8154 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mpointing/MPointingDevCalc.cc
r9402 r9518 162 162 // 19. Jun. 2008 (ca. 15:00) // From new TPoints 163 163 // 7. Mar. 2009 (ca. 14:00) // From new TPoints (0808-0902) 164 // 14. May 2009 // M1/M2 after upgrade (from TPoints taken in the days before) 165 // 17. Aug. 2009 New pointing models for both telescopes 166 // 164 167 // 165 168 // From 2.2.2006 beginnig of the night (21:05h, run >=81855) to 24.2.2006 … … 240 243 // found. 241 244 // 245 // [2009-08-05 Mail from Markus Garcz. about M1] 246 // [...] 247 // On the 23.07.2009 we tested the new LUTs using the star Etamin. The 248 // PSF (sigma) improved from 11.0 mm to 9.5 mm and the total light content 249 // in one PMT from 54% to 62%. 250 // Furthermore I saw a small movement of the spot after the new focussing: 251 // dX = 3 CCD pixel = 7 mm 252 // dY = 2 CCD pixel = 4.7 mm 253 // The new LUTs are now installed since the 23.07.2009 and are used as 254 // default during the observation. 255 // [...] 256 // 257 // 258 // [2009-10-16 Email Adrian] 259 // 260 // I checked the AMC2 log files to check which LUTs had been used in which nights 261 // until 09/09/12 the old version from March had always been used 262 // 09/09/13-09/09/16 LUT_090913 (test) was used (by mistake) 263 // 09/09/17-09/09/20 switched back to the version from March 264 // since 09/09/21 using actual version LUT_090918 265 // (PSF at ~10deg still rather poor, but I see strange 266 // effects I do not yet understand and therefore cannot 267 // correct) 268 // Especially: nothing has changed in the AMC on 09/09/09, 269 // except that around that date the SBIG camera was readjusted (but this 270 // has no direct affect on the AMC) 271 // 272 // 273 // Others 274 // ------ 275 // 276 // The pointing of both(!) telescopes changed >2009/06/11 2:36h 277 // In both cases the reason is unknown. 278 // 279 // The pointing has changed for M2 after 2009/09/09 noon 280 // It recovered to the previous pointing at 2009/10/08 noon 281 // Resons unknown (there were LUT changes but at different dates) 282 // 242 283 // 243 284 // ToDo: -
trunk/MagicSoft/Mars/mpointing/Makefile
r7560 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mranforest/Makefile
r7413 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mraw/Makefile
r8999 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mreport/Makefile
r8955 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/msignal/Makefile
r8154 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/msim/Makefile
r9351 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/msimcamera/MSimAPD.cc
r9462 r9518 173 173 break; 174 174 175 case 3: 176 ncells = 60; 177 crosstalk = 0.15; 178 deadtime = 3; 179 recovery = 8.75; 180 break; 181 175 182 default: 176 183 *fLog << err << "ERROR - APD type " << fType << " undefined." << endl; -
trunk/MagicSoft/Mars/msimcamera/MSimBundlePhotons.cc
r9422 r9518 173 173 const Int_t &idx = row[0]; 174 174 175 // Check if we were routed to a valid entry 175 // Check if we were routed to a valid entry ("not connected") 176 176 // if not throw away this photon. 177 177 if (idx<0) -
trunk/MagicSoft/Mars/msimcamera/MSimExcessNoise.cc
r9252 r9518 59 59 // 60 60 MSimExcessNoise::MSimExcessNoise(const char* name, const char *title) 61 : fEvt(0) 61 : fEvt(0), fExcessNoise(0.2) 62 62 { 63 63 fName = name ? name : "MSimExcessNoise"; … … 77 77 return kFALSE; 78 78 } 79 80 *fLog << inf << "Excess Noise Factor in use " << fExcessNoise << "%" << endl; 79 81 80 82 return kTRUE; … … 96 98 continue; 97 99 98 const Float_t neww = gRandom->Gaus(oldw, 0.2*TMath::Sqrt(oldw));100 const Float_t neww = gRandom->Gaus(oldw, fExcessNoise*TMath::Sqrt(oldw)); 99 101 ph.SetWeight(neww); 100 102 } … … 102 104 return kTRUE; 103 105 } 106 107 // -------------------------------------------------------------------------- 108 // 109 // ExcessNoise: 0.2 110 // 111 Int_t MSimExcessNoise::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 112 { 113 Bool_t rc = kFALSE; 114 if (IsEnvDefined(env, prefix, "ExcessNoise", print)) 115 { 116 rc = kTRUE; 117 fExcessNoise = GetEnvValue(env, prefix, "ExcessNoise", fExcessNoise); 118 } 119 120 return rc; 121 } -
trunk/MagicSoft/Mars/msimcamera/MSimExcessNoise.h
r9239 r9518 14 14 MPhotonEvent *fEvt; //! Event storing the photons 15 15 16 Double_t fExcessNoise; 17 18 // MParContainer 19 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE); 20 16 21 // MTask 17 22 Int_t PreProcess(MParList *pList); -
trunk/MagicSoft/Mars/msimcamera/MSimTrigger.cc
r9465 r9518 277 277 } 278 278 279 fElectronicNoise = 0;280 if (fShiftBaseline)281 {282 fElectronicNoise = (MPedestalCam*)pList->FindObject("ElectronicNoise", "MPedestalCam");283 if (!fElectronicNoise)284 {285 *fLog << err << "ElectronicNoise [MPedestalCam] not found... aborting." << endl;286 return kFALSE;287 }288 *fLog << inf << "Baseline will be shifted back to 0 for discriminator." << endl;289 }290 291 fGain = 0;292 if (fUngainSignal)293 {294 fGain = (MPedestalCam*)pList->FindObject("Gain", "MPedestalCam");295 if (!fGain)296 {297 *fLog << err << "Gain [MPedestalCam] not found... aborting." << endl;298 return kFALSE;299 }300 *fLog << inf << "Discriminator will be multiplied by applied gain." << endl;301 }302 303 279 fRunHeader = (MRawRunHeader*)pList->FindObject("MRawRunHeader"); 304 280 if (!fRunHeader) … … 311 287 if (!fEvtHeader) 312 288 return kFALSE; 289 290 if (!fSimulateElectronics) 291 { 292 *fLog << inf << "Simulation of electronics switched off... first photon will trigger." << endl; 293 return kTRUE; 294 } 295 296 fElectronicNoise = 0; 297 if (fShiftBaseline) 298 { 299 fElectronicNoise = (MPedestalCam*)pList->FindObject("ElectronicNoise", "MPedestalCam"); 300 if (!fElectronicNoise) 301 { 302 *fLog << err << "ElectronicNoise [MPedestalCam] not found... aborting." << endl; 303 return kFALSE; 304 } 305 *fLog << inf << "Baseline will be shifted back to 0 for discriminator." << endl; 306 } 307 308 fGain = 0; 309 if (fUngainSignal) 310 { 311 fGain = (MPedestalCam*)pList->FindObject("Gain", "MPedestalCam"); 312 if (!fGain) 313 { 314 *fLog << err << "Gain [MPedestalCam] not found... aborting." << endl; 315 return kFALSE; 316 } 317 *fLog << inf << "Discriminator will be multiplied by applied gain." << endl; 318 } 313 319 314 320 fRouteAC.Delete(); -
trunk/MagicSoft/Mars/msimcamera/Makefile
r9436 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/msimreflector/MReflector.cc
r9490 r9518 373 373 // SigmaPSF can be used to set a default for the psf of the mirrors 374 374 // read from the file. Note, that this can be overwritten for individual 375 // mirrors in the file. 375 // mirrors in the file. The SigmaPSF is the sigma of a 1D-Gauss fitted 376 // to the radial profile of the light distribution. 376 377 // 377 378 // For details on the file structure see MReflector::ReadFile -
trunk/MagicSoft/Mars/msql/Makefile
r7940 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 ############################################################ -
trunk/MagicSoft/Mars/mtrigger/Makefile
r5725 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------ -
trunk/MagicSoft/include-Classes/MMcFormat/Makefile
r7436 r9518 6 6 # 7 7 ################################################################## 8 include ../Makefile.conf.general 8 9 include ../Makefile.conf.$(OSTYPE) 9 include ../Makefile.conf.general10 10 11 11 #------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.