20 acc( *
this ) = std::move(value);
54 varianceR, setVarianceR )
57 varianceZ, setVarianceZ )
64 static const Accessor< std::vector< const xAOD::UncalibratedMeasurement* > >
acc(
"measurements" );
68 static const Accessor< std::vector< const xAOD::UncalibratedMeasurement* > >
acc(
"measurements" );
69 acc( *
this ) = std::move(value);
73 topHalfStripLength, setTopHalfStripLength )
76 bottomHalfStripLength, setBottomHalfStripLength )
84 const auto&
values = topStripDirectionAcc(*
this);
104 auto&
values = topStripDirectionAcc(*
this);
124 const Eigen::Matrix<float,3,1>& globPos,
125 float cov_r,
float cov_z,
126 std::vector< const xAOD::UncalibratedMeasurement* >&&
measurements)
130 this->
setRadius( std::sqrt( globPos(0,0) * globPos(0,0) + globPos(1,0) * globPos(1,0) ) );
137 const Eigen::Matrix<float,3,1>& globPos,
138 float cov_r,
float cov_z,
139 std::vector< const xAOD::UncalibratedMeasurement* >&&
measurements,
149 this->
setRadius( std::sqrt( globPos(0,0) * globPos(0,0) + globPos(1,0) * globPos(1,0) ) );
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
static const SG::AuxElement::Accessor< std::array< float, 3 > > globalPosAcc("globalPosition")
static const SG::AuxElement::Accessor< xAOD::ArrayFloat3 > topStripCenterAcc("topStripCenter")
static const SG::AuxElement::Accessor< xAOD::ArrayFloat3 > stripCenterDistanceAcc("stripCenterDistance")
static AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(xAOD::SpacePoint_v1, float, topHalfStripLength, setTopHalfStripLength) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(xAOD const SG::AuxElement::Accessor< xAOD::ArrayFloat3 > bottomStripDirectionAcc("bottomStripDirection")
SG::Accessor< T, ALLOC > Accessor
void setTopHalfStripLength(float)
ConstVectorMap stripCenterDistance() const
void setMeasurements(std::vector< const xAOD::UncalibratedMeasurement * > &&value)
Sets the index of the measurements.
float bottomHalfStripLength() const
const std::vector< DetectorIDHashType > & elementIdList() const
Returns the IdentifierHash of the spacepoint (corresponds to the detector element IdentifierHash)
void setSpacePoint(DetectorIDHashType idHash, const Eigen::Matrix< float, 3, 1 > &globPos, float cov_r, float cov_z, std::vector< const xAOD::UncalibratedMeasurement * > &&measurementIndexes)
ConstVectorMap bottomStripDirection() const
ConstVectorMap topStripCenter() const
const std::vector< const xAOD::UncalibratedMeasurement * > & measurements() const
Returns the index of the measurements.
void setBottomHalfStripLength(float)
Eigen::Map< Eigen::Matrix< float, 3, 1 > > VectorMap
Eigen::Map< const Eigen::Matrix< float, 3, 1 > > ConstVectorMap
void setRadius(float)
Set the radius.
void setElementIdList(std::vector< DetectorIDHashType > &&idHash)
Sets the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash)
void setVarianceR(float)
Sets the variances.
ConstVectorMap globalPosition() const
Returns the global position of the pixel cluster.
float topHalfStripLength() const
Return details.
ConstVectorMap topStripDirection() const
static AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(EmTauRoI_v1, uint32_t, roiWord, setRoIWord) uint32_t EmTauRoI_v1 const SG::AuxElement::Accessor< std::vector< float > > values("thrValues")
This is a convenience function for accessing the threshold pattern part of the RoI.
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.
unsigned int DetectorIDHashType
@ detector ID element hash