CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DAClusterizerInZ_vect::track_t Struct Reference

#include <DAClusterizerInZ_vect.h>

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.

Referenced by DAClusterizerInZ_vect::fill().

28  {
29  z.push_back( new_z );
30  dz2.push_back( new_dz2 );
31  tt.push_back( new_tt );
32 
33  pi.push_back( new_pi ); // track weight
34  Z_sum.push_back( 1.0); // Z[i] for DA clustering, initial value as done in ::fill
35  }
std::vector< const reco::TransientTrack * > tt
void DAClusterizerInZ_vect::track_t::ExtractRaw ( )
inline
unsigned int DAClusterizerInZ_vect::track_t::GetSize ( ) const
inline

Member Data Documentation

double* __restrict__ DAClusterizerInZ_vect::track_t::_dz2
double* __restrict__ DAClusterizerInZ_vect::track_t::_pi
double* __restrict__ DAClusterizerInZ_vect::track_t::_z
double* __restrict__ DAClusterizerInZ_vect::track_t::_Z_sum
std::vector<double> DAClusterizerInZ_vect::track_t::dz2

Definition at line 61 of file DAClusterizerInZ_vect.h.

Referenced by AddItem(), and ExtractRaw().

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

Definition at line 65 of file DAClusterizerInZ_vect.h.

Referenced by AddItem(), and ExtractRaw().

std::vector< const reco::TransientTrack* > DAClusterizerInZ_vect::track_t::tt
std::vector<double> DAClusterizerInZ_vect::track_t::z
std::vector<double> DAClusterizerInZ_vect::track_t::Z_sum

Definition at line 64 of file DAClusterizerInZ_vect.h.

Referenced by AddItem(), and ExtractRaw().