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 28 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 41 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().

46  {
47  zpca_vec.push_back(new_zpca);
48  tpca_vec.push_back(new_tpca);
49  dz2_vec.push_back(new_dz2);
50  dt2_vec.push_back(new_dt2);
51  tt.push_back(new_tt);
52  tkwt_vec.push_back(new_tkwt);
53  sum_Z_vec.push_back(1.0);
54  kmin.push_back(0);
55  kmax.push_back(0);
56  }
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 79 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().

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

◆ 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 58 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.

64  {
65  zpca_vec.insert(zpca_vec.begin() + i, new_zpca);
66  tpca_vec.insert(tpca_vec.begin() + i, new_tpca);
67  dz2_vec.insert(dz2_vec.begin() + i, new_dz2);
68  dt2_vec.insert(dt2_vec.begin() + i, new_dt2);
69  tt.insert(tt.begin() + i, new_tt);
70  tkwt_vec.insert(tkwt_vec.begin() + i, new_tkwt);
71  sum_Z_vec.insert(sum_Z_vec.begin() + i, 1.0);
72  kmin.insert(kmin.begin() + i, 0);
73  kmax.insert(kmax.begin() + i, 0);
74  }
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