Exemplo n.º 1
0
import sys
sys.path.append("./../algos/")

from Centella import centella

#help(centella.centella)# uncomment for documentation

from pHistos import *

vlevel=1 # verbosity

algos, idsts = [], [] # algorithms, input data

#idsts.append("input_data.root")

algos.append( pHistos(False,vlevel,'pHistoInstance') )

c= centella.centella(algos,idsts,level=vlevel)

#------------- Histogram declaration -------------#

# Line below only needed if user wants to set the histos here.
# Histograms can also be declared in initialize method of algorithms

c.hman.h1("EventID","Event ID; Number;",100,0,1000)

#-------------------------------------------------#

c.run()

Exemplo n.º 2
0
vlevel=1
algos.append(DTOF(store,vlevel,'DTOF'))
tname="analysis"
max_evt= 1000
max_deb= 100
histos= 1
hfile="/Users/jjgomezcadenas/Documents/Development/PETALO/histo/lXe_refl97_VUV3mm_xy2.4cm_z5cm_n1.7_QE_1_SPTR_0_ASIC_0_DT300_histos.root"
trees= 1
tfile="/Users/jjgomezcadenas/Documents/Development/PETALO/tree/LYSO_3mm_xy2.4cm_z5cm_noCher_QE_1_SPTR_0_ASIC_0_DT300.root"
psfile="CNTAna_PS.ps"
docfile="CNT_doc.tex"
log= 0
logfile="/Users/jjgomezcadenas/Documents/Development/PETALO/log/LYSO_3mm_xy2.4cm_z5cm_noCher_QE_1_SPTR_0_ASIC_0_DT300.log"
reader="gateReader"
writer="gateWriter"
level= 1
canvas= 1
tcanvas= 0
browser= 0
doc= 0
fevent= 0
save= 0
paths= ['/Users/jjgomezcadenas/Documents/Development/PESOA/PETALOS/py/TOF']
libs= []

c= centella.centella(algos,idsts,histos,hfile,
                      trees,tfile,psfile,level,max_evt,reader,tname,
                      canvas,tcanvas,doc,docfile,browser,max_deb,
                      fevent,save,odsts,log,logfile,writer,paths,libs)
c.run()