Changeset 8218 for trunk/MagicSoft/Mars
- Timestamp:
- 12/11/06 11:43:32 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8217 r8218 18 18 19 19 -*-*- END OF LINE -*-*- 20 2006/12/11 Thomas Bretz 21 22 * mbase/MParContainer.cc, mbase/MParList.cc: 23 - some improvements to log-output 24 25 * mextralgo/MExtralgoDigitalFilter.cc: 26 - default for "out-of-range" is now -2 27 28 * mpedestal/MHPedestalCor.cc: 29 - small fix (the used range was one slice to brought) 30 31 32 20 33 2006/12/04 Thomas Bretz 21 34 -
trunk/MagicSoft/Mars/mbase/MParContainer.cc
r7887 r8218 572 572 { 573 573 *fLog << err; 574 *fLog << dbginf << GetDescriptor() << " - Cannot create new instance of class '" << name << "': ";575 *fLog << " -Class " << cls->GetName() << " doesn't inherit from " << base << endl;574 *fLog << dbginf << GetDescriptor() << "Cannot create new instance of class '" << name << "': " << endl; 575 *fLog << "Class " << cls->GetName() << " doesn't inherit from " << base << endl; 576 576 return NULL; 577 577 } … … 584 584 { 585 585 *fLog << err; 586 *fLog << dbginf << GetDescriptor() << " - Cannot create new instance of class '" << name << "': " ;586 *fLog << dbginf << GetDescriptor() << " - Cannot create new instance of class '" << name << "': " << endl; 587 587 *fLog << " - Class " << cls->GetName() << " has no default constructor." << endl; 588 588 *fLog << " - An abstract member functions of a base class is not overwritten." << endl; -
trunk/MagicSoft/Mars/mbase/MParList.cc
r7808 r8218 594 594 if (!cls->InheritsFrom(MParContainer::Class())) 595 595 { 596 *fLog << " - Class doesn't inherit from MParContainer." << endl; 596 *fLog << err << dbginf << "Cannot create new instance of class '" << cname << "': " << endl; 597 *fLog << "Class doesn't inherit from MParContainer." << endl; 597 598 return NULL; 598 599 } … … 604 605 if (!pcont) 605 606 { 607 *fLog << err << dbginf << "Cannot create new instance of class '" << cname << "': " << endl; 606 608 *fLog << " - Class has no default constructor." << endl; 607 609 *fLog << " - An abstract member functions of a base class is not overwritten." << endl; -
trunk/MagicSoft/Mars/mextralgo/MExtralgoDigitalFilter.cc
r8165 r8218 138 138 { 139 139 fSignal = 0; // default is: no pulse found 140 fTime = - 1; // default is: out if range (--> random)140 fTime = -2; // default is: out if range (--> random) 141 141 fSignalDev = 0; // default is: valid 142 142 fTimeDev = 0; // default is: valid -
trunk/MagicSoft/Mars/mpedestal/MHPedestalCor.cc
r8152 r8218 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHPedestalCor.cc,v 1. 1 2006-10-24 08:09:26tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHPedestalCor.cc,v 1.2 2006-12-11 11:43:32 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 96 96 97 97 MBinning binsx(15, -0.5, 14.5); 98 MH::SetBinning(&fProf, 98 MH::SetBinning(&fProf, &binsx); 99 99 } 100 100 … … 119 119 120 120 Int_t fCheckWinFirst = 0; 121 Int_t fCheckWinLast = (ns-1)+1;121 Int_t fCheckWinLast = ns; 122 122 123 123 Int_t fExtractWinFirst = 17; 124 Int_t fExtractWinLast = (ns-1)+1;124 Int_t fExtractWinLast = ns; 125 125 126 126 Float_t fMaxSignalVar = 40; … … 135 135 136 136 // Find the maximum and minimum signal per slice in the high gain window 137 for (Byte_t *slice=slices+fCheckWinFirst; slice< =slices+fCheckWinLast; slice++)137 for (Byte_t *slice=slices+fCheckWinFirst; slice<slices+fCheckWinLast; slice++) 138 138 { 139 139 if (*slice > max) … … 227 227 pad->SetFrameBorderMode(0); 228 228 229 pad->Divide(2, 2, 0.001, 0.001);229 //pad->Divide(2, 2, 0.001, 0.001); 230 230 231 231 AppendPad(); … … 253 253 254 254 pad->cd(4);*/ 255 255 256 gPad->SetBorderMode(0); 256 257 gPad->SetFrameBorderMode(0);
Note:
See TracChangeset
for help on using the changeset viewer.