|
ATLAS Offline Software
|
Go to the documentation of this file.
21 if(
mu->pt()<2.5e3 ||
mu->pt()/cosh(
mu->eta())<4
e3)
return StatusCode::FAILURE;
22 if(
mu->muonType()==xAOD::Muon::MuonStandAlone) {
24 if(fabs(
mu->eta())<2.5)
return StatusCode::FAILURE;
26 if(!
mu->primaryTrackParticleLink().isValid())
return StatusCode::FAILURE;
28 if(nPrecision<3)
return StatusCode::FAILURE;
31 if(fabs(
mu->eta())>2.5)
return StatusCode::FAILURE;
34 uint8_t nPixHits(0), nSctHits(0);
35 if(!
mu->primaryTrackParticleLink().isValid())
return StatusCode::FAILURE;
39 if(nPixHits<3)
return StatusCode::FAILURE;
40 if(nPixHits+nSctHits<5)
return StatusCode::FAILURE;
42 else {
return StatusCode::FAILURE;}
44 return StatusCode::SUCCESS;
56 el->passSelection(testPID,
"Medium");
58 if( !testPID )
return StatusCode::FAILURE;
61 if( !(
el->author()&17) )
return StatusCode::FAILURE;
63 if(
el->pt()<10
e3 )
return StatusCode::FAILURE;
64 if( fabs(
el->eta())>2.47 )
return StatusCode::FAILURE;
73 return StatusCode::SUCCESS;
87 if( !testPID )
return StatusCode::FAILURE;
90 if( !(ph->
author()&20) )
return StatusCode::FAILURE;
92 if( ph->
pt()<10
e3 )
return StatusCode::FAILURE;
93 if( fabs(ph->
eta())>2.47 )
return StatusCode::FAILURE;
97 return StatusCode::SUCCESS;
108 if(tau->
pt()<20
e3 || fabs(tau->
eta())>2.5)
return StatusCode::FAILURE;
114 return StatusCode::SUCCESS;
virtual double eta() const
The pseudorapidity ( ) of the particle.
StatusCode accept(const xAOD::Muon *mu)
uint16_t author(uint16_t bitmask=EgammaParameters::AuthorALL) const
Get author.
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
virtual double pt() const
The transverse momentum ( ) of the particle.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a tau jet.
bool isTau(TauJetParameters::IsTauFlag flag) const
Get Flag for tau acceptance based on predefined arbitrary criteria.
IsTauFlag
Enum for IsTau flags.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
@ numberOfSCTHits
number of hits in SCT [unit8_t].
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
bool passSelection(bool &value, const std::string &menu) const
Check if the egamma object pass a selection menu (using the name) If the menu decision is stored in t...
@ numberOfPrecisionLayers
layers with at least 3 hits [unit8_t].