|
ATLAS Offline Software
|
Go to the documentation of this file.
27 const std::string&
name,
33 declareInterface<IegammaTrkRefitterTool>(
this);
52 return StatusCode::SUCCESS;
58 return StatusCode::SUCCESS;
71 return StatusCode::FAILURE;
85 ATH_MSG_DEBUG(
"Original parameters " << od0 <<
" " << oz0 <<
" " << ophi0
86 <<
" " << otheta <<
" " << oqOverP
87 <<
" " << 1 / oqOverP);
97 if (
collect.m_measurements.size() > 4) {
108 std::vector<const Trk::MeasurementBase*> measurements =
110 if (measurements.size() > 4) {
127 return StatusCode::FAILURE;
129 return StatusCode::SUCCESS;
131 return StatusCode::FAILURE;
145 if (
track->perigeeParameters()) {
148 std::unique_ptr<const Trk::CaloCluster_OnTrack> ccot(
150 if (ccot !=
nullptr) {
151 collect.m_trash.push_back(std::move(ccot));
155 std::vector<const Trk::MeasurementBase*> vecIDHits =
getIDHits(
track);
156 std::vector<const Trk::MeasurementBase*>::const_iterator
it =
158 std::vector<const Trk::MeasurementBase*>::const_iterator itend =
161 for (;
it != itend; ++
it) {
167 std::vector<const Trk::MeasurementBase*>
172 std::vector<const Trk::MeasurementBase*> measurementSet;
173 measurementSet.reserve(
track->trackStateOnSurfaces()->size());
175 for (
const auto* tsos : *(
track->trackStateOnSurfaces())) {
178 "This track contains an empty TrackStateOnSurface "
179 "that won't be included in the fit");
185 const auto* meas = tsos->measurementOnTrack();
191 if (rio !=
nullptr) {
196 measurementSet.push_back(meas);
202 return measurementSet;
def retrieve(aClass, aKey=None)
bool is_pixel(Identifier id) const
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
bool is_sct(Identifier id) const
bool is_trt(Identifier id) const
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
@ Outlier
This TSoS contains an outlier, that is, it contains a MeasurementBase/RIO_OnTrack which was not used ...
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
::StatusCode StatusCode
StatusCode definition for legacy code.
const Perigee * perigeeParameters() const
return Perigee.
Ensure that the ATLAS eigen extensions are properly loaded.
double charge(const T &p)
#define ATH_MSG_WARNING(x)
Identifier identify() const
return the identifier -extends MeasurementBase
void collect(const HLT::TriggerElement *te, std::vector< Trig::Feature< T > > &data, const std::string &label, unsigned int condition, const std::string &teName, const HLT::TrigNavStructure *navstructure)
actual feature acceess implementation It has (thanks to the ClassTraits) functionality to flatten con...
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.