|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "GaudiKernel/MsgStream.h"
16 unsigned int qualityFlag) :
17 m_chi2{
chi2}, m_localPosition{
pos}, m_localDirection{
dir}, m_localToGlobal{locToGlo}, m_qualityFlag{qualityFlag} {}
66 stream <<
"MuonCalibSegment with chi2 " <<
chi2() << std::endl;
96 log << MSG::WARNING <<
"MuonCalibSegment::refineMdtSelection: Wrong size of vector!" <<
endmsg;
102 for (
unsigned int i = 0;
i < old_hit_vec.size();
i++) {
103 if (!new_selection[
i]) {
void addCloseHit(MdtCalibHitBase *hit)
add the mdt hit to the set nearby the segment
unsigned int hitsOnTrack() const
retrieve the sum of all XxxCalibHits assigned to the MuonCalibSegment
CscHitVec m_cscHitsOnTrack
set of CscCalibHitBase s assigned to the segment
MdtHitVec m_mdtHitsOnTrack
hits
double m_dtheta
error on local direction
const CscHitVec & cscHOT() const
retrieve the full set of CscCalibHitBase s assigned to this segment
singleton-like access to IMessageSvc via open function and helper
unsigned int emptyTubes() const
number of empty tubes of this segment
static constexpr double s_dummy_ctor_dbl
void setSegment(const Amg::Vector3D &pos, const Amg::Vector3D &dir)
std::vector< MdtHitPtr > MdtHitVec
unsigned int outOfTimeHits() const
number of hits out of time of this segment
TgcHitVec m_tgcCloseHits
set of tgc hits nearby the segment
bool hasFittedT0() const
check whether t0 was fitted
const Amg::Vector3D & position() const
retrieve local position of segment (on station level)
std::shared_ptr< const RpcCalibHitBase > RpcHitPtr
typedef for a collection of RpcCalibHitBase s
virtual ~MuonCalibSegment()
destructor
Amg::Vector3D globalPosition() const
retrieve global position
MdtHitVec m_mdtCloseHits
set of mdt hits nearby the segment
unsigned int qualityFlag() const
retrieve the Fit quality flag
IMessageSvc * getMessageSvc(bool quiet=false)
const RpcHitVec & rpcHOT() const
retrieve the full set of RpcCalibHitBase s assigned to this segment
std::vector< RpcHitPtr > RpcHitVec
const Amg::Vector3D & direction() const
retrieve local direction of segment (on station level) retrieve the transformation from local chamber...
std::vector< CscHitPtr > CscHitVec
MuonCalibSegment(double chi2, const Amg::Vector3D &pos, const Amg::Vector3D &dir, const Amg::Transform3D &locToGlo, unsigned int qualityFlag=0)
constructor fully initializing the segment-parameters, do we need default constructor?
unsigned int mdtCloseHits() const
retrieve the number of nearby mdt hits.
unsigned int cscHitsOnTrack() const
retrieve the number of CscCalibHitBase s assigned to this segment
const TgcHitVec & tgcHOT() const
retrieve the full set of TgcCalibHitBase s assigned to this segment
unsigned int cscCloseHits() const
retrieve the number of nearby csc hits.
RpcHitVec m_rpcHitsOnTrack
set of RpcCalibHitBase s assigned to the segment
unsigned int tgcCloseHits() const
retrieve the number of nearby tgc hits.
const CscHitVec & cscClose() const
retrieve the full set of nearby mdt hits of this segment.
double m_dy0
error on local position
MuonCalibSegment & operator=(const MuonCalibSegment &seg)
assignment operator
Eigen::Affine3d Transform3D
double chi2(TH1 *h0, TH1 *h1)
void refineMdtSelection(const std::vector< unsigned int > &new_selection)
move trck hits to close hits
unsigned int tgcHitsOnTrack() const
retrieve the number of TgcCalibHitBase s assigned to this segment
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
double m_fittedT0
fitted t0
unsigned int rpcCloseHits() const
retrieve the number of nearby rpc hits.
unsigned int rpcHitsOnTrack() const
retrieve the number of RpcCalibHitBase s assigned to this segment
double fittedT0() const
retrieve fitted T0, return -99999 if no fit was performed
std::shared_ptr< const CscCalibHitBase > CscHitPtr
typedef for a collection of CscCalibHitBase s
unsigned int deltaHits() const
number of delta hits of this segment
int author() const
retrieve the segment author
unsigned int closeHits() const
retrieve the sum of all hits close to the MuonCalibSegment.
RpcHitVec m_rpcCloseHits
set of rpc hits nearby the segment
unsigned int mdtHitsOnTrack() const
retrieve the number of MdtCalibHitBase s assigned to this segment
void copy(const MuonCalibSegment &other)
Eigen::Matrix< double, 3, 1 > Vector3D
TgcHitVec m_tgcHitsOnTrack
set of TgcCalibHitBase s assigned to the segment
const TgcHitVec & tgcClose() const
retrieve the full set of nearby mdt hits of this segment.
void setFittedT0(double t0)
sets t0 field
void set(double chi2, const Amg::Vector3D &pos, const Amg::Vector3D &dir)
double error_dtheta() const
retrieve error angle
void addHitOnTrack(MdtCalibHitBase *hit)
add the MdtCalibHitBase to the set assigned to the segment
Amg::Vector3D m_localPosition
position in station (local) coordinates
Amg::Vector3D globalDirection() const
retrieve global direction
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MuonCalibSegment &seg)
std::vector< TgcHitPtr > TgcHitVec
unsigned int missedHits() const
number of missed hits of this segment (out of time + empty tubes)
const RpcHitVec & rpcClose() const
retrieve the full set of nearby mdt hits of this segment.
CscHitVec m_cscCloseHits
set of csc hits nearby the segment
double error_dy0() const
retrieve error position
void setErrors(double error_dy0, double error_dtheta)
sets Local errors on MuonCalibSegment parameters
double chi2() const
retrieve chi2
std::shared_ptr< const TgcCalibHitBase > TgcHitPtr
typedef for a collection of TgcCalibHitBase s
const MdtHitVec & mdtHOT() const
retrieve the full set of MdtCalibHitBase s assigned to this segment
Amg::Transform3D m_localToGlobal
transformation local->global
unsigned int m_qualityFlag
flag describing the fit quality
std::ostream & dump(std::ostream &stream) const
Amg::Vector3D m_localDirection
direction in station (local) coordinates
const Amg::Transform3D & localToGlobal() const
unsigned int hitsPerML(int ML) const
number of hits per multilayer of this segment
void setAuthor(int author)
sets author field
const MdtHitVec & mdtClose() const
retrieve the full set of nearby mdt hits of this segment.
std::shared_ptr< MdtCalibHitBase > MdtHitPtr
typedef for a collection of MdtCalibHitBase s
double m_chi2
goodness of (DC)fit