|
ATLAS Offline Software
|
Go to the documentation of this file.
19 declareInterface<IMuonSegmentHitSummaryTool>(
this);
21 "Cut on distance from tube end used for holes, negative value means in the tube");
32 return StatusCode::SUCCESS;
44 ATH_MSG_ERROR(
"Null pointer to the read MuonDetectorManager conditions object");
49 double shortestTube {FLT_MAX};
51 bool transformIsSet =
false;
81 int layIndex = 4 * (ml - 1) + (lay - 1);
96 if (!transformIsSet) {
100 dxdy = std::abs(ldir.y()) > 0.001 ? ldir.x() / ldir.y() : 1000.;
101 transformIsSet =
true;
103 if (!mdtShortest || tubeLen < shortestTube) {
105 shortestTube = tubeLen;
108 const bool first_layer = (
m_idHelperSvc->mdtIdHelper().multilayer(
id) == 1);
134 const bool isStereo =
m_idHelperSvc->mmIdHelper().isStereo(
id);
147 int layIndex = 4 * (ml - 1) + (lay - 1);
151 if (transformIsSet) {
158 double ytube = (gToAMDB * detEl->
center(
id)).
y();
159 double xint = dxdy * (ytube - lpos.y()) + lpos.x();
181 int currentEnclosedHoles = 0;
182 bool firstLayerWithHits =
false;
185 hitCounts.
nmdtHoles += lit.second.nholes;
186 if (lit.second.nhits == 0) {
187 ++currentEnclosedHoles;
193 currentEnclosedHoles = 0;
194 firstLayerWithHits =
true;
200 if (0.5 * shortestTube - std::abs(posAlongTube) < 100.) hitCounts.
closeToChamberEdge =
true;
virtual const MdtPrepData * prepRawData() const override final
Returns the PrepRawData used to create this corrected measurement.
virtual const Amg::Vector3D & center(const Identifier &) const override final
Return the center of the surface associated with this identifier In the case of silicon it returns th...
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual Amg::Transform3D GlobalToAmdbLRSTransform() const
This class provides conversion from CSC RDO data to CSC Digits.
int adc() const
Returns the ADC (typically range is 0 to 250)
::StatusCode StatusCode
StatusCode definition for legacy code.
double getActiveTubeLength(const int tubeLayer, const int tube) const
Eigen::Affine3d Transform3D
const std::vector< const Trk::MeasurementBase * > & containedMeasurements() const
returns the vector of Trk::MeasurementBase objects
This class represents the corrected MDT measurements, where the corrections include the effects of wi...
StatusCode initialize(bool used=true)
Eigen::Matrix< double, 3, 1 > Vector3D
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
#define ATH_MSG_WARNING(x)
virtual const Trk::StraightLineSurface & associatedSurface() const override final
Returns the surface on which this measurement was taken.
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
double chiSquared() const
returns the of the overall track fit
StIndex
enum to classify the different station layers in the muon spectrometer
int numberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as integer
virtual const Amg::Vector3D & globalPosition() const override final
global position
const FitQuality * fitQuality() const
return the FitQuality object, returns NULL if no FitQuality is defined
const Amg::Transform3D & transform() const
Returns HepGeom::Transform3D by reference.
virtual const MuonGM::MdtReadoutElement * detectorElement() const override
Returns the detector element corresponding to this PRD.
const Amg::Vector3D & globalDirection() const
global direction
const std::vector< Identifier > & channelsWithoutHit() const
vector of identifiers of channels crossed by the segment but without hit