|
ATLAS Offline Software
|
Go to the documentation of this file.
23 const std::string&
name,
26 m_trackToVertexTool(
"Reco::TrackToVertex"){
52 return StatusCode::SUCCESS;
137 return StatusCode::SUCCESS;
149 if(!trackPointer) {
ATH_MSG_INFO(
"NULL POINTER");
return StatusCode::RECOVERABLE; }
150 auto perigee =
m_trackToVertexTool->perigeeAtVertex(Gaudi::Hive::currentContext(), *trackPointer);
154 *
m_pt = trackPointer->
pt();
155 *
m_p = trackPointer->
p4().P();
160 if( (
m_trkParType) ? (positions.size() == 11) : (positions.size() == 21) ){
161 for(
uint i=0;
i<positions.size();++
i){
164 m_x->push_back( (positions[
i].
size()!=5) ? -9999. : positions[
i][0] );
165 m_y->push_back( (positions[
i].
size()!=5) ? -9999. : positions[
i][1] );
166 m_z->push_back( (positions[
i].
size()!=5) ? -9999. : positions[
i][2] );
168 m_eta->push_back( (positions[
i].
size()!=5) ? -9999. : positions[
i][3] );
169 m_phi->push_back( (positions[
i].
size()!=5) ? -9999. : positions[
i][4] );
195 if( !
m_trackInCalo->trackIsolation(trackIsolation, *trackPointer, ptcones) )
238 return StatusCode::SUCCESS;
virtual double pt() const override final
The transverse momentum ( ) of the particle.
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
@ numberOfSCTSharedHits
number of SCT hits shared by several tracks [unit8_t].
@ z
global position (cartesian)
@ numberOfGangedPixels
number of pixels which have a ganged ambiguity [unit8_t].
bool summaryValue(uint8_t &value, const SummaryType &information) const
Accessor for TrackSummary values.
@ 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.
@ numberOfTRTHighThresholdHits
number of TRT hits which pass the high threshold (only xenon counted) [unit8_t].
TrackParticle_v1 TrackParticle
Reference the current persistent version:
virtual FourMom_t p4() const override final
The full 4-momentum of the particle.
@ 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].
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
@ numberOfSCTHoles
number of SCT holes [unit8_t].
std::vector< float > ptcones
@ numberOfTRTOutliers
number of TRT outliers [unit8_t].
@ numberOfOutliersOnTrack
number of measurements flaged as outliers in TSOS [unit8_t].
#define ATH_MSG_WARNING(x)
@ numberOfInnermostPixelLayerSharedHits
number of Pixel 0th layer barrel hits shared by several tracks.
@ numberOfSCTHits
number of hits in SCT [unit8_t].
Class describing a TrackParticle.
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer