From b37eb3b12f1667a81b766bdc3f99279ae5c478e9 Mon Sep 17 00:00:00 2001 From: prokscha Date: Wed, 11 Oct 2017 12:13:44 +0200 Subject: [PATCH] Option to generate decay e+ spectra for muons which do not decay in the sample plane --- run/macros/NewSpec.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run/macros/NewSpec.C b/run/macros/NewSpec.C index c6484cb..510c6eb 100644 --- a/run/macros/NewSpec.C +++ b/run/macros/NewSpec.C @@ -501,7 +501,9 @@ void NewSpec::TBLRCoinIO( Bool_t FigFlag, Double_t eCut ) // if (ientry < 0) break; nb = fChain->GetEntry(jentry); nbytes += nb; // fChain->GetEntry(jentry); - + +// if (muDecayPosZ>16.9&&muDecayPosZ<17.1) continue; //muons decaying outside of sample plane (in the radiation shield etc) + // FILL IN HISTOGRAMS hEdepositCF->Fill(save_ke[0]/1000.); hBeamSpot->Fill(save_x[0], save_y[0]);