diff --git a/L1Trigger/L1TMuon/plugins/L1TMuonShowerProducer.cc b/L1Trigger/L1TMuon/plugins/L1TMuonShowerProducer.cc index ceec898f2c3fb..a3645aada7c57 100644 --- a/L1Trigger/L1TMuon/plugins/L1TMuonShowerProducer.cc +++ b/L1Trigger/L1TMuon/plugins/L1TMuonShowerProducer.cc @@ -82,7 +82,7 @@ void L1TMuonShowerProducer::produce(edm::Event& iEvent, const edm::EventSetup& i if (shower.isOneTightInTime()) { isOneTightInTime = true; } - // two loos in different sectors + // two loose in different sectors if (shower.isOneLooseInTime()) { if (foundOneLoose) { isTwoLooseDifferentSectorsInTime = true; diff --git a/L1Trigger/L1TNtuples/interface/L1AnalysisL1UpgradeDataFormat.h b/L1Trigger/L1TNtuples/interface/L1AnalysisL1UpgradeDataFormat.h index 210da667eeff3..d222ad9a15105 100644 --- a/L1Trigger/L1TNtuples/interface/L1AnalysisL1UpgradeDataFormat.h +++ b/L1Trigger/L1TNtuples/interface/L1AnalysisL1UpgradeDataFormat.h @@ -131,6 +131,7 @@ namespace L1Analysis { muonShowerOneNominal.clear(); muonShowerOneTight.clear(); muonShowerTwoLoose.clear(); + muonShowerTwoLooseDiffSectors.clear(); nSums = 0; sumType.clear(); @@ -224,6 +225,7 @@ namespace L1Analysis { std::vector muonShowerOneNominal; std::vector muonShowerOneTight; std::vector muonShowerTwoLoose; + std::vector muonShowerTwoLooseDiffSectors; unsigned short int nSums; std::vector sumType; diff --git a/L1Trigger/L1TNtuples/interface/L1AnalysisL1UpgradeTfMuonShowerDataFormat.h b/L1Trigger/L1TNtuples/interface/L1AnalysisL1UpgradeTfMuonShowerDataFormat.h index 6424f59a4b44c..2aa86ca546649 100644 --- a/L1Trigger/L1TNtuples/interface/L1AnalysisL1UpgradeTfMuonShowerDataFormat.h +++ b/L1Trigger/L1TNtuples/interface/L1AnalysisL1UpgradeTfMuonShowerDataFormat.h @@ -15,6 +15,7 @@ namespace L1Analysis { tfMuonShowerBx.clear(); tfMuonShowerOneNominal.clear(); tfMuonShowerOneTight.clear(); + tfMuonShowerOneLoose.clear(); tfMuonShowerTwoLoose.clear(); tfMuonShowerEndcap.clear(); tfMuonShowerSector.clear(); @@ -24,6 +25,7 @@ namespace L1Analysis { std::vector tfMuonShowerBx; std::vector tfMuonShowerOneNominal; std::vector tfMuonShowerOneTight; + std::vector tfMuonShowerOneLoose; std::vector tfMuonShowerTwoLoose; std::vector tfMuonShowerEndcap; std::vector tfMuonShowerSector; diff --git a/L1Trigger/L1TNtuples/src/L1AnalysisL1Upgrade.cc b/L1Trigger/L1TNtuples/src/L1AnalysisL1Upgrade.cc index 7e9a5c5b37e58..da62a14a601b5 100644 --- a/L1Trigger/L1TNtuples/src/L1AnalysisL1Upgrade.cc +++ b/L1Trigger/L1TNtuples/src/L1AnalysisL1Upgrade.cc @@ -133,6 +133,7 @@ void L1Analysis::L1AnalysisL1Upgrade::SetMuonShower(const l1t::MuonShowerBxColle l1upgrade_.muonShowerOneNominal.push_back(it->isOneNominalInTime()); l1upgrade_.muonShowerOneTight.push_back(it->isOneTightInTime()); l1upgrade_.muonShowerTwoLoose.push_back(it->isTwoLooseInTime()); + l1upgrade_.muonShowerTwoLooseDiffSectors.push_back(it->isTwoLooseDiffSectorsInTime()); l1upgrade_.nMuonShowers++; } } diff --git a/L1Trigger/L1TNtuples/src/L1AnalysisL1UpgradeTfMuonShower.cc b/L1Trigger/L1TNtuples/src/L1AnalysisL1UpgradeTfMuonShower.cc index f9d5cf18af4c6..4a61b8afb3205 100644 --- a/L1Trigger/L1TNtuples/src/L1AnalysisL1UpgradeTfMuonShower.cc +++ b/L1Trigger/L1TNtuples/src/L1AnalysisL1UpgradeTfMuonShower.cc @@ -16,6 +16,7 @@ void L1Analysis::L1AnalysisL1UpgradeTfMuonShower::SetTfMuonShower(const l1t::Reg l1upgradetfmuonshower_.tfMuonShowerSector.push_back(it->processor() + 1); l1upgradetfmuonshower_.tfMuonShowerOneNominal.push_back(it->isOneNominalInTime()); l1upgradetfmuonshower_.tfMuonShowerOneTight.push_back(it->isOneTightInTime()); + l1upgradetfmuonshower_.tfMuonShowerOneLoose.push_back(it->isOneLooseInTime()); l1upgradetfmuonshower_.tfMuonShowerTwoLoose.push_back(it->isTwoLooseInTime()); l1upgradetfmuonshower_.nTfMuonShowers++; }