Changeset 5923 for trunk/MagicSoft/Mars
- Timestamp:
- 01/21/05 11:10:38 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mtemp/mifae/library
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/library/MDispCalc.cc
r5904 r5923 82 82 fTitle = title ? title : "Class to calculate Disp"; 83 83 84 // object of MDispParamteres that will hold the Disp parameters 85 fDispParameters = new MDispParameters(fDispParametersName); 86 // initialize the size of the Disp parameters and parameters stepsizes arrays 87 fDispParameters->GetParameters().Set(nPars); 88 fDispParameters->GetStepsizes().Set(nPars); 89 // set Disp parameters to their default values 90 fDispParameters->InitParameters(); 91 84 92 fMatrix = NULL; 85 93 86 94 // initialize mapping array dimension to the number of columns of fMatrix 87 95 fMap.Set(kTotVar); 96 } 97 98 99 // -------------------------------------------------------------------------- 100 // 101 // Default destructor. 102 // 103 MDispCalc::~MDispCalc() 104 { 105 delete fDispParameters; 88 106 } 89 107 … … 114 132 return kFALSE; 115 133 } 116 117 fDispParameters = (MDispParameters*)pList->FindObject(fDispParametersName, "MDispParameters");118 if (!fDispParameters)119 {120 *fLog << err << fDispParametersName << " [MDispParameters] not found... aborting." << endl;121 return kFALSE;122 }123 fDispParameters->GetParameters().Set(nPars);124 fDispParameters->GetStepsizes().Set(nPars);125 134 126 135 -
trunk/MagicSoft/Mars/mtemp/mifae/library/MHDisp.cc
r5904 r5923 265 265 // if fMatrix exists, skip preprocessing and just read events from matrix; 266 266 // if doesn't exist, read variables values from containers, so look for them 267 cout << "MHDisp::SetupFill: fMatrix = " << fMatrix << endl;268 269 267 if (fMatrix) 270 268 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.