DAS  3.0
Das Analysis System
PhaseSelection.h
Go to the documentation of this file.
1 #ifndef DAS_NORM_PHASESPACESEL
2 #define DAS_NORM_PHASESPACESEL
4 #include <vector>
5 #include <cmath>
6 
7 namespace DAS::Normalisation {
8 
9 std::vector<DAS::RecJet>::iterator phaseSel (std::vector<DAS::RecJet>& recjets) {
10  auto leadingInTk = recjets.begin();
11  while (leadingInTk != recjets.end()
12  && std::abs(leadingInTk->Rapidity()) >= 3.0)
13  ++leadingInTk;
14 
15  return leadingInTk;
16 }
17 
18 } // end of DAS::Normalisation namespace
19 
20 #endif
DAS::Normalisation::phaseSel
std::vector< DAS::RecJet >::iterator phaseSel(std::vector< DAS::RecJet > &recjets)
Definition: PhaseSelection.h:9
Jet.h
Ntupliser_cfg.recjets
recjets
Definition: Ntupliser_cfg.py:273
DAS::Normalisation
Definition: getHLTJetResponse.cc:34