DAS
3.0
Das Analysis System
match.h
Go to the documentation of this file.
1
#include "
Core/Objects/interface/PhysicsObject.h
"
2
#include "
Core/Objects/interface/Event.h
"
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
Trigger
interface
match.h
Generated on Fri Dec 20 2024 19:01:47 for DAS by
1.8.18