Changeset 2085 for trunk/MagicSoft
- Timestamp:
- 05/07/03 08:53:48 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHMatrix.cc
r2043 r2085 737 737 // for which a target distribution may be given; 738 738 // thsh histogram containing the target distribution of the variable 739 // nmaxevts maximum number of events in the reference matrix 739 // nmaxevts the number of events the reference matrix should have after 740 // the renormalization 740 741 // rest a TMatrix conatining the resulting (not choosen) 741 742 // columns of the primary matrix. Maybe NULL if you … … 757 758 } 758 759 760 759 761 if (nmaxevts>fM.GetNrows()) 760 762 { 761 *fLog << dbginf << "Maximum no.of events exceeds no.of events" << endl; 762 *fLog << dbginf << " set Maximum no.of events = no.of events" << endl; 763 *fLog << dbginf << "No.of requested events (" << nmaxevts 764 << ") exceeds no.of available events (" << fM.GetNrows() 765 << ")" << endl; 766 *fLog << dbginf 767 << " set no.of requested events = no.of available events" 768 << endl; 763 769 nmaxevts = fM.GetNrows(); 764 770 } 765 771 772 766 773 if (nmaxevts<0) 767 774 { 768 *fLog << err << dbginf << "Number of maximumevents < 0" << endl;775 *fLog << err << dbginf << "Number of requested events < 0" << endl; 769 776 return kFALSE; 770 777 } … … 875 882 876 883 if (evtcount1 < nmaxevts) 877 *fLog << warn << "The reference sample contains less events (" << evtcount1 << ") than requ ired (" << nmaxevts << ")" << endl;884 *fLog << warn << "The reference sample contains less events (" << evtcount1 << ") than requested (" << nmaxevts << ")" << endl; 878 885 879 886 if (TestBit(kEnableGraphicalOutput)) … … 926 933 if (nmaxevts>fM.GetNrows()) 927 934 { 928 *fLog << dbginf << "Maximum no.of events exceeds no.of events" << endl; 929 *fLog << dbginf << " set Maximum no.of events = no.of events" << endl; 935 *fLog << dbginf << "No.of requested events (" << nmaxevts 936 << ") exceeds no.of available events (" << fM.GetNrows() 937 << ")" << endl; 938 *fLog << dbginf 939 << " set no.of requested events = no.of available events" 940 << endl; 930 941 nmaxevts = fM.GetNrows(); 931 942 } … … 933 944 if (nmaxevts<0) 934 945 { 935 *fLog << err << dbginf << "Number of maximumevents < 0" << endl;946 *fLog << err << dbginf << "Number of requested events < 0" << endl; 936 947 return kFALSE; 937 948 } … … 979 990 980 991 if (evtcount1 < nmaxevts) 981 *fLog << warn << "The reference sample contains less events (" << evtcount1 << ") than requ ired (" << nmaxevts << ")" << endl;992 *fLog << warn << "The reference sample contains less events (" << evtcount1 << ") than requested (" << nmaxevts << ")" << endl; 982 993 983 994 if (!rest)
Note:
See TracChangeset
for help on using the changeset viewer.