ATLAS Offline Software
|
#include <TRT_DriftCircle.h>
Public Types | |
using | Island = TRT_LoLumRawData::Island |
Public Member Functions | |
TRT_DriftCircle () | |
TRT_DriftCircle (const TRT_DriftCircle &)=default | |
TRT_DriftCircle & | operator= (const TRT_DriftCircle &)=default |
TRT_DriftCircle & | operator= (TRT_DriftCircle &&)=default |
virtual | ~TRT_DriftCircle ()=default |
TRT_DriftCircle (const Identifier &Id, const Amg::Vector2D &driftRadius, std::vector< Identifier > &&rdoList, Amg::MatrixX &&errDriftRadius, const InDetDD::TRT_BaseElement *detEl, const unsigned int word=0) | |
Constructor with parameters: compact id of the DriftCircle, the driftRadius and its error the RDO dataword with additional validity bit The TRT_BaseElement ptr is not owned. More... | |
TRT_DriftCircle (const Identifier &clusId, const Amg::Vector2D &driftRadius, Amg::MatrixX &&errDriftRadius, const InDetDD::TRT_BaseElement *detEl, const unsigned int word=0) | |
unsigned int | getWord () const |
returns the TRT dataword More... | |
int | driftTimeBin () const |
returns the leading edge bin defined as in TRT_LoLumRawData to be the first 0-1 transition More... | |
int | trailingEdge () const |
returns the trailing edge bin More... | |
bool | highLevel () const |
returns true if the high level threshold was passed More... | |
bool | firstBinHigh () const |
returns true if the first bin is high More... | |
bool | lastBinHigh () const |
returns true if the last bin is high More... | |
double | timeOverThreshold () const |
returns Time over threshold in ns More... | |
int | numberOfHighsBetweenEdges () const |
returns number of high bins between LE and TE (these included) More... | |
int | numberOfLowsBetweenEdges () const |
returns number of low bins between LE and TE (these included) More... | |
double | rawDriftTime () const |
returns the raw driftTime More... | |
double | driftTime (bool &valid) const |
returns the raw driftTime, the passed boolean indicates if the drift time is valid or not. More... | |
bool | driftTimeValid () const |
return true if the corrected drift time is OK More... | |
virtual const InDetDD::TRT_BaseElement * | detectorElement () const override final |
return the detector element corresponding to this PRD More... | |
virtual bool | type (Trk::PrepRawDataType type) const override final |
Interface method checking the type. More... | |
void | setDriftTimeValid (bool valid) |
set driftTimeValid flag More... | |
bool | isNoise () const |
returns true if the hit is caused by noise with a high probability. More... | |
virtual MsgStream & | dump (MsgStream &stream) const override final |
dump information about the PRD object. More... | |
virtual std::ostream & | dump (std::ostream &stream) const override final |
dump information about the PRD object. 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 |
Static Public Member Functions | |
static std::size_t | numberOfInstantiations () |
Static Public Attributes | |
static std::atomic_size_t | s_numberOfInstantiations |
Private Attributes | |
const InDetDD::TRT_BaseElement * | m_detEl |
unsigned int | m_word |
CxxUtils::CachedValue< Island > | m_island {} |
Identifier | m_clusId { 0 } |
PrepRawData ID, not const because of DataPool. More... | |
Amg::Vector2D | m_localPos {} |
see derived classes for definition of meaning of LocalPosition More... | |
std::vector< Identifier > | m_rdoList {} |
Stores the identifiers of the RDOs. More... | |
Amg::MatrixX | m_localCovariance {} |
See derived classes for definition of ErrorMatrix. More... | |
IdentContIndex | m_indexAndHash |
Stores its own position (index) in collection plus the hash id for the collection (needed for the EL to IDC) More... | |
Friends | |
class | ::TRT_DriftCircleContainerCnv |
class | TRT_DriftCircleContainerCnv_p1 |
class | ::TRT_DriftCircleContainerCnv_p0 |
Definition at line 31 of file TRT_DriftCircle.h.
Definition at line 40 of file TRT_DriftCircle.h.
InDet::TRT_DriftCircle::TRT_DriftCircle | ( | ) |
Definition at line 48 of file TRT_DriftCircle.cxx.
|
default |
|
virtualdefault |
InDet::TRT_DriftCircle::TRT_DriftCircle | ( | const Identifier & | Id, |
const Amg::Vector2D & | driftRadius, | ||
std::vector< Identifier > && | rdoList, | ||
Amg::MatrixX && | errDriftRadius, | ||
const InDetDD::TRT_BaseElement * | detEl, | ||
const unsigned int | word = 0 |
||
) |
Constructor with parameters: compact id of the DriftCircle, the driftRadius and its error the RDO dataword with additional validity bit The TRT_BaseElement ptr is not owned.
Definition at line 22 of file TRT_DriftCircle.cxx.
InDet::TRT_DriftCircle::TRT_DriftCircle | ( | const Identifier & | clusId, |
const Amg::Vector2D & | driftRadius, | ||
Amg::MatrixX && | errDriftRadius, | ||
const InDetDD::TRT_BaseElement * | detEl, | ||
const unsigned int | word = 0 |
||
) |
Definition at line 35 of file TRT_DriftCircle.cxx.
|
finaloverridevirtual |
return the detector element corresponding to this PRD
Implements Trk::PrepRawData.
double InDet::TRT_DriftCircle::driftTime | ( | bool & | valid | ) | const |
returns the raw driftTime, the passed boolean indicates if the drift time is valid or not.
depreciated for 13.0.20 and later
int InDet::TRT_DriftCircle::driftTimeBin | ( | ) | const |
returns the leading edge bin defined as in TRT_LoLumRawData to be the first 0-1 transition
bool InDet::TRT_DriftCircle::driftTimeValid | ( | ) | const |
return true if the corrected drift time is OK
|
finaloverridevirtual |
dump information about the PRD object.
Reimplemented from Trk::PrepRawData.
Definition at line 57 of file TRT_DriftCircle.cxx.
|
finaloverridevirtual |
dump information about the PRD object.
Reimplemented from Trk::PrepRawData.
Definition at line 66 of file TRT_DriftCircle.cxx.
bool InDet::TRT_DriftCircle::firstBinHigh | ( | ) | const |
returns true if the first bin is high
|
inherited |
unsigned int InDet::TRT_DriftCircle::getWord | ( | ) | const |
returns the TRT dataword
|
inherited |
returns localCovariance().size()!=0
bool InDet::TRT_DriftCircle::highLevel | ( | ) | const |
returns true if the high level threshold was passed
|
inherited |
return the identifier
bool InDet::TRT_DriftCircle::isNoise | ( | ) | const |
returns true if the hit is caused by noise with a high probability.
This is a temporary feature. To be replaced by a tool that can be configured for different gas speeds etc
bool InDet::TRT_DriftCircle::lastBinHigh | ( | ) | const |
returns true if the last bin is high
|
inherited |
return const ref to the error matrix
|
inherited |
return the local position reference
int InDet::TRT_DriftCircle::numberOfHighsBetweenEdges | ( | ) | const |
returns number of high bins between LE and TE (these included)
|
inlinestaticinherited |
Definition at line 25 of file TrkObjectCounter.h.
int InDet::TRT_DriftCircle::numberOfLowsBetweenEdges | ( | ) | const |
returns number of low bins between LE and TE (these included)
|
default |
|
default |
double InDet::TRT_DriftCircle::rawDriftTime | ( | ) | const |
returns the raw driftTime
|
inherited |
return the List of rdo identifiers (pointers)
void InDet::TRT_DriftCircle::setDriftTimeValid | ( | bool | valid | ) |
set driftTimeValid flag
|
inherited |
TEMP for testing: might make some classes friends later ...
double InDet::TRT_DriftCircle::timeOverThreshold | ( | ) | const |
returns Time over threshold in ns
int InDet::TRT_DriftCircle::trailingEdge | ( | ) | const |
returns the trailing edge bin
|
finaloverridevirtual |
Interface method checking the type.
Implements Trk::PrepRawData.
|
friend |
Definition at line 33 of file TRT_DriftCircle.h.
|
friend |
Definition at line 35 of file TRT_DriftCircle.h.
|
friend |
Definition at line 34 of file TRT_DriftCircle.h.
|
privateinherited |
PrepRawData ID, not const because of DataPool.
Definition at line 151 of file PrepRawData.h.
|
private |
Definition at line 133 of file TRT_DriftCircle.h.
|
privateinherited |
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.
|
private |
Definition at line 135 of file TRT_DriftCircle.h.
|
privateinherited |
See derived classes for definition of ErrorMatrix.
Definition at line 158 of file PrepRawData.h.
|
privateinherited |
see derived classes for definition of meaning of LocalPosition
Definition at line 154 of file PrepRawData.h.
|
privateinherited |
Stores the identifiers of the RDOs.
Definition at line 156 of file PrepRawData.h.
|
private |
Definition at line 134 of file TRT_DriftCircle.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.