Skip to content

Commit

Permalink
workaround to avoid using the legacy gt digis in the Ecal Online DQM
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Nov 16, 2024
1 parent 8c7fd9b commit fe46246
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion DQM/EcalMonitorTasks/python/ClusterTask_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,4 +498,3 @@
)
)
)

7 changes: 7 additions & 0 deletions DQM/EcalMonitorTasks/src/ClusterTask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ namespace ecaldqm {

edm::Handle<L1GlobalTriggerReadoutRecord> l1GTHndl;
_evt.getByToken(L1GlobalTriggerReadoutRecordToken_, l1GTHndl);

if (!l1GTHndl.isValid()) {
edm::LogError("L1GlobalTriggerReadoutRecord")
<< "Failed to retrieve L1GlobalTriggerReadoutRecord from the Event!";
return; // Exit the function early if the handle is invalid
}

DecisionWord const& dWord(l1GTHndl->decisionWord());

//Ecal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
### Sequences ###

process.ecalPreRecoSequence = cms.Sequence(process.bunchSpacingProducer + process.ecalDigis)
process.ecalRecoSequence = cms.Sequence((process.ecalMultiFitUncalibRecHit+process.ecalDetIdToBeRecovered+process.ecalRecHit)+(process.simEcalTriggerPrimitiveDigis+process.gtDigis)+(process.hybridClusteringSequence+process.multi5x5ClusteringSequence))
process.ecalRecoSequence = cms.Sequence((process.ecalMultiFitUncalibRecHit+process.ecalDetIdToBeRecovered+process.ecalRecHit)+(process.simEcalTriggerPrimitiveDigis+process.gtStage2Digis)+(process.hybridClusteringSequence+process.multi5x5ClusteringSequence))
process.multi5x5ClusteringSequence = cms.Sequence(process.multi5x5BasicClustersCleaned+process.multi5x5SuperClustersCleaned+process.multi5x5BasicClustersUncleaned+process.multi5x5SuperClustersUncleaned+process.multi5x5SuperClusters)
process.hybridClusteringSequence = cms.Sequence(process.cleanedHybridSuperClusters+process.uncleanedHybridSuperClusters+process.hybridSuperClusters+process.correctedHybridSuperClusters+process.uncleanedOnlyCorrectedHybridSuperClusters)

Expand Down

0 comments on commit fe46246

Please sign in to comment.