![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
16 const IInterface*
p ) :
22 m_applyDeltaPhiCut(false),
25 declareInterface<DerivationFramework::ISkimmingTool>(
this);
42 return StatusCode::SUCCESS;
47 ATH_MSG_INFO(
"Processed "<< m_ntot <<
" events, "<< m_npass<<
" events passed filter ");
48 return StatusCode::SUCCESS;
58 msg(MSG::WARNING) <<
"No MET container found, will skip this event" <<
endmsg;
63 if (metContainer->
size() ==1) {
65 double MET = metContainer->
at(0)->met();
66 bool passesEvent= (
MET > m_metCut) ;
70 if (m_applyDeltaPhiCut) {
71 double phiMET=metContainer->
at(0)->phi();
74 msg(MSG::WARNING) <<
"No jet container found, will skip this event" <<
endmsg;
79 double deltaPhi = std::abs(phiMET-phiJet);
81 passesEvent = passesEvent && (
deltaPhi > m_deltaPhiCut);
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner setEtaMap setEtaBin setIsTgcFailure setDeltaPt deltaPhi
#define ATH_MSG_VERBOSE(x)
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const T * at(size_type n) const
Access an element, as an rvalue.
size_type size() const noexcept
Returns the number of elements in the collection.