|
ATLAS Offline Software
|
Class to represent sTgc measurements.
More...
#include <sTgcPrepData.h>
|
| sTgcPrepData ()=default |
|
| sTgcPrepData (const sTgcPrepData &)=delete |
|
| sTgcPrepData (sTgcPrepData &&) noexcept=default |
|
sTgcPrepData & | operator= (const sTgcPrepData &)=delete |
|
sTgcPrepData & | operator= (sTgcPrepData &&) noexcept=default |
|
| sTgcPrepData (const Identifier &RDOId, const IdentifierHash &idDE, Amg::Vector2D &&locpos, std::vector< Identifier > &&rdoList, Amg::MatrixX &&locErrMat, const MuonGM::sTgcReadoutElement *detEl, const int charge, const short int time, std::vector< uint16_t > &&stripNumbers, std::vector< short int > &&stripTimes, std::vector< int > &&stripCharges) |
| Constructor. More...
|
|
| sTgcPrepData (const Identifier &RDOId, const IdentifierHash &idDE, Amg::Vector2D &&locpos, std::vector< Identifier > &&rdoList, Amg::MatrixX &&locErrMat, const MuonGM::sTgcReadoutElement *detEl, const int charge=0, const short int time=0) |
|
virtual | ~sTgcPrepData ()=default |
| Destructor: More...
|
|
virtual const Amg::Vector3D & | globalPosition () const override final |
| Returns the global position. More...
|
|
virtual const MuonGM::sTgcReadoutElement * | detectorElement () const override final |
| Returns the detector element corresponding to this PRD. More...
|
|
virtual bool | type (Trk::PrepRawDataType type) const override final |
| Interface method checking the type. More...
|
|
virtual MsgStream & | dump (MsgStream &stream) const override final |
| Dumps information about the PRD. More...
|
|
virtual std::ostream & | dump (std::ostream &stream) const override final |
| Dumps information about the PRD. More...
|
|
int | charge () const |
| Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC. More...
|
|
short int | time () const |
|
const std::vector< uint16_t > & | stripNumbers () const |
| returns the list of strip numbers More...
|
|
const std::vector< short int > & | stripTimes () const |
| returns the list of times More...
|
|
const std::vector< int > & | stripCharges () const |
| returns the list of charges More...
|
|
Quality | quality () const |
|
void | setQuality (const Quality q) |
|
Author | author () const |
|
void | setAuthor (const Author a) |
|
virtual IdentifierHash | collectionHash () const |
| Returns the IdentifierHash corresponding to the PRD collection in the PRD container. More...
|
|
Identifier | identify () const |
| return the identifier More...
|
|
const Amg::Vector2D & | localPosition () const |
| return the local position reference More...
|
|
const std::vector< Identifier > & | rdoList () const |
| return the List of rdo identifiers (pointers) More...
|
|
const Amg::MatrixX & | localCovariance () const |
| return const ref to the error matrix More...
|
|
bool | hasLocalCovariance () const |
| returns localCovariance().size()!=0 More...
|
|
void | setHashAndIndex (unsigned short collHash, unsigned short objIndex) |
| TEMP for testing: might make some classes friends later ... More...
|
|
const IdentContIndex & | getHashAndIndex () const |
|
Class to represent sTgc measurements.
Definition at line 20 of file sTgcPrepData.h.
◆ Author
Enumerator |
---|
unKnown | |
RdoToPrdConverter | |
TrigProcessor | |
SimpleClusterBuilder | |
Caruana | |
Definition at line 100 of file sTgcPrepData.h.
104 SimpleClusterBuilder,
◆ Quality
◆ sTgcPrepData() [1/5]
Muon::sTgcPrepData::sTgcPrepData |
( |
| ) |
|
|
default |
◆ sTgcPrepData() [2/5]
◆ sTgcPrepData() [3/5]
◆ sTgcPrepData() [4/5]
Muon::sTgcPrepData::sTgcPrepData |
( |
const Identifier & |
RDOId, |
|
|
const IdentifierHash & |
idDE, |
|
|
Amg::Vector2D && |
locpos, |
|
|
std::vector< Identifier > && |
rdoList, |
|
|
Amg::MatrixX && |
locErrMat, |
|
|
const MuonGM::sTgcReadoutElement * |
detEl, |
|
|
const int |
charge, |
|
|
const short int |
time, |
|
|
std::vector< uint16_t > && |
stripNumbers, |
|
|
std::vector< short int > && |
stripTimes, |
|
|
std::vector< int > && |
stripCharges |
|
) |
| |
Constructor.
- Parameters
-
RDOId | The identifier of the central strip of the cluster |
locpos | The local coords of the measurement (this object will now own the LocalPostion) |
rdoList | Vector of all the Identifiers of the strips used in this cluster |
locErrMat | The error of the measurement (this object will now own the ErrorMatrix) |
detEl | The pointer to the Detector Element on which this measurement was made (must NOT be zero). Ownership is NOT taken (the pointer is assumed to belong to GeoModel and will not be deleted) |
bcBitMap | bitmap storing in which bunches the channel fired |
Definition at line 10 of file sTgcPrepData.cxx.
◆ sTgcPrepData() [5/5]
◆ ~sTgcPrepData()
virtual Muon::sTgcPrepData::~sTgcPrepData |
( |
| ) |
|
|
virtualdefault |
◆ author()
Author Muon::sTgcPrepData::author |
( |
| ) |
const |
|
inline |
◆ charge()
int Muon::sTgcPrepData::charge |
( |
| ) |
const |
|
inline |
Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC.
Definition at line 154 of file sTgcPrepData.h.
◆ collectionHash()
◆ detectorElement()
|
inlinefinaloverridevirtual |
Returns the detector element corresponding to this PRD.
The pointer will be zero if the det el is not defined (i.e. it was not passed in by the ctor)
Implements Muon::MuonCluster.
Definition at line 139 of file sTgcPrepData.h.
◆ dump() [1/2]
MsgStream & Muon::sTgcPrepData::dump |
( |
MsgStream & |
stream | ) |
const |
|
finaloverridevirtual |
◆ dump() [2/2]
std::ostream & Muon::sTgcPrepData::dump |
( |
std::ostream & |
stream | ) |
const |
|
finaloverridevirtual |
◆ getHashAndIndex()
◆ globalPosition()
|
inlinefinaloverridevirtual |
◆ hasLocalCovariance()
bool Trk::PrepRawData::hasLocalCovariance |
( |
| ) |
const |
|
inherited |
◆ identify()
◆ localCovariance()
return const ref to the error matrix
◆ localPosition()
return the local position reference
◆ numberOfInstantiations()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ quality()
Quality Muon::sTgcPrepData::quality |
( |
| ) |
const |
|
inline |
◆ rdoList()
return the List of rdo identifiers (pointers)
◆ setAuthor()
◆ setHashAndIndex()
void Trk::PrepRawData::setHashAndIndex |
( |
unsigned short |
collHash, |
|
|
unsigned short |
objIndex |
|
) |
| |
|
inherited |
TEMP for testing: might make some classes friends later ...
◆ setQuality()
◆ stripCharges()
const std::vector< int > & Muon::sTgcPrepData::stripCharges |
( |
| ) |
const |
|
inline |
◆ stripNumbers()
const std::vector< uint16_t > & Muon::sTgcPrepData::stripNumbers |
( |
| ) |
const |
|
inline |
◆ stripTimes()
const std::vector< short int > & Muon::sTgcPrepData::stripTimes |
( |
| ) |
const |
|
inline |
◆ time()
short int Muon::sTgcPrepData::time |
( |
| ) |
const |
|
inline |
◆ type()
|
inlinefinaloverridevirtual |
◆ m_author
◆ m_charge
int Muon::sTgcPrepData::m_charge {0} |
|
private |
◆ m_clusId
◆ m_detEl
Cached pointer to the detector element - should never be zero.
Definition at line 120 of file sTgcPrepData.h.
◆ m_globalPosition
◆ m_indexAndHash
Stores its own position (index) in collection plus the hash id for the collection (needed for the EL to IDC)
Definition at line 162 of file PrepRawData.h.
◆ m_localCovariance
See derived classes for definition of ErrorMatrix.
Definition at line 158 of file PrepRawData.h.
◆ m_localPos
see derived classes for definition of meaning of LocalPosition
Definition at line 154 of file PrepRawData.h.
◆ m_quality
◆ m_rdoList
std::vector<Identifier> Trk::PrepRawData::m_rdoList {} |
|
privateinherited |
Stores the identifiers of the RDOs.
Definition at line 156 of file PrepRawData.h.
◆ m_stripCharges
std::vector<int> Muon::sTgcPrepData::m_stripCharges {} |
|
private |
◆ m_stripNumbers
std::vector<uint16_t> Muon::sTgcPrepData::m_stripNumbers {} |
|
private |
@list of strip numbers, time and charge, of the strips associated to the PRD
Definition at line 124 of file sTgcPrepData.h.
◆ m_stripTimes
std::vector<short int> Muon::sTgcPrepData::m_stripTimes {} |
|
private |
strip times for the sTGCs will be available for the commissioning of the NSW.
Later the tdo (time) will not be in the datastream due to high occupancy. Then this an empty vector which does not take much space Patrick Scholer 3.12.2019
Definition at line 131 of file sTgcPrepData.h.
◆ m_time
short int Muon::sTgcPrepData::m_time {0} |
|
private |
◆ s_numberOfInstantiations
The documentation for this class was generated from the following files:
const MuonGM::sTgcReadoutElement * m_detEl
Cached pointer to the detector element - should never be zero.
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
virtual const Trk::PlaneSurface & surface() const override
access to chamber surface (phi orientation), uses the first gas gap
std::vector< short int > m_stripTimes
strip times for the sTGCs will be available for the commissioning of the NSW.
virtual bool type(Trk::PrepRawDataType type) const override final
Interface method checking the type.
const std::vector< uint16_t > & stripNumbers() const
returns the list of strip numbers
const std::vector< int > & stripCharges() const
returns the list of charges
std::vector< uint16_t > m_stripNumbers
@list of strip numbers, time and charge, of the strips associated to the PRD
Identifier identify() const
return the identifier
const Amg::Vector2D & localPosition() const
return the local position reference
const IdentContIndex & getHashAndIndex() const
std::vector< int > m_stripCharges
MuonCluster()
Default constructor.
static std::atomic_size_t s_numberOfInstantiations
CxxUtils::CachedUniquePtr< const Amg::Vector3D > m_globalPosition
Global position of measurement.
virtual MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
unsigned short collHash() const
Accessor to hash, obj index and combined index.
virtual void localToGlobal(const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const =0
Specified by each surface type: LocalToGlobal method without dynamic memory allocation.
int charge() const
Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC.
const std::vector< short int > & stripTimes() const
returns the list of times
class thrown in the event of an variable not being defined.