|
ATLAS Offline Software
|
Go to the documentation of this file.
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 (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) {
def retrieve(aClass, aKey=None)
TrackCollHandle_TrkSegment(TrackSysCommonData *, const QString &name)
Const iterator class for DataVector/DataList.
static bool alwaysShowAllTrackColls
virtual ~TrackCollHandle_TrkSegment()
void hintNumberOfTracksInEvent(unsigned)
QStringList getKeys() const
static QStringList availableCollections(IVP1System *)
virtual bool cut(TrackHandleBase *)
static bool environmentVariableIsOn(const QString &name)
void setupSettingsFromControllerSpecific(TrackSystemController *)
const Trk::Segment * trkSegmentPointer() const
static bool hasSCTGeometry()
SoMaterial * currentMaterial() const
static bool hasTRTGeometry()
VisibleObjectToMaterialHelper< Trk::Segment > * visTrkSegmentsToMaterialHelper() const
void visibleStateUpdated(TrackHandle_TrkSegment *)
IVP1System * systemBase() const
void messageDebug(const QString &) const
void addTrackHandle(TrackHandleBase *)
void setState(const objectT *, SoMaterial *mat)
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
bool cut(TrackHandleBase *)
TrackSysCommonData * common() const
static bool hasPixelGeometry()
static bool hasMuonGeometry()
size_type size() const noexcept
Returns the number of elements in the collection.
void message(const QString &) const
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.