DAS  3.0
Das Analysis System
match.h
Go to the documentation of this file.
3 #include "Math/VectorUtil.h"
4 
5 namespace DAS::Normalisation {
6 
7 DAS::FourVector match (const DAS::FourVector & jet, const std::vector<DAS::FourVector>* hltJets) {
8  for (const auto& hltjet: *hltJets){
9  using ROOT::Math::VectorUtil::DeltaR;
10  if (DeltaR(hltjet, jet) < 0.3)
11  return hltjet;
12  }
13  return DAS::FourVector();
14 }
15 
16 } // end of DAS::Normalisation namespace
Event.h
PhysicsObject.h
DAS::Normalisation
Definition: getHLTJetResponse.cc:34
DAS::Normalisation::match
DAS::FourVector match(const DAS::FourVector &jet, const std::vector< DAS::FourVector > *hltJets)
Definition: match.h:7
DAS::FourVector
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< float > > FourVector
Definition: PhysicsObject.h:15