31 const std::string& name,
32 const IInterface* parent)
60 return StatusCode::SUCCESS;
145 return StatusCode::SUCCESS;
157 if(!trackPointer) {
ATH_MSG_INFO(
"NULL POINTER");
return StatusCode::RECOVERABLE; }
158 auto perigee =
m_trackToVertexTool->perigeeAtVertex(Gaudi::Hive::currentContext(), *trackPointer);
162 *
m_pt = trackPointer->
pt();
163 *
m_p = trackPointer->
p4().P();
168 if( (
m_trkParType) ? (positions.size() == 11) : (positions.size() == 21) ){
169 for(
uint i=0;i<positions.size();++i){
172 m_x->push_back( (positions[i].size()!=5) ? -9999. : positions[i][0] );
173 m_y->push_back( (positions[i].size()!=5) ? -9999. : positions[i][1] );
174 m_z->push_back( (positions[i].size()!=5) ? -9999. : positions[i][2] );
176 m_eta->push_back( (positions[i].size()!=5) ? -9999. : positions[i][3] );
177 m_phi->push_back( (positions[i].size()!=5) ? -9999. : positions[i][4] );
203 if( !
m_trackInCalo->trackIsolation(trackIsolation, *trackPointer, ptcones) )
246 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 FourMom_t p4() const override final
The full 4-momentum of the particle.
bool summaryValue(uint8_t &value, const SummaryType &information) const
Accessor for TrackSummary values.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
Block filler tool for noisy FEB information.
@ z
global position (cartesian)
@ 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:
@ numberOfGangedPixels
number of pixels which have a ganged ambiguity [unit8_t].
@ 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].
@ numberOfOutliersOnTrack
number of measurements flaged as outliers in TSOS [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].
@ numberOfSCTHoles
number of SCT holes [unit8_t].
std::vector< float > ptcones