Esempio n. 1
0
#
#Configure DaVinci
#

# Change the column size of Timing table
from Configurables import TimingAuditor, SequencerTimerTool
TimingAuditor().addTool(SequencerTimerTool, name="TIMER")
TimingAuditor().TIMER.NameSize = 60

from Configurables import AuditorSvc, ChronoAuditor
AuditorSvc().Auditors.append(ChronoAuditor("Chrono"))

from Configurables import StrippingReport
sr = StrippingReport(Selections=sc.selections(),
                     OnlyPositive=False,
                     EveryEvent=False,
                     ReportFrequency=20000,
                     OutputLevel=INFO)

from Configurables import AlgorithmCorrelationsAlg
ac = AlgorithmCorrelationsAlg(Algorithms=list(set(sc.selections())))

from Configurables import EventTuple
from Configurables import TupleToolStripping

#tag = EventTuple("tuple")
#tag.ToolList = [ "TupleToolStripping"  ]
#tag.addTool( TupleToolStripping )
#tag.TupleToolStripping.StrippingReportsLocations = "Strip/Phys/DecReports" #Deliberate typo for old TTS
#tag.TupleToolStripping.StrippingList = dictreportsline
#tag.TupleToolStripping.OutputLevel = VERBOSE
Esempio n. 2
0
#Configure DaVinci
#

# Change the column size of Timing table
from Configurables import TimingAuditor, SequencerTimerTool

TimingAuditor().addTool(SequencerTimerTool, name="TIMER")
TimingAuditor().TIMER.NameSize = 60

from Configurables import AuditorSvc, ChronoAuditor

AuditorSvc().Auditors.append(ChronoAuditor("Chrono"))

from Configurables import StrippingReport

sr = StrippingReport(Selections=sc.selections())

from Configurables import AlgorithmCorrelationsAlg

ac = AlgorithmCorrelationsAlg(Algorithms=list(set(sc.selections())))

DaVinci().HistogramFile = 'DV_stripping_histos_sels.root'
DaVinci().EvtMax = 100000
DaVinci().PrintFreq = 1000
DaVinci().appendToMainSequence([sc.sequence()])
DaVinci().appendToMainSequence([sr])
#DaVinci().appendToMainSequence( [ ac ] )
DaVinci().appendToMainSequence([dstWriter.sequence()])
DaVinci().ProductionType = "Stripping"
DaVinci().DataType = "2015"
DaVinci().InputType = "RDST"
Esempio n. 3
0
#

# Change the column size of Timing table
from Configurables import TimingAuditor, SequencerTimerTool
TimingAuditor().addTool(SequencerTimerTool, name="TIMER")
TimingAuditor().TIMER.NameSize = 60

from Configurables import AuditorSvc, ChronoAuditor
AuditorSvc().Auditors.append(ChronoAuditor("Chrono"))

pFreq = 10000
DaVinci().EvtMax = -1
DaVinci().PrintFreq = pFreq

from Configurables import StrippingReport
sr = StrippingReport(Selections=sc.selections(), ReportFrequency=pFreq)

from Configurables import AlgorithmCorrelationsAlg
ac = AlgorithmCorrelationsAlg(Algorithms=sc.selections())

DaVinci().HistogramFile = 'DV_stripping_histos.root'
DaVinci().appendToMainSequence([sc.sequence()])
DaVinci().appendToMainSequence([sr])
#DaVinci().appendToMainSequence( [ ac ] )
DaVinci().appendToMainSequence([dstWriter.sequence()])
#if(len(mdstDstLines)>0): DaVinci().appendToMainSequence( [ mdstDstSeq ] )
DaVinci().ProductionType = "Stripping"

# change the column size of timing table
from Configurables import TimingAuditor, SequencerTimerTool
TimingAuditor().addTool(SequencerTimerTool, name="TIMER")
Esempio n. 4
0
#stck = StrippingTCK(HDRLocation = '/Event/Strip/Phys/DecReports', TCK=0x36112100)

#
#Configure DaVinci
#

# Change the column size of Timing table
from Configurables import TimingAuditor, SequencerTimerTool
TimingAuditor().addTool(SequencerTimerTool, name="TIMER")
TimingAuditor().TIMER.NameSize = 60

from Configurables import AuditorSvc, ChronoAuditor
AuditorSvc().Auditors.append(ChronoAuditor("Chrono"))

from Configurables import StrippingReport
sr = StrippingReport(Selections=sc.selections())
sr.OnlyPositive = False

from Configurables import AlgorithmCorrelationsAlg
ac = AlgorithmCorrelationsAlg(Algorithms=sc.selections())

