Go to the documentation of this file.
4 #ifndef DataFormats_HGCalReco_Trackster_h
5 #define DataFormats_HGCalReco_Trackster_h
55 std::vector<std::array<unsigned int, 2> > &
edges() {
return edges_; }
76 Eigen::Vector3d &sigmasEigen,
79 int original_index = 0;
80 for (
size_t i = 0;
i < pcadimension; ++
i) {
86 original_index = pcadimension -
i - 1;
94 original_index = pcadimension - 1;
120 inline const std::vector<std::array<unsigned int, 2> > &
edges()
const {
return edges_; }
156 std::vector<std::array<unsigned int, 2> >
edges_;
const uint8_t vertex_multiplicity(int index) const
const Vector & barycenter() const
void setRawEnergy(float value)
std::array< float, 3 > eigenvalues_
void setBarycenter(Vector value)
std::vector< unsigned int > vertices_
void setSeed(edm::ProductID pid, int index)
const float timeError() const
void setEigenValuesVectors()
void addToRawEnergy(float value)
const float raw_pt() const
const std::array< Vector, 3 > & eigenvectors() const
const std::vector< std::array< unsigned int, 2 > > & edges() const
const std::vector< unsigned int > & vertices() const
std::vector< std::array< unsigned int, 2 > > edges_
std::vector< uint8_t > & vertex_multiplicity()
const float raw_energy() const
std::vector< std::array< unsigned int, 2 > > & edges()
void setProbabilities(float *probs)
std::array< Vector, 3 > eigenvectors_
std::array< float, 3 > sigmas_
const float id_probabilities(int index) const
const unsigned int vertices(int index) const
const float raw_em_energy() const
std::vector< uint8_t > vertex_multiplicity_
const Vector & eigenvectors(int index) const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
T perp2() const
Squared magnitude of transverse component.
void addToRawEmEnergy(float value)
void setRawEmEnergy(float value)
void setTimeAndError(float t, float tError)
void fillPCAVariables(Eigen::Vector3d &eigenvalues, Eigen::Matrix3d &eigenvectors, Eigen::Vector3d &sigmas, Eigen::Vector3d &sigmasEigen, size_t pcadimension, PCAOrdering order)
void setRawEmPt(float value)
const edm::ProductID & seedID() const
const std::array< float, 3 > & sigmas() const
float id_probability(ParticleType type) const
const std::array< float, 8 > & id_probabilities() const
std::vector< unsigned int > & vertices()
const std::array< float, 3 > & eigenvalues() const
const float raw_em_pt() const
const std::vector< uint8_t > & vertex_multiplicity() const
std::array< float, 8 > id_probabilities_
void setRawPt(float value)
std::array< float, 3 > sigmasPCA_
const float regressed_energy() const
const int seedIndex() const
void setRegressedEnergy(float value)
void setIdProbability(ParticleType type, float value)
const std::array< float, 3 > & sigmasPCA() const