- Timestamp:
- 03/09/04 14:36:31 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3444 r3445 2 2 to send a Changelog file to a line printer directly. Thanks. 3 3 4 For your entries please follow this style: 5 6 _yyyy/mm/dd:_[Your Name] 7 _ 8 ___*_filename: 9 _____-_description 10 _ 11 ___*_filename2, filename3: 12 _____-_description 13 _ 14 _ 15 _ 16 17 While an underscore is a placeholder for a white-space or an empty line. 4 18 5 19 -*-*- END OF LINE -*-*- 20 2004/03/09: Thomas Bretz 21 22 * Makefile.rules: 23 - replaced *.o by $(...) for building archives 24 25 * mjobs/MJCalibration.cc: 26 - exchanged apply and merge task 27 28 * mjobs/MJCalibration.h, mjobs/MJExtractSignal.h, mjobs/MJPedestal.h: 29 - fixed some const-qualifiers 30 31 * mcalib/MHCalibrationChargeBlindPix.cc, 32 mcalib/MHCalibrationChargeCam.cc, 33 mcalib/MHCalibrationChargePINDiode.cc 34 - removed some obsolete output when calling FindCreateObj 35 - changed some 'not found' output messages to be 'Mars-compliant' 36 - replaced some gLog by *fLog 37 38 39 6 40 2004/03/08: Markus Gaug 7 41 8 * mbadpixels/MBadPixelsPix.h42 * mbadpixels/MBadPixelsPix.h 9 43 - small modifications for better readability 10 44 - remove Getters for calibration methods 11 45 12 * mcalib/MCalibrationChargeCam.cc46 * mcalib/MCalibrationChargeCam.cc 13 47 - displaying saturation also for not-valid pixels in GetPixelContent 48 49 14 50 15 51 2004/03/08: Thomas Bretz -
trunk/MagicSoft/Mars/Makefile.rules
r3325 r3445 3 3 $(LIB): $(OBJS) $(CINT)Cint.o 4 4 @echo " - Building Library lib$(LIB)" 5 $(AR) $(LIB) *.o5 $(AR) $(LIB) $(OBJS) $(CINT)Cint.o 6 6 @echo " " 7 7 -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r3435 r3445 348 348 349 349 if (bad.IsBad()) 350 350 { 351 351 pix.SetExcluded(); 352 352 continue; 353 354 353 } 354 355 355 pix.SetAbsTimeBordersHiGain(fSignals->GetFirstUsedSliceHiGain(), 356 356 fSignals->GetLastUsedSliceHiGain()); -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindPix.cc
r3323 r3445 241 241 if (!fRawEvt) 242 242 { 243 *fLog << err << dbginf <<"MRawEvtData not found... aborting." << endl;243 *fLog << err << "MRawEvtData not found... aborting." << endl; 244 244 return kFALSE; 245 245 } … … 248 248 if (!fSignal) 249 249 { 250 *fLog << err << GetDescriptor() << ": ERROR: Could not find MExtractedSignalBlindPixel... aborting " << endl;250 *fLog << err << "MExtractedSignalBlindPixel not found... aborting " << endl; 251 251 return kFALSE; 252 252 } … … 262 262 fBlindPix = (MCalibrationChargeBlindPix*)pList->FindCreateObj("MCalibrationChargeBlindPix"); 263 263 if (!fBlindPix) 264 { 265 *fLog << err << GetDescriptor() << ": ERROR: Could not find MCalibrationChargeBlindPix ... aborting " << endl; 266 return kFALSE; 267 } 264 return kFALSE; 268 265 269 266 return kTRUE; -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.cc
r3434 r3445 275 275 276 276 fRawEvt = (MRawEvtData*)pList->FindObject("MRawEvtData"); 277 278 277 if (!fRawEvt) 279 278 { 280 gLog << err << dbginf << "MRawEvtData not found... aborting." << endl;279 *fLog << err << dbginf << "MRawEvtData not found... aborting." << endl; 281 280 return kFALSE; 282 281 } 283 282 284 283 fGeom = (MGeomCam*)pList->FindObject("MGeomCam"); 285 286 284 if (!fGeom) 287 285 { 288 gLog << err << dbginf<< "MGeomCam not found... aborting." << endl;286 *fLog << err << "MGeomCam not found... aborting." << endl; 289 287 return kFALSE; 290 288 } … … 306 304 fBadPixels = (MBadPixelsCam*)pList->FindCreateObj("MBadPixelsCam"); 307 305 if (!fBadPixels) 306 return kFALSE; 307 308 309 fCam = (MCalibrationChargeCam*)pList->FindCreateObj("MCalibrationChargeCam"); 310 if (!fCam) 311 return kFALSE; 312 313 MExtractedSignalCam *signal = (MExtractedSignalCam*)pList->FindObject("MExtractedSignalCam"); 314 if (!signal) 308 315 { 309 gLog << err << GetDescriptor() << ": ERROR: Could not find MBadPixelsCam ... aborting" << endl;316 *fLog << err << "MExtractedSignalCam not found... abort." << endl; 310 317 return kFALSE; 311 318 } 312 313 314 fCam = (MCalibrationChargeCam*)pList->FindCreateObj("MCalibrationChargeCam");315 if (!fCam)316 {317 gLog << err << GetDescriptor() << ": ERROR: Could not find MCalibrationChargeCam ... aborting " << endl;318 return kFALSE;319 }320 321 MExtractedSignalCam *signal = (MExtractedSignalCam*)pList->FindObject("MExtractedSignalCam");322 if (!signal)323 {324 gLog << err << "No argument in MExtractedSignalCam::ReInit... abort." << endl;325 return kFALSE;326 }327 319 328 320 const Int_t n = signal->GetSize(); … … 382 374 if (!signal) 383 375 { 384 gLog << err << "No argument in MExtractedSignalCam::Fill... abort." << endl;376 *fLog << err << "No argument in MExtractedSignalCam::Fill... abort." << endl; 385 377 return kFALSE; 386 378 } … … 390 382 if (fHiGainArray->GetEntries() != n) 391 383 { 392 gLog << err << "ERROR - Size mismatch... abort." << endl;384 *fLog << err << "ERROR - Size mismatch... abort." << endl; 393 385 return kFALSE; 394 386 } … … 396 388 if (fLoGainArray->GetEntries() != n) 397 389 { 398 gLog << err << "ERROR - Size mismatch... abort." << endl;390 *fLog << err << "ERROR - Size mismatch... abort." << endl; 399 391 return kFALSE; 400 392 } -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargePINDiode.cc
r3280 r3445 134 134 if (!fPINDiode) 135 135 { 136 *fLog << err << GetDescriptor() << ": ERROR: Could not find MCalibrationChargePINDiode... aborting " << endl;136 *fLog << err << "MCalibrationChargePINDiode not found... aborting " << endl; 137 137 return kFALSE; 138 138 } … … 163 163 if (fExtractSlices != 0. && slices != fExtractSlices ) 164 164 { 165 gLog << err << "Number of used signal slices changed in MExtractedSignalCam ... abort."165 *fLog << err << "Number of used signal slices changed in MExtractedSignalCam ... abort." 166 166 << endl; 167 167 return kFALSE; -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r3438 r3445 508 508 MCalibrationChargeCalc calcalc; 509 509 510 MFillH fillpin ( "MHCalibrationChargePINDiode" , "MExtractedSignalPINDiode");511 MFillH fillblind("MHCalibrationChargeBlindPix" , "MExtractedSignalBlindPixel");512 MFillH fillcam ("MHCalibrationChargeCam" , "MExtractedSignalCam");510 MFillH fillpin ("MHCalibrationChargePINDiode", "MExtractedSignalPINDiode"); 511 MFillH fillblind("MHCalibrationChargeBlindPix", "MExtractedSignalBlindPixel"); 512 MFillH fillcam ("MHCalibrationChargeCam", "MExtractedSignalCam"); 513 513 // 514 514 // Apply a filter against cosmics … … 522 522 523 523 tlist.AddToList(&read); 524 tlist.AddToList(&merge); 524 525 tlist.AddToList(&apply); 525 tlist.AddToList(&merge);526 526 tlist.AddToList(&extract); 527 527 tlist.AddToList(&pinext); -
trunk/MagicSoft/Mars/mjobs/MJCalibration.h
r3252 r3445 40 40 TString GetOutputFile() const; 41 41 42 const MCalibrationChargeCam &GetCalibrationCam() const{ return fCalibrationCam; }43 const MBadPixelsCam &GetBadPixels()const { return fBadPixels; }42 MCalibrationChargeCam &GetCalibrationCam() { return fCalibrationCam; } 43 const MBadPixelsCam &GetBadPixels() const { return fBadPixels; } 44 44 45 void SetBadPixels( MBadPixelsCam &bad) { bad.Copy(fBadPixels); }45 void SetBadPixels(const MBadPixelsCam &bad) { bad.Copy(fBadPixels); } 46 46 47 47 Bool_t ReadCalibrationCam(); -
trunk/MagicSoft/Mars/mjobs/MJExtractSignal.h
r3253 r3445 44 44 TString GetOutputFileD() const; 45 45 46 const MPedPhotCam &GetPedPhotCam() const{ return fPedPhotCam; }46 MPedPhotCam &GetPedPhotCam() { return fPedPhotCam; } 47 47 const MBadPixelsCam &GetBadPixels() const { return fBadPixels; } 48 48 49 void SetBadPixels( MBadPixelsCam &bad) { bad.Copy(fBadPixels); }49 void SetBadPixels(const MBadPixelsCam &bad) { bad.Copy(fBadPixels); } 50 50 51 51 Bool_t ProcessD(MPedestalCam &pedcam); -
trunk/MagicSoft/Mars/mjobs/MJPedestal.h
r3155 r3445 40 40 TString GetOutputFile() const; 41 41 42 const MPedestalCam &GetPedestalCam() const{ return fPedestalCam; }43 const MBadPixelsCam &GetBadPixels() 42 MPedestalCam &GetPedestalCam() { return fPedestalCam; } 43 const MBadPixelsCam &GetBadPixels() const { return fBadPixels; } 44 44 45 void SetBadPixels( MBadPixelsCam &bad) { bad.Copy(fBadPixels); }45 void SetBadPixels(const MBadPixelsCam &bad) { bad.Copy(fBadPixels); } 46 46 47 47 Bool_t ProcessFile();
Note:
See TracChangeset
for help on using the changeset viewer.