|
ATLAS Offline Software
|
Go to the documentation of this file.
48 sys->messageDebug(
"TrackCollHandle_TrkTrack::availableCollections: Neither"
49 " Pixel, SCT, TRT or Muon geometry available. Won't"
50 " look in event store for Trk::Track collections");
63 QRegExp needsMuonsPattern(
"Converted.*|.*MBoy.*|.*Moore.*|.*Mu.*|.*Staco.*");
64 QRegExp needsTRTPattern(
".*trt.*|.*TRT.*|.*Trt.*");
65 QRegExp needsAllIDPattern(
"ExtendedTracks|ResolvedTracks|Tracks|.*Id.*|.*ID.*|.*InDet.*|.*Inner.*");
67 const bool jobcfgAllID
74 for (QString
key : keysInSG) {
76 sys->messageDebug(
"TrackCollHandle_TrkTrack::availableCollections: Ignoring key '"
77 +
key+
"' since muon geometry is not present in job.");
80 if (!jobcfgAllID && needsAllIDPattern.exactMatch(
key)) {
81 sys->messageDebug(
"TrackCollHandle_TrkTrack::availableCollections: Ignoring key '"
82 +
key+
"' since pixel, sct and trt geometry are not all present in job.");
86 sys->messageDebug(
"TrackCollHandle_TrkTrack::availableCollections: Ignoring key '"
87 +
key+
"' since trt geometry is not present in job.");
117 return QRegExp((
env.isEmpty()?
"*fatras*":
env),Qt::CaseInsensitive,QRegExp::Wildcard).exactMatch(
key);
126 message(
"Error: Could not retrieve track collection with key="+
name());
134 for ( trackItr = trackColl->
begin() ; trackItr != trackItrEnd; ++trackItr) {
138 messageDebug(
"WARNING: Ignoring null Trk::Track pointer.");
def retrieve(aClass, aKey=None)
Const iterator class for DataVector/DataList.
TrackCollHandle_TrkTrack(TrackSysCommonData *, const QString &name, TrackType::Type type=TrackType::TrkTrack)
VisibleObjectToMaterialHelper< Trk::Track > * visTrkTracksToMaterialHelper() const
TrackCollHandle_TrkTrack * theclass
const Trk::Track * trkTrackPointer() const
void hintNumberOfTracksInEvent(unsigned)
static bool alwaysShowAllTrackColls
void messageDebug(const QString &) const
void visibleStateUpdated(TrackHandle_TrkTrack *)
static QString environmentVariableValue(const QString &name)
static QStringList availableCollections(IVP1System *)
virtual bool cut(TrackHandleBase *)
static bool environmentVariableIsOn(const QString &name)
static bool hasSCTGeometry()
SoMaterial * currentMaterial() const
static bool hasTRTGeometry()
IVP1System * systemBase() 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.
virtual bool cut(TrackHandleBase *)
void message(const QString &) const
TrackCommonFlags::DETAILLEVEL detailLevel
virtual ~TrackCollHandle_TrkTrack()
TrackSysCommonData * common() const
static bool hasPixelGeometry()
static bool hasMuonGeometry()
static bool isFatrasTruthTrack(const QString &key)
size_type size() const noexcept
Returns the number of elements in the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.