Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions HLTrigger/JetMET/src/HLTMETCleanerUsingJetID.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void HLTMETCleanerUsingJetID::produce(edm::Event& iEvent, const edm::EventSetup&

double mex_jets = 0.;
double mey_jets = 0.;
double sumet_jets = 0.;
//double sumet_jets = 0.;
if (!jets->empty()) {
for (auto const& j : *jets) {
double pt = j.pt();
Expand All @@ -64,14 +64,14 @@ void HLTMETCleanerUsingJetID::produce(edm::Event& iEvent, const edm::EventSetup&
if (pt > minPt_ && std::abs(eta) < maxEta_) {
mex_jets -= px;
mey_jets -= py;
sumet_jets += pt;
//sumet_jets += pt;
}
}
}

double mex_goodJets = 0.;
double mey_goodJets = 0.;
double sumet_goodJets = 0.;
//double sumet_goodJets = 0.;
if (!goodJets->empty()) {
for (auto const& j : *goodJets) {
double pt = j.pt();
Expand All @@ -82,7 +82,7 @@ void HLTMETCleanerUsingJetID::produce(edm::Event& iEvent, const edm::EventSetup&
if (pt > minPt_ && std::abs(eta) < maxEta_) {
mex_goodJets -= px;
mey_goodJets -= py;
sumet_goodJets += pt;
//sumet_goodJets += pt;
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions RecoTauTag/HLTProducers/src/CaloTowerCreatorForTauHLT.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ void CaloTowerCreatorForTauHLT::produce(StreamID sid, Event& evt, const EventSet
L1JetParticleCollection::const_iterator myL1Jet = jetsgen->begin();
for (; myL1Jet != jetsgen->end(); myL1Jet++) {
if (idTau == mTauId) {
double Sum08 = 0.;

unsigned idx = 0;
for (; idx < caloTowers->size(); idx++) {
const CaloTower* cal = &((*caloTowers)[idx]);
Expand All @@ -63,7 +61,6 @@ void CaloTowerCreatorForTauHLT::produce(StreamID sid, Event& evt, const EventSet

if (delta < mCone) {
isAccepted = true;
Sum08 += cal->et();
cands->push_back(*cal);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ void CaloTowerFromL1TCreatorForTauHLT::produce(StreamID sid, Event& evt, const E
if (jetsgen.isValid()) {
for (auto myL1Jet = jetsgen->begin(mBX); myL1Jet != jetsgen->end(mBX); myL1Jet++) {
if (idTau == mTauId) {
double Sum08 = 0.;
unsigned idx = 0;
for (; idx < caloTowers->size(); idx++) {
const CaloTower* cal = &((*caloTowers)[idx]);
Expand All @@ -61,7 +60,6 @@ void CaloTowerFromL1TCreatorForTauHLT::produce(StreamID sid, Event& evt, const E
double delta = ROOT::Math::VectorUtil::DeltaR((*myL1Jet).p4().Vect(), p);
if (delta < mCone) {
isAccepted = true;
Sum08 += cal->et();
cands->push_back(*cal);
}
}
Expand Down