Changeset 7643 for trunk/MagicSoft/Mars/mfilter/MFEnergySlope.cc
- Timestamp:
- 04/21/06 17:28:45 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfilter/MFEnergySlope.cc
r7409 r7643 127 127 128 128 // 129 // Read info from the MC sample (it must be generated with129 // Read info from0 the MC sample (it must be generated with 130 130 // reflector ver.0.6 and camera ver. 0.6) 131 131 // … … 148 148 *fLog << inf; 149 149 *fLog << "Fetched MC info:" << endl; 150 *fLog << " Change E Slope " <<fMcSlope << " (" << fMcMinEnergy << " < E < ";151 *fLog << fMcMaxEnergy << ") to " << fNewSlope << endl;150 *fLog << " Change E Slope from " << -fMcSlope << " (" << fMcMinEnergy << " < E < "; 151 *fLog << fMcMaxEnergy << ") to " << -fNewSlope << endl; 152 152 *fLog << " Norm factor: " << fN0 << endl; 153 153 … … 191 191 */ 192 192 193 const Float_t Nexp = fN0 * pow(energy, fMcSlope-fNewSlope);193 const Float_t Nexp = fN0 * pow(energy, fMcSlope-fNewSlope); 194 194 const Float_t Nrnd = gRandom->Uniform(); 195 195 196 196 fResult = Nexp > Nrnd; 197 198 //if (fResult)199 // fNumSelectedEvts++;200 197 201 198 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.