|
ATLAS Offline Software
|
Go to the documentation of this file.
19 #include "Identifier/Identifier.h"
40 m_ITrkFitter(
"Trk::KalmanFitter"),
45 declareInterface<ICollectionProcessor>(
this);
46 declareProperty(
"OutlierRemoval" , m_OutlierRemoval =
true);
47 declareProperty(
"FitterTool" , m_ITrkFitter);
48 declareProperty(
"ParticleNumber" , m_ParticleNumber = 2);
49 declareProperty(
"Cosmic" , m_doCosmic =
false);
50 declareProperty(
"StripPixelHits" , m_stripPixelHits =
false);
51 declareProperty(
"StripSCTHits" , m_stripSCTHits =
false);
52 declareProperty(
"StripTRTHits" , m_stripTRTHits =
true);
89 return StatusCode::SUCCESS;
96 return StatusCode::SUCCESS;
101 ATH_MSG_DEBUG(
"nothing to configure - everything has already been configured in initialize()" );
102 return StatusCode::SUCCESS;
106 ATH_MSG_DEBUG(
"processTrackCollection() of RefitSiOnlyTool" );
115 if (refittedTrack==
nullptr)
141 if (initialPerigee) {
143 << initialPerigee->momentum().mag() /
CLHEP::GeV <<
" CLHEP::GeV/c" );
148 bool containsGangedPixels =
false;
149 std::vector<const Trk::MeasurementBase*> MeasurementBase_Collection;
156 if (rio !=
nullptr) {
159 MeasurementBase_Collection.push_back(*measBase);
166 containsGangedPixels =
true;
168 <<
" because it contains ganged pixel hits" );
179 if (!containsGangedPixels) {
191 ->fit(Gaudi::Hive::currentContext(),
192 MeasurementBase_Collection,
200 ->fit(Gaudi::Hive::currentContext(),
201 MeasurementBase_Collection,
237 const Trk::Perigee* aMeasPer = (*it)->perigeeParameters();
238 if (aMeasPer==
nullptr){
241 double d0 = aMeasPer->parameters()[
Trk::d0];
242 double z0 = aMeasPer->parameters()[
Trk::z0];
244 double theta = aMeasPer->parameters()[
Trk::theta];
def retrieve(aClass, aKey=None)
bool is_pixel(Identifier id) const
bool is_sct(Identifier id) const
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
bool msgLvl(const MSG::Level lvl) const
bool is_trt(Identifier id) const
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
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.
const DataVector< const TrackParameters > * trackParameters() const
Return a pointer to a vector of TrackParameters.
const Perigee * perigeeParameters() const
return Perigee.
bool gangedPixel() const
return the flag of this cluster containing a gangedPixel
value_type push_back(value_type pElem)
Add an element to the end of the collection.
Eigen::Matrix< double, 3, 1 > Vector3D
virtual const Trk::PrepRawData * prepRawData() const =0
returns the PrepRawData (also known as RIO) object to which this RIO_OnTrack is associated.
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).
An STL vector of pointers that by default owns its pointed-to elements.
#define ATH_MSG_WARNING(x)
ComparisonFunction< TrackParameters > TrkParametersComparisonFunction
Identifier identify() const
return the identifier -extends MeasurementBase
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.