Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
14 m_refContainerKey(
"REFCONTAINER")
16 declareInterface<IJetHistoFiller>(
this);
24 return StatusCode::SUCCESS;
29 if(
jets.empty())
return StatusCode::SUCCESS;
35 return StatusCode::FAILURE;
49 std::vector<const xAOD::Jet*> listJets(
jets.begin(),
jets.end());
51 for (
const xAOD::Jet* refjet : *refJets ){
52 if (listJets.empty() )
break;
61 auto itend = listJets.end()-1;
63 std::iter_swap (itmin, itend);
67 double dr = sqrt(dr2min);
76 parentAlg.
fill(
m_group, refPt , passDr1, passDr2, passDr3 , closestDr);
81 refEta = refjet->eta();
87 return StatusCode::SUCCESS;
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
const std::string & key() const
Return the StoreGate ID for the referenced object.
double deltaR2(double rapidity1, double phi1, double rapidity2, double phi2)
from bare rapidity,phi
Gaudi::Property< float > m_energyScale
SG::ReadHandleKey< xAOD::JetContainer > m_refContainerKey
::StatusCode StatusCode
StatusCode definition for legacy code.
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual StatusCode initialize()
JetHistoResponseAndEff(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::string > m_group
virtual StatusCode processJetContainer(const JetMonitoringAlg &parentAlg, const xAOD::JetContainer &jets, const EventContext &ctx) const
Declare a monitored scalar variable.
auto min_transformed_element(RANGE &&r, FUNC &&f)
Find the minimum transformed element in a range.