DaVinci().HistogramFile = 'StrippingHistos.root'
DaVinci().TupleFile = 'StrippingTuples.root'
DaVinci().EvtMax = -1
DaVinci().Lumi = True
DaVinci().PrintFreq = 10000
DaVinci().appendToMainSequence([sc.sequence()])
DaVinci().appendToMainSequence([sr])
DaVinci().appendToMainSequence([ac])
DaVinci().appendToMainSequence([dstWriter.sequence()])
if (len(mdstDstLines) > 0): DaVinci().appendToMainSequence([mdstDstSeq])
Esempio n. 5
0
#stck = StrippingTCK(HDRLocation = '/Event/Strip/Phys/DecReports', TCK=0x36112100)

#
#Configure DaVinci
#

# Change the column size of Timing table
from Configurables import TimingAuditor, SequencerTimerTool
TimingAuditor().addTool(SequencerTimerTool, name="TIMER")
TimingAuditor().TIMER.NameSize = 60

from Configurables import AuditorSvc, ChronoAuditor
AuditorSvc().Auditors.append(ChronoAuditor("Chrono"))

from Configurables import StrippingReport
sr = StrippingReport(Selections=sc.selections())
sr.ReportFrequency = 10000

from Configurables import AlgorithmCorrelationsAlg
ac = AlgorithmCorrelationsAlg(Algorithms=list(set(sc.selections())))

DaVinci().HistogramFile = 'DV_stripping_histos.root'
DaVinci().EvtMax = 10000
DaVinci().PrintFreq = 100
DaVinci().appendToMainSequence([sc.sequence()])
DaVinci().appendToMainSequence([sr])
#DaVinci().appendToMainSequence( [ ac ] )
DaVinci().appendToMainSequence([dstWriter.sequence()])
DaVinci().ProductionType = "Stripping"
DaVinci().DataType = "2015"
DaVinci().InputType = "RDST"
Esempio n. 6
0
#stck = StrippingTCK(HDRLocation = '/Event/Strip/Phys/DecReports', TCK=0x36112100)

#
#Configure DaVinci
#

# Change the column size of Timing table
from Configurables import TimingAuditor, SequencerTimerTool
TimingAuditor().addTool(SequencerTimerTool, name="TIMER")
TimingAuditor().TIMER.NameSize = 60

from Configurables import AuditorSvc, ChronoAuditor
AuditorSvc().Auditors.append(ChronoAuditor("Chrono"))

from Configurables import StrippingReport
sr = StrippingReport(Selections=sc.selections())
sr.Correlation = True

from Configurables import AlgorithmCorrelationsAlg
ac = AlgorithmCorrelationsAlg(Algorithms=sc.selections())

DaVinci().HistogramFile = 'DV_stripping_histos.root'
DaVinci().EvtMax = 10000
DaVinci().PrintFreq = 2000
DaVinci().appendToMainSequence([sc.sequence()])
DaVinci().appendToMainSequence([sr])
DaVinci().appendToMainSequence([ac])
DaVinci().appendToMainSequence([dstWriter.sequence()])
if (len(mdstDstLines) > 0): DaVinci().appendToMainSequence([mdstDstSeq])
DaVinci().ProductionType = "Stripping"
DaVinci().DataType = "2012"
Esempio n. 7
0
#
#Configure DaVinci
#

# Change the column size of Timing table
from Configurables import TimingAuditor, SequencerTimerTool
TimingAuditor().addTool(SequencerTimerTool, name="TIMER")
TimingAuditor().TIMER.NameSize = 60

from Configurables import AuditorSvc, ChronoAuditor
AuditorSvc().Auditors.append(ChronoAuditor("Chrono"))

from Configurables import StrippingReport
sr = StrippingReport(Selections=sc.selections(),
                     OnlyPositive=False,
                     EveryEvent=False,
                     ReportFrequency=10000)

from Configurables import AlgorithmCorrelationsAlg
ac = AlgorithmCorrelationsAlg(Algorithms=list(set(sc.selections())))

from Configurables import EventTuple
from Configurables import TupleToolStripping

tag = EventTuple("tuple")
tag.ToolList = ["TupleToolStripping", "TupleToolEventInfo"]
tag.addTool(TupleToolStripping)
tag.TupleToolStripping.StrippingReportsLocations = "Strip/Phys/DecReports"  #Deliberate typo for old TTS
tag.TupleToolStripping.StrippingList = dictreportsline
#tag.TupleToolStripping.OutputLevel = VERBOSE