4 #ifndef DataFormats_HGCalReco_Trackster_h
5 #define DataFormats_HGCalReco_Trackster_h
59 std::vector<std::array<unsigned int, 2> > &edges() {
return edges_; }
64 inline void setTimeAndError(
float t,
float tError) {
82 int original_index = 0;
83 for (
size_t i = 0;
i < pcadimension; ++
i) {
89 original_index = pcadimension -
i - 1;
92 eigenvectors(0, original_index), eigenvectors(1, original_index), eigenvectors(2, original_index));
97 original_index = pcadimension - 1;
100 eigenvectors(0, original_index), eigenvectors(1, original_index), eigenvectors(2, original_index));
107 void zeroProbabilities() {
112 inline void setProbabilities(
float *probs) {
124 inline const std::vector<std::array<unsigned int, 2> > &edges()
const {
return edges_; }
126 inline const int seedIndex()
const {
return seedIndex_; }
127 inline const float time()
const {
return time_; }
128 inline const float timeError()
const {
return timeError_; }
130 inline const float raw_energy()
const {
return raw_energy_; }
131 inline const float raw_em_energy()
const {
return raw_em_energy_; }
132 inline const float raw_pt()
const {
return raw_pt_; }
133 inline const float raw_em_pt()
const {
return raw_em_pt_; }
135 inline const std::array<float, 3> &eigenvalues()
const {
return eigenvalues_; }
136 inline const std::array<Vector, 3> &eigenvectors()
const {
return eigenvectors_; }
138 inline const std::array<float, 3> &sigmas()
const {
return sigmas_; }
139 inline const std::array<float, 3> &sigmasPCA()
const {
return sigmasPCA_; }
140 inline const std::array<float, 8> &id_probabilities()
const {
return id_probabilities_; }
151 uint8_t iterationIndex_;
163 std::vector<std::array<unsigned int, 2> >
edges_;
ROOT::Math::Plane3D::Vector Vector
std::vector< unsigned int > vertices_
std::array< Vector, 3 > eigenvectors_
std::array< float, 3 > sigmas_
void setRawEnergy(HcalRecHit &h, float e)
std::vector< std::array< unsigned int, 2 > > edges_
std::vector< float > vertex_multiplicity_
XYZVectorD XYZVector
spatial vector with cartesian internal representation
T perp2() const
Squared magnitude of transverse component.
std::array< float, 8 > id_probabilities_
std::vector< Trackster > TracksterCollection
std::array< float, 3 > sigmasPCA_
std::array< float, 3 > eigenvalues_