![]() |
ATLAS Offline Software
|
#include <PixelCluster.h>
Public Member Functions | |
PixelCluster () | |
Public, Copy, operator=, constructor. More... | |
PixelCluster (const PixelCluster &)=default | |
PixelCluster (PixelCluster &&)=default | |
PixelCluster & | operator= (const PixelCluster &rhs)=default |
PixelCluster & | operator= (PixelCluster &&rhs)=default |
virtual | ~PixelCluster () |
PixelCluster (const Identifier &RDOId, const Amg::Vector2D &locpos, std::vector< Identifier > &&rdoList, const InDet::SiWidth &width, const InDetDD::SiDetectorElement *detEl, Amg::MatrixX &&locErrMat, const float omegax=-1., const float omegay=-1., bool split=false, float splitProb1=0., float splitProb2=0.) | |
PixelCluster (const Identifier &RDOId, const Amg::Vector2D &locpos, std::vector< Identifier > &&rdoList, const int lvl1a, std::vector< int > &&totList, const InDet::SiWidth &width, const InDetDD::SiDetectorElement *detEl, Amg::MatrixX &&locErrMat, const float omegax=-1., const float omegay=-1., bool split=false, float splitProb1=0., float splitProb2=0.) | |
PixelCluster (const Identifier &RDOId, const Amg::Vector2D &locpos, std::vector< Identifier > &&rdoList, const int lvl1a, std::vector< int > &&totList, std::vector< float > &&chargeList, const InDet::SiWidth &width, const InDetDD::SiDetectorElement *detEl, Amg::MatrixX &&locErrMat, const float omegax=-1., const float omegay=-1., bool split=false, float splitProb1=0., float splitProb2=0.) | |
PixelCluster (const Identifier &RDOId, const Amg::Vector2D &locpos, const Amg::Vector3D &globpos, std::vector< Identifier > &&rdoList, const int lvl1a, std::vector< int > &&totList, std::vector< float > &&chargeList, const InDet::SiWidth &width, const InDetDD::SiDetectorElement *detEl, Amg::MatrixX &&locErrMat, const float omegax=-1., const float omegay=-1., bool split=false, float splitProb1=0., float splitProb2=0.) | |
PixelCluster (const Identifier &RDOId, const Amg::Vector2D &locpos, std::vector< Identifier > &&rdoList, const int lvl1a, int totalToT, std::vector< float > &&chargeList, float totalCharge, const InDet::SiWidth &width, const InDetDD::SiDetectorElement *detEl, Amg::MatrixX &&locErrMat, const float omegax, const float omegay, int splitInfoRaw) | |
virtual bool | type (Trk::PrepRawDataType type) const override final |
Interface method checking the type. More... | |
float | omegax () const |
float | omegay () const |
const std::vector< int > & | totList () const |
int | totalToT () const |
const std::vector< float > & | chargeList () const |
float | totalCharge () const |
float | energyLoss () const |
Energy lost is in the cluster is computed from the total charge id a calibration could be used. More... | |
bool | isFake () const |
bool | setFake (bool) |
bool | isAmbiguous () const |
bool | setAmbiguous (bool) |
bool | isSplit () const |
access mehtods for splitting More... | |
double | splitProbability1 () const |
double | splitProbability2 () const |
int | splitInfoRaw () const |
int | LVL1A () const |
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... | |
void | packSplitInformation (bool split, float prob1, float prob2) |
void | setTooBigToBeSplit (bool a) |
bool | tooBigToBeSplit () const |
void | setToTList (std::vector< int > &&totList) |
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 | |
float | m_omegax |
float | m_omegay |
std::vector< int > | m_totList |
int | m_totalToT |
std::vector< float > | m_chargeList |
float | m_totalCharge |
bool | m_fake |
bool | m_ambiguous |
int | m_lvl1 |
unsigned int | m_splitInfo {} |
bool | m_tooBigToBeSplit |
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... | |
Virtual methods | |
Amg::Vector3D | m_globalPosition = Amg::Vector3D::Zero() |
InDet::SiWidth | m_width {} |
col, row, and width in mm More... | |
const InDetDD::SiDetectorElement * | m_detEl = nullptr |
Not owning points (ownned by the store. More... | |
bool | m_gangedPixel = false |
const InDet::SiWidth & | width () const |
return width class reference More... | |
const Amg::Vector3D & | globalPosition () const |
return global position reference More... | |
void | setGangedPixel (bool ganged) |
set the flag of this cluster containing a gangedPixel More... | |
bool | gangedPixel () const |
return the flag of this cluster containing a gangedPixel More... | |
virtual const InDetDD::SiDetectorElement * | detectorElement () const override final |
return the detector element corresponding to this PRD The pointer will be zero if the det el is not defined (i.e. More... | |
void | setDetectorElement (const InDetDD::SiDetectorElement *detEl) |
Set the m_detEl and calculate globalPostion. More... | |
Definition at line 49 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
InDet::PixelCluster::PixelCluster | ( | ) |
|
default |
|
default |
|
virtualdefault |
InDet::PixelCluster::PixelCluster | ( | const Identifier & | RDOId, |
const Amg::Vector2D & | locpos, | ||
std::vector< Identifier > && | rdoList, | ||
const InDet::SiWidth & | width, | ||
const InDetDD::SiDetectorElement * | detEl, | ||
Amg::MatrixX && | locErrMat, | ||
const float | omegax = -1. , |
||
const float | omegay = -1. , |
||
bool | split = false , |
||
float | splitProb1 = 0. , |
||
float | splitProb2 = 0. |
||
) |
Definition at line 32 of file PixelCluster.cxx.
InDet::PixelCluster::PixelCluster | ( | const Identifier & | RDOId, |
const Amg::Vector2D & | locpos, | ||
std::vector< Identifier > && | rdoList, | ||
const int | lvl1a, | ||
std::vector< int > && | totList, | ||
const InDet::SiWidth & | width, | ||
const InDetDD::SiDetectorElement * | detEl, | ||
Amg::MatrixX && | locErrMat, | ||
const float | omegax = -1. , |
||
const float | omegay = -1. , |
||
bool | split = false , |
||
float | splitProb1 = 0. , |
||
float | splitProb2 = 0. |
||
) |
Definition at line 58 of file PixelCluster.cxx.
InDet::PixelCluster::PixelCluster | ( | const Identifier & | RDOId, |
const Amg::Vector2D & | locpos, | ||
std::vector< Identifier > && | rdoList, | ||
const int | lvl1a, | ||
std::vector< int > && | totList, | ||
std::vector< float > && | chargeList, | ||
const InDet::SiWidth & | width, | ||
const InDetDD::SiDetectorElement * | detEl, | ||
Amg::MatrixX && | locErrMat, | ||
const float | omegax = -1. , |
||
const float | omegay = -1. , |
||
bool | split = false , |
||
float | splitProb1 = 0. , |
||
float | splitProb2 = 0. |
||
) |
Definition at line 89 of file PixelCluster.cxx.
InDet::PixelCluster::PixelCluster | ( | const Identifier & | RDOId, |
const Amg::Vector2D & | locpos, | ||
const Amg::Vector3D & | globpos, | ||
std::vector< Identifier > && | rdoList, | ||
const int | lvl1a, | ||
std::vector< int > && | totList, | ||
std::vector< float > && | chargeList, | ||
const InDet::SiWidth & | width, | ||
const InDetDD::SiDetectorElement * | detEl, | ||
Amg::MatrixX && | locErrMat, | ||
const float | omegax = -1. , |
||
const float | omegay = -1. , |
||
bool | split = false , |
||
float | splitProb1 = 0. , |
||
float | splitProb2 = 0. |
||
) |
Definition at line 128 of file PixelCluster.cxx.
InDet::PixelCluster::PixelCluster | ( | const Identifier & | RDOId, |
const Amg::Vector2D & | locpos, | ||
std::vector< Identifier > && | rdoList, | ||
const int | lvl1a, | ||
int | totalToT, | ||
std::vector< float > && | chargeList, | ||
float | totalCharge, | ||
const InDet::SiWidth & | width, | ||
const InDetDD::SiDetectorElement * | detEl, | ||
Amg::MatrixX && | locErrMat, | ||
const float | omegax, | ||
const float | omegay, | ||
int | splitInfoRaw | ||
) |
Definition at line 168 of file PixelCluster.cxx.
|
inline |
Definition at line 209 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
finaloverridevirtualinherited |
return 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 Trk::PrepRawData.
|
finaloverridevirtual |
dump information about the PRD object.
Reimplemented from InDet::SiCluster.
Definition at line 216 of file PixelCluster.cxx.
|
finaloverridevirtual |
dump information about the PRD object.
Reimplemented from InDet::SiCluster.
Definition at line 223 of file PixelCluster.cxx.
|
inline |
Energy lost is in the cluster is computed from the total charge id a calibration could be used.
Just the ToT is returned if no calibration is available, but with a negative sign. If no ToT or Charge data are available, it gives back 0
Definition at line 218 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inherited |
return the flag of this cluster containing a gangedPixel
|
inherited |
|
inherited |
return global position reference
|
inherited |
returns localCovariance().size()!=0
|
inherited |
return the identifier
|
inline |
Definition at line 236 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inline |
Definition at line 228 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inline |
access mehtods for splitting
Definition at line 248 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inherited |
return const ref to the error matrix
|
inherited |
return the local position reference
|
inline |
Definition at line 269 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inlinestaticinherited |
Definition at line 25 of file TrkObjectCounter.h.
|
inline |
Definition at line 193 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inline |
Definition at line 197 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
default |
|
default |
|
inline |
Definition at line 240 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inherited |
return the List of rdo identifiers (pointers)
|
inline |
Definition at line 265 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inherited |
Set the m_detEl and calculate globalPostion.
|
inline |
Definition at line 232 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inherited |
set the flag of this cluster containing a gangedPixel
|
inherited |
TEMP for testing: might make some classes friends later ...
|
inline |
Definition at line 273 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
void InDet::PixelCluster::setToTList | ( | std::vector< int > && | totList | ) |
Definition at line 246 of file PixelCluster.cxx.
|
inline |
Definition at line 260 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inline |
Definition at line 252 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inline |
Definition at line 256 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inline |
Definition at line 277 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inline |
Definition at line 213 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inline |
Definition at line 205 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
inline |
Definition at line 201 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
finaloverridevirtual |
Interface method checking the type.
Reimplemented from InDet::SiCluster.
Definition at line 211 of file PixelCluster.cxx.
|
inherited |
return width class reference
|
private |
Definition at line 180 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
private |
Definition at line 177 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
privateinherited |
PrepRawData ID, not const because of DataPool.
Definition at line 151 of file PrepRawData.h.
|
privateinherited |
Not owning points (ownned by the store.
Definition at line 139 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/SiCluster.h.
|
private |
Definition at line 179 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
privateinherited |
Definition at line 140 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/SiCluster.h.
|
privateinherited |
Definition at line 135 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/SiCluster.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.
|
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.
|
private |
Definition at line 181 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
private |
Definition at line 173 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
private |
Definition at line 174 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
privateinherited |
Stores the identifiers of the RDOs.
Definition at line 156 of file PrepRawData.h.
|
private |
Definition at line 182 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
private |
Definition at line 183 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
private |
Definition at line 178 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
private |
Definition at line 176 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
private |
Definition at line 175 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h.
|
privateinherited |
col, row, and width in mm
Definition at line 137 of file InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/SiCluster.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.