![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
28 return StatusCode::SUCCESS;
37 return StatusCode::FAILURE;
44 return StatusCode::FAILURE;
52 for (mytracklet = tracklets->
begin(); mytracklet != tracklets->
end(); ++mytracklet)
59 return StatusCode::FAILURE;
61 std::vector<const InDet::PixelCluster*> tracklet_pixelClusters;
64 for (
auto tracklet_measurement : *tracklet_measurements )
68 if( pixelClusterOnTracklet )
73 if( tracklet_pixelCluster )
77 tracklet_pixelClusters.push_back(tracklet_pixelCluster);
83 for (mytrack = trks->
begin(); mytrack != trks->
end(); ++mytrack)
89 return StatusCode::FAILURE;
91 std::vector<const InDet::PixelCluster*> pixelClusters;
94 for (
auto measurement : *measurements )
98 if( pixelClusterOnTrack )
113 for (
unsigned int i = 0;
i < pixelClusters.size();
i++)
115 if (
std::find(tracklet_pixelClusters.begin(),tracklet_pixelClusters.end(),pixelClusters[
i]) != tracklet_pixelClusters.end() )
130 trackletParticle->
auxdecor<
int>(
"MatchedTrackSharedHits") = nSharedHits;
136 if (n_tracks==0 || n_tracklets==0)
ATH_MSG_INFO(
"=========>>>>>>>>n_tracklets=" << n_tracklets <<
" =========>>>>>>>>n_tracks="<< n_tracks);
139 ATH_MSG_DEBUG (
"Your new package and algorithm are successfully executing");
141 return StatusCode::SUCCESS;
148 return StatusCode::SUCCESS;
Const iterator class for DataVector/DataList.
std::string find(const std::string &s)
return a remapped string
SCTExtensionAlg(const std::string &name, ISvcLocator *pSvcLocator)
const std::string & key() const
Return the StoreGate ID for the referenced object.
virtual StatusCode finalize() override
Decorator< T, ALLOC >::reference_type auxdecor(const std::string &name) const
Fetch an aux decoration, as a non-const reference.
virtual StatusCode execute(const EventContext &ctx) const override
An algorithm that can be simultaneously executed in multiple threads.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
size_t index() const
Return the index of this element within its container.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_pixelTracklets
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const DataVector< const MeasurementBase > * measurementsOnTrack() const
return a pointer to a vector of MeasurementBase (NOT including any that come from outliers).
virtual const PixelCluster * prepRawData() const override final
returns the PrepRawData - is a SiCluster in this scope
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracks
bool toPersistent()
Dummy function provinding the offline interface.
Class describing a TrackParticle.
const Trk::Track * track() const
Returns a pointer (which can be NULL) to the Trk::Track which was used to make this TrackParticle.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.