42 sys->messageDebug(
"TrackCollHandle_TrkSegment::availableCollections: Neither"
43 " Pixel, SCT, TRT or Muon geometry available. Won't"
44 " look in event store for Trk::Track collections");
52 QRegExp needsMuonsPattern(
"Converted.*|.*MBoy.*|.*Moore.*|.*Mu.*|.*Staco.*");
53 QRegExp needsAllIDPattern(
".*Id.*|.*ID.*|.*InDet.*|.*Inner.*");
54 QRegExp needsTRTPattern(
".*Trt.*|.*TRT.*|.*trt.*");
56 const bool jobcfgAllID
63 for (
const QString& key : keysInSG) {
65 sys->messageDebug(
"TrackCollHandle_TrkSegment::availableCollections: Ignoring key '"
66 +key+
"' since muon geometry is not present in job.");
70 sys->messageDebug(
"TrackCollHandle_TrkSegment::availableCollections: Ignoring key '"
71 +key+
"' since TRT geometry is not present in job.");
74 if (!jobcfgAllID && needsAllIDPattern.exactMatch(key)) {
75 sys->messageDebug(
"TrackCollHandle_TrkSegment::availableCollections: Ignoring key '"
76 +key+
"' since pixel, sct and trt geometry are not all present in job.");
118 for ( segItr = segmentColl->
begin() ; segItr != segItrEnd; ++segItr) {
DataModel_detail::const_iterator< DataVector > const_iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
void messageDebug(const QString &) const
void message(const QString &) const
TrackSysCommonData * common() const
void hintNumberOfTracksInEvent(unsigned)
const QString & name() const
virtual bool cut(TrackHandleBase *)
void addTrackHandle(TrackHandleBase *)
TrackCollHandleBase(TrackSysCommonData *, const QString &name, TrackType::Type)
static bool alwaysShowAllTrackColls
virtual ~TrackCollHandle_TrkSegment()
void visibleStateUpdated(TrackHandle_TrkSegment *)
TrackCollHandle_TrkSegment(TrackSysCommonData *, const QString &name)
void setupSettingsFromControllerSpecific(TrackSystemController *)
static QStringList availableCollections(IVP1System *)
bool cut(TrackHandleBase *)
SoMaterial * currentMaterial() const
const Trk::Segment * trkSegmentPointer() const
VisibleObjectToMaterialHelper< Trk::Segment > * visTrkSegmentsToMaterialHelper() const
IVP1System * systemBase() const
static bool hasTRTGeometry()
static bool hasPixelGeometry()
static bool hasSCTGeometry()
static bool hasMuonGeometry()
static bool environmentVariableIsOn(const QString &name)
QStringList getKeys() const
void setState(const objectT *, SoMaterial *mat)
DataVector< Trk::Segment > SegmentCollection