17#include "CLHEP/Vector/LorentzVector.h"
21using CLHEP::HepLorentzVector;
34 (
const std::string&
type,
35 const std::string& name,
36 const IInterface* parent)
68 return StatusCode::SUCCESS;
78 if (n >= conv->nTrackParticles())
return 0;
79 return conv->trackParticle(n);
105 *
m_Rconv =
static_cast<float> (hypot (conv->x(), conv->y()));
106 *
m_zconv =
static_cast<float> (conv->z());
135 return StatusCode::SUCCESS;
Helpers for checking error return status codes and reporting errors.
#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)
Class describing an photon.
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.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Vertex_v1 Vertex
Define the latest version of the vertex class.
Photon_v1 Photon
Definition of the current "egamma version".
@ numberOfTRTHits
number of TRT hits [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].