|
ATLAS Offline Software
|
Go to the documentation of this file.
28 return StatusCode::SUCCESS;
37 ATH_MSG_WARNING(
" CompetingMuonClustersOnTrack without contained ROTs ");
41 ATH_MSG_WARNING(
" CompetingMuonClustersOnTrack contains a ROT pointer that is zero ");
56 if( !
id.is_valid() )
continue;
74 std::set<Identifier> chIds;
81 if( !
id.is_valid() )
continue;
91 chIds.insert(chidTrig);
104 if( !measurements )
return true;
109 for( ;rit!=rit_end;++rit ){
111 if( !
id.is_valid() )
continue;
149 return reducedChi2 <= chi2Cut;
158 if (!pp || !pp->covariance())
return false;
161 for(
int i=0;
i<4;++
i ) momCov += std::abs( (*pp->covariance())(4,
i) );
162 return momCov < 1.e-10;
MuonEDMHelperSvc(const std::string &name, ISvcLocator *svc)
default AlgService constructor
const_reverse_iterator rend() const noexcept
Return a const_reverse_iterator pointing at the beginning of the collection.
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
bool contains(ParamDefs par) const
The simple check for the clients whether the parameter is contained.
virtual StatusCode initialize() override
initialize method, method taken from bass-class AlgTool
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
bool is_valid() const
Check if id is in a valid state.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
@ StraightTrack
A straight track.
virtual Identifier getIdentifier(const Trk::MeasurementBase &meas) const override
tries to get Identifier for measurement, if not possible it will return Identifier()
std::unique_ptr< ParametersT< DIM, T, PlaneSurface > > createUniqueParameters(double l1, double l2, double phi, double theta, double qop, std::optional< AmgSymMatrix(DIM)> cov=std::nullopt) const
Use the Surface as a ParametersBase constructor, from local parameters.
::StatusCode StatusCode
StatusCode definition for legacy code.
const std::vector< const Trk::MeasurementBase * > & containedMeasurements() const
returns the vector of Trk::MeasurementBase objects
Class to represent and store fit qualities from track reconstruction in terms of and number of degre...
AthROOTErrorHandlerSvc * svc
const_reverse_iterator rbegin() const noexcept
Return a const_reverse_iterator pointing past the end of the collection.
double charge(const T &p)
const std::vector< const MuonClusterOnTrack * > & containedROTs() const
returns the vector of SCT_ClusterOnTrack objects .
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
virtual std::set< Identifier > chamberIds(const MuonSegment &seg) const override
returns a set containing the chamber Ids of all MDT or CSC chambers on the segment
#define ATH_MSG_WARNING(x)
Identifier identify() const
return the identifier -extends MeasurementBase
virtual Identifier chamberId(const MuonSegment &seg) const override
returns the first MDT or CSC identifier of the segment
double chiSquared() const
returns the of the overall track fit
virtual bool isSLTrack(const Trk::Track &track) const override
determines whether a track is a straight line track (no momentum fitted).
int numberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as integer
virtual bool goodTrack(const Trk::Track &track, double chi2Cut) const override
check whether track satisfies selection chi2 cut
virtual bool isEndcap(const MuonSegment &seg) const override
returns whether the segment is in the endcap
std::vector< ObjType * > release(std::vector< std::unique_ptr< ObjType >> &objVec)
virtual const Trk::AtaPlane * createTrackParameters(const MuonSegment &seg, double momentum=1., double charge=0.) const override
brief create a AtaPlane track parameter for segment
virtual const Trk::PlaneSurface & associatedSurface() const override final
returns the surface for the local to global transformation
const Amg::Vector3D & globalDirection() const
global direction