Commit e0858dc5 authored by Henrot-Versille's avatar Henrot-Versille
Browse files

print instead of root if needed

parent 0b11daae
......@@ -82,11 +82,15 @@ for index in range(0,len(profiledX)):
fileout=TFile("histoProfile.root","recreate")
tempx=array("f",finalprofiledX)
tempy=array("f",finalchi2)
print 'PROFILE TOTAL'
print tempx
print tempy
for compo in range(0,len(listofcomponents)):
tempz=array("f",finalchi2ForEachComponent[compo])
profile=TGraph(len(finalprofiledX),tempx,tempz)
profname=listofcomponents[compo].split(".")
print "PROFILE",profname[0]
print tempz
profile.SetTitle(profname[0])
profile.SetMarkerStyle(20)
profile.Write(profname[0])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment