CMS 3D CMS Logo

Public Member Functions | Public Attributes

DAClusterizerInZ_vect::track_t Struct Reference

#include <DAClusterizerInZ_vect.h>

List of all members.

Public Member Functions

void AddItem (double new_z, double new_dz2, const reco::TransientTrack *new_tt, double new_pi)
void ExtractRaw ()
unsigned int GetSize () const

Public Attributes

double *__restrict__ _dz2
double *__restrict__ _pi
double *__restrict__ _z
double *__restrict__ _Z_sum
std::vector< double > dz2
std::vector< double > pi
std::vector< const
reco::TransientTrack * > 
tt
std::vector< double > z
std::vector< double > Z_sum

Detailed Description

Definition at line 25 of file DAClusterizerInZ_vect.h.


Member Function Documentation

void DAClusterizerInZ_vect::track_t::AddItem ( double  new_z,
double  new_dz2,
const reco::TransientTrack new_tt,
double  new_pi 
) [inline]

Definition at line 27 of file DAClusterizerInZ_vect.h.

References dz2, pi, tt, z, and Z_sum.

                {
                        z.push_back( new_z );
                        dz2.push_back( new_dz2 );
                        tt.push_back( new_tt );

                        pi.push_back( new_pi ); // track weight
                        Z_sum.push_back( 1.0); // Z[i]   for DA clustering, initial value as done in ::fill
                }
void DAClusterizerInZ_vect::track_t::ExtractRaw ( ) [inline]

Definition at line 46 of file DAClusterizerInZ_vect.h.

References _dz2, _pi, _z, _Z_sum, dz2, pi, z, and Z_sum.

                {
                        _z = &z.front();
                        _dz2 = &dz2.front();
                        _Z_sum = &Z_sum.front();
                        _pi = &pi.front();
                }
unsigned int DAClusterizerInZ_vect::track_t::GetSize ( ) const [inline]

Member Data Documentation

double* __restrict__ DAClusterizerInZ_vect::track_t::_z

Definition at line 61 of file DAClusterizerInZ_vect.h.

Referenced by AddItem(), and ExtractRaw().

Definition at line 65 of file DAClusterizerInZ_vect.h.

Referenced by AddItem(), and ExtractRaw().

Definition at line 62 of file DAClusterizerInZ_vect.h.

Referenced by AddItem(), and DAClusterizerInZ_vect::dump().

std::vector<double> DAClusterizerInZ_vect::track_t::z

Definition at line 60 of file DAClusterizerInZ_vect.h.

Referenced by AddItem(), ExtractRaw(), and GetSize().

Definition at line 64 of file DAClusterizerInZ_vect.h.

Referenced by AddItem(), and ExtractRaw().