Changeset 1166 for trunk/MagicSoft/Mars
- Timestamp:
- 01/11/02 17:40:11 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.cc
r1108 r1166 55 55 fPartId=part; 56 56 57 58 57 fFirst = dim>0 ? 1 : -dim; 59 58 fLast = dim>0 ? dim : -dim; … … 160 159 161 160 rate.SetParticle(fPartId); 161 if (fPartId ==14) 162 rate.SetFlux(0.1091, 2.75); 163 else if (fPartId == 402) 164 rate.SetFlux(0.0660, 2.62); 165 else { 166 *fLog << err << dbginf << "Unknown incident flux parameters for "; 167 *fLog << fPartId<< " particle Id ... aborting." << endl; 168 return kFALSE; 169 } 162 170 rate.SetBackground(fTrigger[i], fAnalShow); 163 171 … … 199 207 for (UInt_t i=0; i<fNum; i++) 200 208 { 201 fTrigger[i] += GetTrig(i)->GetFirstLevel(); 209 if (GetTrig(i)->GetFirstLevel()) 210 fTrigger[i] ++; 202 211 203 212 GetRate(i)->UpdateBoundaries(ener, theta, phi, param);
Note:
See TracChangeset
for help on using the changeset viewer.