43 const std::string&
name,
44 const IInterface* parent)
58 declareProperty(
"DefaultValue",
m_defaultValue=0,
"Default value to which to set unfilled variables.");
60 declareProperty(
"TryStandAloneMuons",
m_standalone =
"no");
78 ATH_MSG_ERROR(
" Cannot retrieve extrapolator in calorimeter properly. ");
89 return StatusCode::SUCCESS;
146 return StatusCode::SUCCESS;
203 return StatusCode::SUCCESS;
216 if(!muonPointer) {
ATH_MSG_INFO(
"NULL POINTER");
return StatusCode::RECOVERABLE; }
227 case 0: muon_track = muonPointer->
trackParticle(xAOD::Muon::CombinedTrackParticle);
break;
228 case 1: muon_track = muonPointer->
trackParticle(xAOD::Muon::InnerDetectorTrackParticle);
break;
229 case 2: muon_track = muonPointer->
trackParticle(xAOD::Muon::MuonSpectrometerTrackParticle);
break;
233 if( !muon_track ){
return StatusCode::SUCCESS; }
237 *
m_pT = muonPointer->
pt();
238 *
m_p = muonPointer->
p4().P();
303 auto perigee =
m_trackToVertexTool->perigeeAtVertex(Gaudi::Hive::currentContext(), *muon_track);
353 return StatusCode::SUCCESS;
#define ATH_MSG_WARNING(x)
#define CHECK(...)
Evaluate an expression and check for errors.
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
virtual double eta() const
The pseudorapidity ( ) of the particle.
bool summaryValue(uint8_t &value, const SummaryType information) const
Accessor for TrackSummary values (in most cases, retrieved from the 'primary' TrackParticle - though ...
const TrackParticle * primaryTrackParticle() const
Returns a pointer (which should not usually be NULL, but might be if the muon has been stripped of in...
virtual FourMom_t p4() const
The full 4-momentum of the particle.
Quality quality() const
Muon CP quality accessors.
virtual double phi() const
The azimuthal angle ( ) of the particle.
bool isolation(float &value, const Iso::IsolationType information) const
Accessor for Isolation values.
virtual double pt() const
The transverse momentum ( ) of the particle.
MuonType muonType() const
const TrackParticle * trackParticle(TrackParticleType type) const
Returns a pointer (which can be NULL) to the TrackParticle used in identification of this muon.
Block filler tool for noisy FEB information.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
@ z
global position (cartesian)
@ etcone20
Calorimeter isolation.
@ ptcone20
Track isolation.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Muon_v1 Muon
Reference the current persistent version:
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
@ numberOfTRTHighThresholdOutliers
number of TRT high threshold outliers (only xenon counted) [unit8_t].
@ numberOfInnermostPixelLayerSharedHits
number of Pixel 0th layer barrel hits shared by several tracks.
@ numberOfTRTHits
number of TRT hits [unit8_t].
@ numberOfSCTDeadSensors
number of dead SCT sensors crossed [unit8_t].
@ numberOfSCTHits
number of hits in SCT [unit8_t].
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
@ numberOfPixelSharedHits
number of Pixel all-layer hits shared by several tracks [unit8_t].
@ numberOfSCTSharedHits
number of SCT hits shared by several tracks [unit8_t].
@ numberOfTRTHighThresholdHits
number of TRT hits which pass the high threshold (only xenon counted) [unit8_t].
@ numberOfTRTOutliers
number of TRT outliers [unit8_t].
@ numberOfPixelDeadSensors
number of dead pixel sensors crossed [unit8_t].
@ numberOfSCTHoles
number of SCT holes [unit8_t].