From cad96957807435e6cf7b95456c00ab546922ea5f Mon Sep 17 00:00:00 2001 From: morsch Date: Thu, 27 May 2004 15:52:50 +0000 Subject: [PATCH] Clean-up. (E. Futo) --- TFluka/mgdraw.cxx | 3 +++ TFluka/usdraw.cxx | 3 +++ 2 files changed, 6 insertions(+) diff --git a/TFluka/mgdraw.cxx b/TFluka/mgdraw.cxx index 75d8615c970..b265ba78fb1 100644 --- a/TFluka/mgdraw.cxx +++ b/TFluka/mgdraw.cxx @@ -40,7 +40,10 @@ void mgdraw(Int_t& icode, Int_t& mreg) // cout << endl << " !!! I am in mgdraw - calling Stepping()" << endl; // cout << endl << " Track Id =" << trackId << endl; // } + if (TRACKR.jtrack == -1) + printf("Cerenkov photon: region# %6d icode %6d \n", mreg, icode); + (TVirtualMCApplication::Instance())->Stepping(); fluka->SetTrackIsNew(kFALSE); } // end of mgdraw diff --git a/TFluka/usdraw.cxx b/TFluka/usdraw.cxx index db5728eca41..3d6ca628261 100644 --- a/TFluka/usdraw.cxx +++ b/TFluka/usdraw.cxx @@ -25,6 +25,9 @@ void usdraw(Int_t& icode, Int_t& mreg, fluka->SetXsco(xsco); fluka->SetYsco(ysco); fluka->SetZsco(zsco); + printf("USDRAW: Number of track segments:%d %d\n", + TRACKR.ntrack, TRACKR.mtrack); + (TVirtualMCApplication::Instance())->Stepping(); fluka->SetTrackIsNew(kFALSE); -- 2.31.1