diff --git a/elena.py b/elena.py index bc21437..58743d4 100644 --- a/elena.py +++ b/elena.py @@ -150,6 +150,9 @@ cSaver.append(TCanvas("decay_volume_big","decay_volume_big")) volIn = nodesDict['T2Startplate_1']['z']['pos'] + nodesDict['T2Startplate_1']['z']['dim'] volOut = nodesDict['lidT6I_1']['z']['pos'] - nodesDict['lidT6I_1']['z']['dim'] +print +print "\tBig volume: in = %s cm, out = %s cm"%(volIn, volOut) +print t2.Draw("startY_nu:startX_nu","isPrimary==1 && interactionElement==2 && startZ_nu>%s && startZ_nu<%s"%(volIn,volOut)) grBig = TGraph(t2.GetSelectedRows(), t2.GetV2(), t2.GetV1()) grBig.SetMarkerColor(kBlue) @@ -160,6 +163,9 @@ volInSmall = nodesDict['lidT1I_1']['z']['pos'] + nodesDict['lidT1I_1']['z']['dim'] #volOutSmall = nodesDict['T1Endplate_1']['z']['pos'] - nodesDict['T1Endplate_1']['z']['dim'] volOutSmall = nodesDict['Veto_5']['z']['pos'] - nodesDict['Veto_5']['z']['dim'] +print +print "\tSmall volume: in = %s cm, out = %s cm"%(volInSmall, volOutSmall) +print print ' veto ', nodesDict['Veto_5']['z']['pos'] - nodesDict['Veto_5']['z']['dim'], ' endplate ', nodesDict['T1Endplate_1']['z']['pos'] - nodesDict['T1Endplate_1']['z']['dim'] #volOutSmall = volInSmall+500. t2.Draw("startY_nu:startX_nu","isPrimary==1 && interactionElement==2 && startZ_nu>%s && startZ_nu<%s"%(volInSmall,volOutSmall))