4 #ifndef DataFormats_HGCalReco_Trackster_h 5 #define DataFormats_HGCalReco_Trackster_h 59 std::vector<std::array<unsigned int, 2> > &
edges() {
return edges_; }
82 int original_index = 0;
83 for (
size_t i = 0;
i < pcadimension; ++
i) {
89 original_index = pcadimension -
i - 1;
97 original_index = pcadimension - 1;
124 inline const std::vector<std::array<unsigned int, 2> > &
edges()
const {
return edges_; }
163 std::vector<std::array<unsigned int, 2> >
edges_;
void setSeed(edm::ProductID pid, int index)
void setRawPt(float value)
const float raw_pt() const
const float regressed_energy() const
void setRegressedEnergy(float value)
const std::array< float, 3 > & sigmasPCA() const
const std::vector< unsigned int > & vertices() const
const Trackster::IterationIndex ticlIteration() const
const Vector & barycenter() const
std::vector< unsigned int > vertices_
const std::vector< float > & vertex_multiplicity() const
void setRawEnergy(float value)
void addToRawEnergy(float value)
void setProbabilities(float *probs)
std::vector< std::array< unsigned int, 2 > > & edges()
std::array< Vector, 3 > eigenvectors_
std::array< float, 3 > sigmas_
const float timeError() const
T perp2() const
Squared magnitude of transverse component.
const float raw_em_energy() const
const std::array< Vector, 3 > & eigenvectors() const
const std::vector< std::array< unsigned int, 2 > > & edges() const
const float raw_energy() const
std::vector< std::array< unsigned int, 2 > > edges_
const Vector & eigenvectors(int index) const
const std::array< float, 3 > & sigmas() const
float id_probability(ParticleType type) const
const float id_probabilities(int index) const
std::vector< unsigned int > & vertices()
const unsigned int vertices(int index) const
void setRawEmPt(float value)
std::vector< float > vertex_multiplicity_
const edm::ProductID & seedID() const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
std::vector< float > & vertex_multiplicity()
std::array< float, 8 > id_probabilities_
void setRawEmEnergy(float value)
void fillPCAVariables(Eigen::Vector3d &eigenvalues, Eigen::Matrix3d &eigenvectors, Eigen::Vector3d &sigmas, Eigen::Vector3d &sigmasEigen, size_t pcadimension, PCAOrdering order)
const int seedIndex() const
void addToRawEmEnergy(float value)
std::vector< Trackster > TracksterCollection
void setTimeAndError(float t, float tError)
const float vertex_multiplicity(int index) const
std::array< float, 3 > sigmasPCA_
void setIteration(const Trackster::IterationIndex i)
const float raw_em_pt() const
void setIdProbability(ParticleType type, float value)
std::array< float, 3 > eigenvalues_
const std::array< float, 8 > & id_probabilities() const
const std::array< float, 3 > & eigenvalues() const
void setBarycenter(Vector value)