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 > errsum
 
double * errsum_
 
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, errsum, 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  errsum.push_back( 1./(1./new_dz2 + 1./new_dt2) );
36  tt.push_back( new_tt );
37 
38  pi.push_back( new_pi ); // track weight
39  Z_sum.push_back( 1.0 ); // Z[i] for DA clustering, initial value as done in ::fill
40  }
std::vector< const reco::TransientTrack * > tt
void DAClusterizerInZT_vect::track_t::extractRaw ( )
inline

Definition at line 48 of file DAClusterizerInZT_vect.h.

References dt2, dt2_, dz2, dz2_, errsum, errsum_, 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().

49  {
50  z_ = &z.front();
51  t_ = &t.front();
52  dz2_ = &dz2.front();
53  dt2_ = &dt2.front();
54  errsum_ = &errsum.front();
55  Z_sum_ = &Z_sum.front();
56  pi_ = &pi.front();
57  }
unsigned int DAClusterizerInZT_vect::track_t::getSize ( ) const
inline

Member Data Documentation

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

Definition at line 71 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 70 of file DAClusterizerInZT_vect.h.

Referenced by addItem(), and extractRaw().

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

Definition at line 72 of file DAClusterizerInZT_vect.h.

Referenced by addItem(), and extractRaw().

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

Definition at line 74 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 73 of file DAClusterizerInZT_vect.h.

Referenced by addItem(), and extractRaw().

double* DAClusterizerInZT_vect::track_t::Z_sum_