ATLAS Offline Software
|
#include <MuonCalibPattern.h>
Classes | |
struct | defineParams |
Public Types | |
using | MuonCalibSegPtr = std::shared_ptr< MuonCalibSegment > |
typedef for a set of (pointers to) MuonCalibSegments More... | |
using | MuonSegmentVec = std::vector< MuonCalibSegPtr > |
typedef for the iterator of the set of MuonCalibSegments More... | |
Public Member Functions | |
MuonCalibPattern ()=default | |
Default constructor. More... | |
MuonCalibPattern (const MuonCalibPattern &pat) | |
Copy constructor. More... | |
MuonCalibPattern & | operator= (const MuonCalibPattern &pat) |
assignment operator. More... | |
~MuonCalibPattern ()=default | |
destructor More... | |
MuonCalibPattern (const defineParams &pars) | |
constructor initializing the pattern with trackparameters, chi2 and More... | |
unsigned int | muonSegments () const |
retrieve number of segments More... | |
const MuonSegmentVec & | muonSegs () const |
retrieve the whole set of MuonCalibSegments: reference to the segment vector More... | |
MuonSegmentVec & | muonSegs () |
retrieve the whole set of MuonCalibSegments: reference to the segment vector More... | |
double | chi2 () const |
retrieve chi2 of the pattern More... | |
double | z0 () const |
retrieve the z0 (track)parameter of the pattern More... | |
double | r0 () const |
retrieve the r0 (track)parameter of the pattern More... | |
double | invP () const |
retrieve the invP (track)parameter of the pattern More... | |
double | phi () const |
retrieve the phi (track)parameter of the pattern More... | |
double | theta () const |
retrieve the theta (track)parameter of the pattern More... | |
unsigned int | nmdtHits () const |
< retrieve number of MDT hits. Counting convention: 1000*eta hits + phi hits. Note that MDTs only measure eta hits More... | |
unsigned int | nrpcHits () const |
retrieve number of TGC hits. More... | |
unsigned int | ntgcHits () const |
retrieve number of CSC hits. More... | |
unsigned int | ncscHits () const |
void | addMuonSegment (MuonCalibSegPtr seg) |
std::ostream & | dump (std::ostream &os) const |
Private Member Functions | |
void | copy (const MuonCalibPattern &other) |
Private Attributes | |
MuonSegmentVec | m_muonSegments |
set of MuonCalibSegments assigned to this MuonCalibPattern More... | |
defineParams | m_pars |
Class to store the information belonging to a global pattern in the muon system. It contains all information needed to calibrate the different technologies in the muon system.
The pattern recognition provides the MuonCalibPattern, optionally one can provide the number of hits associated to the pattern. MuonCalibSegment s that are identified to belong to the same trajectory are assigned to the MuonCalibPattern. Furthermore, the MuonCalibPattern contains a goodness of fit and an estimate of the track parameters.
Definition at line 42 of file MuonCalibPattern.h.
using MuonCalib::MuonCalibPattern::MuonCalibSegPtr = std::shared_ptr<MuonCalibSegment> |
typedef for a set of (pointers to) MuonCalibSegments
Definition at line 44 of file MuonCalibPattern.h.
using MuonCalib::MuonCalibPattern::MuonSegmentVec = std::vector<MuonCalibSegPtr> |
typedef for the iterator of the set of MuonCalibSegments
Definition at line 46 of file MuonCalibPattern.h.
|
default |
Default constructor.
MuonCalib::MuonCalibPattern::MuonCalibPattern | ( | const MuonCalibPattern & | pat | ) |
|
default |
destructor
MuonCalib::MuonCalibPattern::MuonCalibPattern | ( | const defineParams & | pars | ) |
constructor initializing the pattern with trackparameters, chi2 and
number of hits in the different technologies.
Definition at line 34 of file MuonCalibPattern.cxx.
void MuonCalib::MuonCalibPattern::addMuonSegment | ( | MuonCalibSegPtr | seg | ) |
Definition at line 32 of file MuonCalibPattern.cxx.
double MuonCalib::MuonCalibPattern::chi2 | ( | ) | const |
retrieve chi2 of the pattern
Definition at line 19 of file MuonCalibPattern.cxx.
|
private |
Need to find out whether the segment should be copied or not
Definition at line 38 of file MuonCalibPattern.cxx.
std::ostream & MuonCalib::MuonCalibPattern::dump | ( | std::ostream & | os | ) | const |
double MuonCalib::MuonCalibPattern::invP | ( | ) | const |
retrieve the invP (track)parameter of the pattern
Definition at line 22 of file MuonCalibPattern.cxx.
unsigned int MuonCalib::MuonCalibPattern::muonSegments | ( | ) | const |
MuonCalibPattern::MuonSegmentVec & MuonCalib::MuonCalibPattern::muonSegs | ( | ) |
retrieve the whole set of MuonCalibSegments: reference to the segment vector
Definition at line 16 of file MuonCalibPattern.cxx.
const MuonCalibPattern::MuonSegmentVec & MuonCalib::MuonCalibPattern::muonSegs | ( | ) | const |
retrieve the whole set of MuonCalibSegments: reference to the segment vector
Definition at line 15 of file MuonCalibPattern.cxx.
unsigned int MuonCalib::MuonCalibPattern::ncscHits | ( | ) | const |
Definition at line 29 of file MuonCalibPattern.cxx.
unsigned int MuonCalib::MuonCalibPattern::nmdtHits | ( | ) | const |
< retrieve number of MDT hits. Counting convention: 1000*eta hits + phi hits. Note that MDTs only measure eta hits
retrieve number of RPC hits. Counting convention: 1000*eta hits + phi hits.
Definition at line 26 of file MuonCalibPattern.cxx.
unsigned int MuonCalib::MuonCalibPattern::nrpcHits | ( | ) | const |
retrieve number of TGC hits.
Counting convention: 1000*eta hits + phi hits.
Definition at line 27 of file MuonCalibPattern.cxx.
unsigned int MuonCalib::MuonCalibPattern::ntgcHits | ( | ) | const |
retrieve number of CSC hits.
Counting convention: 1000*eta hits + phi hits.
Definition at line 28 of file MuonCalibPattern.cxx.
MuonCalibPattern & MuonCalib::MuonCalibPattern::operator= | ( | const MuonCalibPattern & | pat | ) |
assignment operator.
Not sure whether we need it...
Definition at line 47 of file MuonCalibPattern.cxx.
double MuonCalib::MuonCalibPattern::phi | ( | ) | const |
retrieve the phi (track)parameter of the pattern
Definition at line 23 of file MuonCalibPattern.cxx.
double MuonCalib::MuonCalibPattern::r0 | ( | ) | const |
retrieve the r0 (track)parameter of the pattern
Definition at line 21 of file MuonCalibPattern.cxx.
double MuonCalib::MuonCalibPattern::theta | ( | ) | const |
retrieve the theta (track)parameter of the pattern
Definition at line 24 of file MuonCalibPattern.cxx.
double MuonCalib::MuonCalibPattern::z0 | ( | ) | const |
retrieve the z0 (track)parameter of the pattern
Definition at line 20 of file MuonCalibPattern.cxx.
|
private |
set of MuonCalibSegments assigned to this MuonCalibPattern
Definition at line 111 of file MuonCalibPattern.h.
|
private |
Definition at line 114 of file MuonCalibPattern.h.