Skip to content
Snippets Groups Projects

Fix passthrough sequence

Merged Rosen Matev requested to merge rm-passthrough-sequence into master
All threads resolved!
1 file
+ 5
4
Compare changes
  • Side-by-side
  • Inline
@@ -4,7 +4,7 @@
from PyConf.control_flow import NodeLogic, CompositeNode
from AllenCore.generator import generate, make_algorithm
from AllenConf.hlt1_calibration_lines import make_passthrough_line
from AllenConf.persistency import make_global_decision
from AllenConf.persistency import make_global_decision, make_routingbits_writer
from AllenConf.odin import decode_odin
from AllenCore.algorithms import data_provider_t
from AllenConf.utils import line_maker
@@ -13,8 +13,8 @@ from AllenConf.validators import rate_validation
bank_providers = [decode_odin()['dev_odin_data'].producer]
# To test memory traffic when copying to the device, add the following
for det, bt in (("velo", "VP"), ("ut", "UT"), ("scifi", "FTCluster"),
("muon", "Muon"), ("ecal_banks", "ECal")):
for det, bt in (("velo", "VP"), ("scifi", "FTCluster"), ("muon", "Muon"),
("ecal_banks", "ECal")):
bank_providers.append(
make_algorithm(data_provider_t, name=det + "_banks", bank_type=bt))
@@ -31,7 +31,8 @@ lines = CompositeNode(
passthrough_sequence = CompositeNode(
"Passthrough", [
providers, lines, global_decision,
providers, lines,
make_routingbits_writer(lines=line_algorithms), global_decision,
rate_validation(lines=line_algorithms)
],
NodeLogic.NONLAZY_AND,
Loading