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_ptr
 
std::vector< double > dz2
 
double * dz2_ptr
 
std::vector< unsigned int > kmax
 
std::vector< unsigned int > kmin
 
std::vector< double > pi
 
double * pi_ptr
 
std::vector< double > t
 
double * t_ptr
 
std::vector< const reco::TransientTrack * > tt
 
std::vector< double > z
 
double * z_ptr
 
std::vector< double > Z_sum
 
double * Z_sum_ptr
 

Detailed Description

Definition at line 25 of file DAClusterizerInZT_vect.h.

Member Function Documentation

◆ addItem()

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 26 of file DAClusterizerInZT_vect.h.

27  {
28  z.push_back(new_z);
29  t.push_back(new_t);
30  dz2.push_back(new_dz2);
31  dt2.push_back(new_dt2);
32  tt.push_back(new_tt);
33 
34  pi.push_back(new_pi); // track weight
35  Z_sum.push_back(1.0); // Z[i] for DA clustering, initial value as done in ::fill
36  kmin.push_back(0);
37  kmax.push_back(0);
38  }

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

Referenced by DAClusterizerInZT_vect::fill().

◆ extractRaw()

void DAClusterizerInZT_vect::track_t::extractRaw ( )
inline

Definition at line 43 of file DAClusterizerInZT_vect.h.

43  {
44  z_ptr = &z.front();
45  t_ptr = &t.front();
46  dz2_ptr = &dz2.front();
47  dt2_ptr = &dt2.front();
48  pi_ptr = &pi.front();
49  Z_sum_ptr = &Z_sum.front();
50  }

References dt2, dt2_ptr, dz2, dz2_ptr, pi, pi_ptr, t, t_ptr, z, z_ptr, Z_sum, and Z_sum_ptr.

Referenced by DAClusterizerInZT_vect::fill(), and DAClusterizerInZT_vect::vertices().

◆ getSize()

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

Member Data Documentation

◆ dt2

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

Definition at line 63 of file DAClusterizerInZT_vect.h.

Referenced by addItem(), extractRaw(), and DAClusterizerInZT_vect::verify().

◆ dt2_ptr

double* DAClusterizerInZT_vect::track_t::dt2_ptr

◆ dz2

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

◆ dz2_ptr

double* DAClusterizerInZT_vect::track_t::dz2_ptr

◆ kmax

std::vector<unsigned int> DAClusterizerInZT_vect::track_t::kmax

◆ kmin

std::vector<unsigned int> DAClusterizerInZT_vect::track_t::kmin

◆ pi

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

Definition at line 65 of file DAClusterizerInZT_vect.h.

Referenced by addItem(), extractRaw(), and DAClusterizerInZT_vect::verify().

◆ pi_ptr

double* DAClusterizerInZT_vect::track_t::pi_ptr

◆ t

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

◆ t_ptr

double* DAClusterizerInZT_vect::track_t::t_ptr

◆ tt

std::vector<const reco::TransientTrack *> DAClusterizerInZT_vect::track_t::tt

◆ z

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

◆ z_ptr

double* DAClusterizerInZT_vect::track_t::z_ptr

◆ Z_sum

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

◆ Z_sum_ptr

double* DAClusterizerInZT_vect::track_t::Z_sum_ptr
DAClusterizerInZT_vect::track_t::kmin
std::vector< unsigned int > kmin
Definition: DAClusterizerInZT_vect.h:66
DAClusterizerInZT_vect::track_t::Z_sum_ptr
double * Z_sum_ptr
Definition: DAClusterizerInZT_vect.h:58
DAClusterizerInZT_vect::track_t::pi
std::vector< double > pi
Definition: DAClusterizerInZT_vect.h:65
DAClusterizerInZT_vect::track_t::z_ptr
double * z_ptr
Definition: DAClusterizerInZT_vect.h:52
DAClusterizerInZT_vect::track_t::dz2
std::vector< double > dz2
Definition: DAClusterizerInZT_vect.h:62
DAClusterizerInZT_vect::track_t::t
std::vector< double > t
Definition: DAClusterizerInZT_vect.h:61
DAClusterizerInZT_vect::track_t::t_ptr
double * t_ptr
Definition: DAClusterizerInZT_vect.h:53
DAClusterizerInZT_vect::track_t::Z_sum
std::vector< double > Z_sum
Definition: DAClusterizerInZT_vect.h:64
DAClusterizerInZT_vect::track_t::dt2
std::vector< double > dt2
Definition: DAClusterizerInZT_vect.h:63
DAClusterizerInZT_vect::track_t::dz2_ptr
double * dz2_ptr
Definition: DAClusterizerInZT_vect.h:56
DAClusterizerInZT_vect::track_t::dt2_ptr
double * dt2_ptr
Definition: DAClusterizerInZT_vect.h:57
DAClusterizerInZT_vect::track_t::pi_ptr
double * pi_ptr
Definition: DAClusterizerInZT_vect.h:54
DAClusterizerInZT_vect::track_t::z
std::vector< double > z
Definition: DAClusterizerInZT_vect.h:60
DAClusterizerInZT_vect::track_t::tt
std::vector< const reco::TransientTrack * > tt
Definition: DAClusterizerInZT_vect.h:68
DAClusterizerInZT_vect::track_t::kmax
std::vector< unsigned int > kmax
Definition: DAClusterizerInZT_vect.h:67