Skip to content

Commit

Permalink
Extended_eta V3 : plugins part
Browse files Browse the repository at this point in the history
  • Loading branch information
archiron committed Jun 14, 2023
1 parent 21ff8f0 commit 2ade8b5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Validation/RecoEgamma/plugins/ElectronMcSignalValidator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3433,6 +3433,10 @@ void ElectronMcSignalValidator::analyze(const edm::Event &iEvent, const edm::Eve
matchingMotherID = true;
}
} // end of mother if test
if (mother != nullptr) {
std::cout << "Matching mc-reco : matchingMotherID[" << i << "] : " << matchingMotherIDs_[i] << ", evt ID = " << iEvent.id() << ", mother Id : " << mother->pdgId() << "\n";
//std::cout << "Matching mc-reco : matchingMotherID[" << i << "] : " << matchingMotherIDs_[i] << ", evt ID = " << iEvent.id() << ", mother : " << mother ;
}
}
if (matchingMotherID) {
if (mcIter->pt() > maxPt_ || std::abs(mcIter->eta()) > maxAbsEta_) {
Expand Down Expand Up @@ -3659,8 +3663,8 @@ void ElectronMcSignalValidator::analyze(const edm::Event &iEvent, const edm::Eve

h2_scl_EoEtrueVsrecOfflineVertices->Fill((*vertexCollectionHandle).size(),
bestGsfElectron.ecalEnergy() / mcIter->p());
h2_scl_EoEtrueVsrecOfflineVertices_Extended->Fill((*vertexCollectionHandle).size(),
bestGsfElectron.ecalEnergy() / mcIter->p());
//h2_scl_EoEtrueVsrecOfflineVertices_Extended->Fill((*vertexCollectionHandle).size(),
// bestGsfElectron.ecalEnergy() / mcIter->p());
if (isEBflag)
h2_scl_EoEtrueVsrecOfflineVertices_barrel->Fill((*vertexCollectionHandle).size(),
bestGsfElectron.ecalEnergy() / mcIter->p());
Expand Down

0 comments on commit 2ade8b5

Please sign in to comment.