Changeset 8434 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 04/23/07 20:11:25 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHEvent.cc
r8364 r8434 282 282 283 283 if (fMcEvt) 284 { 285 TString txt("#splitline{"); 286 287 txt += fMcEvt->GetParticleName(); 288 txt += " "; 289 290 s.Insert(0, txt); 291 292 s += "}{ E="; 293 294 s+= fMcEvt->GetEnergyStr(); 295 296 s += " r="; 297 s += (int)(fMcEvt->GetImpact()/100+.5); 298 s += "m Zd="; 299 s += 0.1*TMath::Nint(fMcEvt->GetTelescopeTheta()*180/TMath::Pi()*10); 300 s += "\\circ "; 301 if (fMcEvt->GetPhotElfromShower()>=10000) 302 s += Form("%dk", (Int_t)(fMcEvt->GetPhotElfromShower()/1000.+.5)); 303 else 304 if (fMcEvt->GetPhotElfromShower()>=1000) 305 s += Form("%.1fk", fMcEvt->GetPhotElfromShower()/1000.); 306 else 307 s += fMcEvt->GetPhotElfromShower(); 308 s += "PhEl}"; 309 } 284 s = fMcEvt->GetDescription(s); 310 285 311 286 gPad=NULL;
Note:
See TracChangeset
for help on using the changeset viewer.