Skip to content

Commit

Permalink
Make Totem T2 xml mapping schema selector tracked
Browse files Browse the repository at this point in the history
  • Loading branch information
oljemark committed Jun 4, 2023
1 parent 90a64da commit 5753043
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CalibPPS/ESProducers/plugins/TotemDAQMappingESSourceXML.cc
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,9 @@ TotemDAQMappingESSourceXML::TotemDAQMappingESSourceXML(const edm::ParameterSet &
: verbosity(conf.getUntrackedParameter<unsigned int>("verbosity", 0)),
subSystemName(conf.getUntrackedParameter<string>("subSystem")),
sampicSubDetId(conf.getParameter<unsigned int>("sampicSubDetId")),
packedPayload(conf.getUntrackedParameter<bool>("multipleChannelsPerPayload", false)),
packedPayload(
conf.existsAs<bool>("multipleChannelsPerPayload", true)
? conf.getParameter<bool>("multipleChannelsPerPayload") : false),
currentBlock(0),
currentBlockValid(false) {
for (const auto &it : conf.getParameter<vector<ParameterSet>>("configuration")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

# set it to: TrackingStrip, ...
subSystem = cms.untracked.string(""),
multipleChannelsPerPayload = cms.bool(False),

configuration = cms.VPSet(
# example configuration block:
Expand Down
2 changes: 1 addition & 1 deletion CalibPPS/ESProducers/python/totemT2DAQMapping_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

totemDAQMappingESSourceXML = _xml.clone(
subSystem = "TotemT2",
multipleChannelsPerPayload = cms.untracked.bool(True),
configuration = cms.VPSet(
#initial dummy diamond map copy, use only for Run 2 where T2 mapping is read with old schema
cms.PSet(
Expand All @@ -26,4 +25,5 @@
)
),
sampicSubDetId = cms.uint32(6),
multipleChannelsPerPayload = True,
)

0 comments on commit 5753043

Please sign in to comment.