CMS 3D CMS Logo

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

#include <DAClusterizerInZT_vect.h>

Public Member Functions

void addItem (double new_z, double new_t, double new_dz2, double new_dt2, const reco::TransientTrack *new_tt, double new_pi)
 
void extractRaw ()
 
unsigned int getSize () const
 

Public Attributes

std::vector< double > dt2
 
double * dt2_
 
std::vector< double > dz2
 
double * dz2_
 
std::vector< double > pi
 
double * pi_
 
std::vector< double > t
 
double * t_
 
std::vector< const reco::TransientTrack * > tt
 
std::vector< double > z
 
double * z_
 
std::vector< double > Z_sum
 
double * Z_sum_
 

Detailed Description

Definition at line 27 of file DAClusterizerInZT_vect.h.

Member Function Documentation

void DAClusterizerInZT_vect::track_t::addItem ( double  new_z,
double  new_t,
double  new_dz2,
double  new_dt2,
const reco::TransientTrack new_tt,
double  new_pi 
)
inline

Definition at line 29 of file DAClusterizerInZT_vect.h.

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

Referenced by DAClusterizerInZT_vect::fill().

30  {
31  z.push_back( new_z );
32  t.push_back( new_t );
33  dz2.push_back( new_dz2 );
34  dt2.push_back( new_dt2 );
35  tt.push_back( new_tt );
36 
37  pi.push_back( new_pi ); // track weight
38  Z_sum.push_back( 1.0 ); // Z[i] for DA clustering, initial value as done in ::fill
39  }
std::vector< const reco::TransientTrack * > tt
void DAClusterizerInZT_vect::track_t::extractRaw ( )
inline

Definition at line 47 of file DAClusterizerInZT_vect.h.

References dt2, dt2_, dz2, dz2_, pi, pi_, t, t_, z, z_, Z_sum, and Z_sum_.

Referenced by DAClusterizerInZT_vect::vertex_t::addItem(), DAClusterizerInZT_vect::fill(), DAClusterizerInZT_vect::vertex_t::insertItem(), DAClusterizerInZT_vect::vertex_t::removeItem(), and DAClusterizerInZT_vect::vertices().

unsigned int DAClusterizerInZT_vect::track_t::getSize ( ) const
inline

Member Data Documentation

std::vector<double> DAClusterizerInZT_vect::track_t::dt2

Definition at line 68 of file DAClusterizerInZT_vect.h.

Referenced by addItem(), and extractRaw().

double* DAClusterizerInZT_vect::track_t::dt2_
std::vector<double> DAClusterizerInZT_vect::track_t::dz2

Definition at line 67 of file DAClusterizerInZT_vect.h.

Referenced by addItem(), and extractRaw().

double* DAClusterizerInZT_vect::track_t::dz2_
std::vector<double> DAClusterizerInZT_vect::track_t::pi

Definition at line 70 of file DAClusterizerInZT_vect.h.

Referenced by addItem(), and extractRaw().

double* DAClusterizerInZT_vect::track_t::pi_
std::vector<double> DAClusterizerInZT_vect::track_t::t
double* DAClusterizerInZT_vect::track_t::t_
std::vector< const reco::TransientTrack* > DAClusterizerInZT_vect::track_t::tt
std::vector<double> DAClusterizerInZT_vect::track_t::z
double* DAClusterizerInZT_vect::track_t::z_
std::vector<double> DAClusterizerInZT_vect::track_t::Z_sum

Definition at line 69 of file DAClusterizerInZT_vect.h.

Referenced by addItem(), and extractRaw().

double* DAClusterizerInZT_vect::track_t::Z_sum_