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_zpca, double new_tpca, double new_dz2, double new_dt2, const reco::TransientTrack *new_tt, double new_tkwt)
 
void extractRaw ()
 
unsigned int getSize () const
 
void insertItem (unsigned int i, double new_zpca, double new_tpca, double new_dz2, double new_dt2, const reco::TransientTrack *new_tt, double new_tkwt)
 

Public Attributes

double *__restrict__ dt2
 
std::vector< double > dt2_vec
 
double *__restrict__ dz2
 
std::vector< double > dz2_vec
 
std::vector< unsigned int > kmax
 
std::vector< unsigned int > kmin
 
double osumtkwt
 
double *__restrict__ sum_Z
 
std::vector< double > sum_Z_vec
 
double *__restrict__ tkwt
 
std::vector< double > tkwt_vec
 
double *__restrict__ tpca
 
std::vector< double > tpca_vec
 
std::vector< const reco::TransientTrack * > tt
 
double *__restrict__ zpca
 
std::vector< double > zpca_vec
 

Detailed Description

Definition at line 29 of file DAClusterizerInZT_vect.h.

Member Function Documentation

◆ addItem()

void DAClusterizerInZT_vect::track_t::addItem ( double  new_zpca,
double  new_tpca,
double  new_dz2,
double  new_dt2,
const reco::TransientTrack new_tt,
double  new_tkwt 
)
inline

Definition at line 42 of file DAClusterizerInZT_vect.h.

References dt2_vec, dz2_vec, kmax, kmin, sum_Z_vec, tkwt_vec, tpca_vec, and zpca_vec.

Referenced by DAClusterizerInZT_vect::fill().

47  {
48  zpca_vec.push_back(new_zpca);
49  tpca_vec.push_back(new_tpca);
50  dz2_vec.push_back(new_dz2);
51  dt2_vec.push_back(new_dt2);
52  tt.push_back(new_tt);
53  tkwt_vec.push_back(new_tkwt);
54  sum_Z_vec.push_back(1.0);
55  kmin.push_back(0);
56  kmax.push_back(0);
57  }
std::vector< unsigned int > kmin
std::vector< unsigned int > kmax
Definition: TTTypes.h:54

◆ extractRaw()

void DAClusterizerInZT_vect::track_t::extractRaw ( )
inline

Definition at line 80 of file DAClusterizerInZT_vect.h.

References dt2, dt2_vec, dz2, dz2_vec, sum_Z, sum_Z_vec, tkwt, tkwt_vec, tpca, tpca_vec, zpca, and zpca_vec.

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

80  {
81  zpca = &zpca_vec.front();
82  tpca = &tpca_vec.front();
83  dz2 = &dz2_vec.front();
84  dt2 = &dt2_vec.front();
85  tkwt = &tkwt_vec.front();
86  sum_Z = &sum_Z_vec.front();
87  }

◆ getSize()

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

◆ insertItem()

void DAClusterizerInZT_vect::track_t::insertItem ( unsigned int  i,
double  new_zpca,
double  new_tpca,
double  new_dz2,
double  new_dt2,
const reco::TransientTrack new_tt,
double  new_tkwt 
)
inline

Definition at line 59 of file DAClusterizerInZT_vect.h.

References dt2_vec, dz2_vec, mps_fire::i, kmax, kmin, sum_Z_vec, tkwt_vec, tpca_vec, and zpca_vec.

65  {
66  zpca_vec.insert(zpca_vec.begin() + i, new_zpca);
67  tpca_vec.insert(tpca_vec.begin() + i, new_tpca);
68  dz2_vec.insert(dz2_vec.begin() + i, new_dz2);
69  dt2_vec.insert(dt2_vec.begin() + i, new_dt2);
70  tt.insert(tt.begin() + i, new_tt);
71  tkwt_vec.insert(tkwt_vec.begin() + i, new_tkwt);
72  sum_Z_vec.insert(sum_Z_vec.begin() + i, 1.0);
73  kmin.insert(kmin.begin() + i, 0);
74  kmax.insert(kmax.begin() + i, 0);
75  }
std::vector< unsigned int > kmin
std::vector< unsigned int > kmax
Definition: TTTypes.h:54

Member Data Documentation

◆ dt2

double* __restrict__ DAClusterizerInZT_vect::track_t::dt2

◆ dt2_vec

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

◆ dz2

double* __restrict__ DAClusterizerInZT_vect::track_t::dz2

◆ dz2_vec

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

◆ kmax

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

◆ kmin

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

◆ osumtkwt

double DAClusterizerInZT_vect::track_t::osumtkwt

◆ sum_Z

double* __restrict__ DAClusterizerInZT_vect::track_t::sum_Z

◆ sum_Z_vec

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

◆ tkwt

double* __restrict__ DAClusterizerInZT_vect::track_t::tkwt

◆ tkwt_vec

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

◆ tpca

double* __restrict__ DAClusterizerInZT_vect::track_t::tpca

◆ tpca_vec

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

◆ tt

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

◆ zpca

double* __restrict__ DAClusterizerInZT_vect::track_t::zpca

◆ zpca_vec

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