33 std::vector<Identifier::value_type> rdos(
rdoList.size());
34 for (std::size_t i(0); i < rdos.size(); ++i) {
35 rdos[i] =
rdoList[i].get_compact();
44 std::vector<Identifier> rdos(
values.size());
45 for (std::size_t i(0); i < rdos.size(); ++i) {
46 rdos[i].set_literal(
values[i]);
91 prob1Acc(*
this) = prob1;
93 prob2Acc(*
this) = prob2;
#define AUXSTORE_PRIMITIVE_GETTER_WITH_CAST(CL, PERSTYPE, TRANSTYPE, NAME)
Macro creating a getter function with a type conversion.
#define AUXSTORE_OBJECT_MOVE(CL, TYPE, NAME, SETTER)
Macro creating a move accessor for complex auxiliary properties.
#define AUXSTORE_PRIMITIVE_SETTER_WITH_CAST(CL, PERSTYPE, TRANSTYPE, NAME, SETTER)
Macro creating a setter function with a type conversion.
#define AUXSTORE_PRIMITIVE_GETTER(CL, TYPE, NAME)
Macro creating the reader function for a primitive auxiliary property.
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
#define AUXSTORE_OBJECT_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of complex auxiliary properties.
static const SG::AuxElement::Accessor< std::vector< Identifier::value_type > > rdoListAcc("rdoList")
static const SG::AuxElement::Accessor< std::vector< Identifier::value_type > > rdoListAcc("rdoList")
static const SG::AuxElement::Accessor< std::array< float, 3 > > globalPosAcc("globalPosition")
SG::Accessor< T, ALLOC > Accessor
Class describing HGTD clusters.
void setChannelsInPhiEta(int channelsInPhi, int channelsInEta)
Sets the dimensions of the cluster in numbers of channels in phi (x) and eta (y) directions.
int channelsInPhi() const
Returns the dimensions of the cluster in numbers of channels in phi (x) and eta (y) directions,...
void setSplitProbabilities(float prob1, float prob2)
Sets the splitting probabilities for the cluster.
const std::vector< Identifier > rdoList() const
Returns the list of identifiers of the channels building the cluster.
ConstVectorMap< 3 > globalPosition() const
Returns the global position of the pixel cluster.
int channelsInEta() const
PixelCluster_v1()=default
Default constructor.
void setRDOlist(const std::vector< Identifier > &rdolist)
Sets the list of identifiers of the channels building the cluster.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Eigen::Map< MeasVector< N > > VectorMap
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.
Eigen::Map< const MeasVector< N > > ConstVectorMap