![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "Identifier/Identifier.h"
18 const IInterface*
p ) :
31 return StatusCode::SUCCESS;
36 return StatusCode::SUCCESS;
51 ATH_MSG_ERROR(
"track already found in cache, should not happen");
52 return StatusCode::FAILURE;
65 if (
pixel->gangedPixel()) {
67 std::pair<PixelGangedClusterAmbiguities::const_iterator,
68 PixelGangedClusterAmbiguities::const_iterator> ambi = gangedAmbis->equal_range(
pixel);
69 for (; ambi.first != ambi.second ; ++(ambi.first) ) {
71 ATH_MSG_DEBUG(
"Found mirror pixel, add mirror to association map" );
83 return StatusCode::SUCCESS;
107 ATH_MSG_ERROR(
"Track not found in cache, this should not happen");
108 return StatusCode::FAILURE;
114 std::vector< const Trk::PrepRawData* > prds = itvec->second;
121 ConstPRD_MapIt mapIt =
range.first;
122 ConstPRD_MapIt mapItEnd =
range.second;
124 for ( ;mapIt!=mapItEnd; ++mapIt) {
125 if ( mapIt->second==&
track ) {
135 if (
pixel->gangedPixel()) {
136 std::pair<PixelGangedClusterAmbiguities::const_iterator,
137 PixelGangedClusterAmbiguities::const_iterator> ambi = gangedAmbis->equal_range(
pixel);
138 for (; ambi.first != ambi.second ; ++(ambi.first) ) {
140 ATH_MSG_DEBUG(
"Found ganged pixel, remove also mirror from association map");
145 mapItEnd =
range.second;
147 for ( ;mapIt!=mapItEnd; ++mapIt) {
148 if ( mapIt->second==&
track ) {
163 <<&
track<<
") \t- map has changed size from \t"
165 return StatusCode::SUCCESS;
187 connectedTracks.insert((
range.first)->second);
193 if (
pixel->gangedPixel()) {
194 std::pair<PixelGangedClusterAmbiguities::const_iterator,
195 PixelGangedClusterAmbiguities::const_iterator> ambi = gangedAmbis->equal_range(
pixel);
196 for (; ambi.first != ambi.second ; ++(ambi.first) ) {
200 connectedTracks.insert((
range.first)->second);
207 connectedTracks.erase(&
track);
210 <<
"\tsize of list is "<<connectedTracks.size());
212 return connectedTracks;
216 std::vector< const Trk::PrepRawData* >
223 std::vector< const Trk::PrepRawData* >
227 using PRDs_t = std::vector<const Trk::PrepRawData *>;
233 ATH_MSG_VERBOSE(
"found track in cache, return cached PRD vector for track");
234 return itvec->second;
237 if (
track.measurementsOnTrack()==
nullptr) {
246 vec.reserve(
track.measurementsOnTrack()->size());
251 for (;
it!=itEnd;++
it){
252 const auto *
const pThisMeasurement(*
it);
JetConstituentVector::iterator iterator
std::set< TrackPtr > TrackSet
virtual bool rioType(RIO_OnTrackType::Type type) const =0
Method checking the Rio On Track type.
std::vector< size_t > vec
#define ATH_MSG_VERBOSE(x)
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
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.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual const Trk::PrepRawData * prepRawData() const =0
returns the PrepRawData (also known as RIO) object to which this RIO_OnTrack is associated.
#define ATH_MSG_WARNING(x)