|
ATLAS Offline Software
|
Go to the documentation of this file.
34 TileMuonFillerTool::TileMuonFillerTool (
const std::string&
type,
35 const std::string&
name,
38 m_trackInCalo(
"TrackTools"),
39 m_trackToVertexTool(
"Reco::TrackToVertex"){
50 declareProperty(
"DefaultValue",
m_defaultValue=0,
"Default value to which to set unfilled variables.");
52 declareProperty(
"TryStandAloneMuons",
m_standalone =
"no");
70 ATH_MSG_ERROR(
" Cannot retrieve extrapolator in calorimeter properly. ");
81 return StatusCode::SUCCESS;
138 return StatusCode::SUCCESS;
195 return StatusCode::SUCCESS;
208 if(!muonPointer) {
ATH_MSG_INFO(
"NULL POINTER");
return StatusCode::RECOVERABLE; }
219 case 0: muon_track = muonPointer->
trackParticle(xAOD::Muon::CombinedTrackParticle);
break;
220 case 1: muon_track = muonPointer->
trackParticle(xAOD::Muon::InnerDetectorTrackParticle);
break;
221 case 2: muon_track = muonPointer->
trackParticle(xAOD::Muon::MuonSpectrometerTrackParticle);
break;
225 if( !muon_track ){
return StatusCode::SUCCESS; }
229 *
m_pT = muonPointer->
pt();
230 *
m_p = muonPointer->
p4().P();
295 auto perigee =
m_trackToVertexTool->perigeeAtVertex(Gaudi::Hive::currentContext(), *muon_track);
345 return StatusCode::SUCCESS;
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
bool isolation(float &value, const Iso::IsolationType information) const
Accessor for Isolation values.
@ numberOfSCTSharedHits
number of SCT hits shared by several tracks [unit8_t].
@ z
global position (cartesian)
const TrackParticle * trackParticle(TrackParticleType type) const
Returns a pointer (which can be NULL) to the TrackParticle used in identification of this muon.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
virtual double phi() const
The azimuthal angle ( ) of the particle.
Quality quality() const
The Muon Quality information is defined on the MCP twiki: https://twiki.cern.ch/twiki/bin/view/Atlas/...
virtual double eta() const
The pseudorapidity ( ) of the particle.
@ ptcone20
Track isolation.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
@ numberOfTRTHits
number of TRT hits [unit8_t].
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.
This class provides conversion from CSC RDO data to CSC Digits.
@ numberOfTRTHighThresholdHits
number of TRT hits which pass the high threshold (only xenon counted) [unit8_t].
@ numberOfTRTHighThresholdOutliers
number of TRT high threshold outliers (only xenon counted) [unit8_t].
Block filler tool for noisy FEB information.
@ numberOfPixelSharedHits
number of Pixel all-layer hits shared by several tracks [unit8_t].
bool summaryValue(uint8_t &value, const SummaryType information) const
Accessor for TrackSummary values (in most cases, retrieved from the 'primary' TrackParticle - though ...
@ etcone20
Calorimeter isolation.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual double pt() const
The transverse momentum ( ) of the particle.
#define CHECK(...)
Evaluate an expression and check for errors.
@ numberOfSCTHoles
number of SCT holes [unit8_t].
@ numberOfTRTOutliers
number of TRT outliers [unit8_t].
#define ATH_MSG_WARNING(x)
@ numberOfSCTDeadSensors
number of dead SCT sensors crossed [unit8_t].
@ numberOfInnermostPixelLayerSharedHits
number of Pixel 0th layer barrel hits shared by several tracks.
@ numberOfSCTHits
number of hits in SCT [unit8_t].
const TrackParticle * primaryTrackParticle() const
Returns a pointer (which should not usually be NULL, but might be if the muon has been stripped of in...
@ numberOfPixelDeadSensors
number of dead pixel sensors crossed [unit8_t].
Class describing a TrackParticle.
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
MuonType muonType() const