|
|
Go to the documentation of this file. 1 #ifndef RecoVertex_PrimaryVertexProducer_DAClusterizerInZ_vect_h
2 #define RecoVertex_PrimaryVertexProducer_DAClusterizerInZ_vect_h
31 std::vector<unsigned int>
kmin;
32 std::vector<unsigned int>
kmax;
33 std::vector<const reco::TransientTrack *>
tt;
48 unsigned int i,
double new_zpca,
double new_dz2,
const reco::TransientTrack *new_tt,
double new_tkwt) {
51 tt.insert(
tt.begin() +
i, new_tt);
70 double *__restrict__
dz2;
89 void addItem(
double new_zvtx,
double new_rho) {
114 for (
unsigned int i = 0;
i < tks.
getSize();
i++) {
138 for (
unsigned int i = 0;
i < tks.
getSize();
i++) {
155 double *__restrict__
sw;
157 double *__restrict__
se;
175 std::vector<std::vector<reco::TransientTrack> >
clusterize(
176 const std::vector<reco::TransientTrack> &
tracks)
const override;
178 std::vector<TransientVertex>
vertices(
const std::vector<reco::TransientTrack> &
tracks)
const;
180 track_t
fill(
const std::vector<reco::TransientTrack> &
tracks)
const;
187 double beta, track_t >racks, vertex_t &gvertices,
const double delta_max,
const double rho0 = 0.)
const;
190 double beta, track_t >racks, vertex_t &gvertices,
const double rho0 = 0,
const bool updateTc =
false)
const;
193 const double beta,
const vertex_t &
y,
const track_t &tks,
const int verbosity = 0,
const double rho0 = 0.)
const;
194 bool merge(vertex_t &
y, track_t &tks,
double &
beta)
const;
195 bool purge(vertex_t &, track_t &,
double &,
const double)
const;
198 double beta0(
const double betamax, track_t
const &tks, vertex_t
const &
y)
const;
199 void verify(
const vertex_t &
v,
const track_t &tks,
unsigned int nv = 999999,
unsigned int nt = 999999)
const;
std::vector< double > swE_vec
track_t fill(const std::vector< reco::TransientTrack > &tracks) const
std::vector< double > exp_vec
void insertItem(unsigned int k, double new_zvtx, double new_rho, track_t &tks)
double *__restrict__ sum_Z
unsigned int thermalize(double beta, track_t >racks, vertex_t &gvertices, const double delta_max, const double rho0=0.) const
double *__restrict__ tkwt
std::vector< double > se_vec
void addItemSorted(double new_zpca, double new_dz2, const reco::TransientTrack *new_tt, double new_tkwt)
DAClusterizerInZ_vect(const edm::ParameterSet &conf)
std::vector< const reco::TransientTrack * > tt
unsigned int convergence_mode_
void set_vtx_range(double beta, track_t >racks, vertex_t &gvertices) const
void removeItem(unsigned int k, track_t &tks)
void verify(const vertex_t &v, const track_t &tks, unsigned int nv=999999, unsigned int nt=999999) const
unsigned int maxIterations_
double *__restrict__ zvtx
std::vector< unsigned int > kmax
std::vector< unsigned int > kmin
void insertItem(unsigned int i, double new_zpca, double new_dz2, const reco::TransientTrack *new_tt, double new_tkwt)
bool split(const double beta, track_t &t, vertex_t &y, double threshold=1.) const
std::vector< double > exp_arg_vec
double *__restrict__ zpca
void addItem(double new_zvtx, double new_rho)
std::vector< double > dz2_vec
std::vector< double > sum_Z_vec
double beta0(const double betamax, track_t const &tks, vertex_t const &y) const
std::vector< double > tkwt_vec
bool merge(vertex_t &y, track_t &tks, double &beta) const
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
unsigned int getSize() const
unsigned int getSize() const
void clear_vtx_range(track_t >racks, vertex_t &gvertices) const
static void fillPSetDescription(edm::ParameterSetDescription &desc)
std::vector< std::vector< reco::TransientTrack > > clusterize(const std::vector< reco::TransientTrack > &tracks) const override
double *__restrict__ exp_arg
std::vector< double > swz_vec
std::vector< double > sw_vec
std::vector< double > zpca_vec
bool purge(vertex_t &, track_t &, double &, const double) const
double update(double beta, track_t >racks, vertex_t &gvertices, const double rho0=0, const bool updateTc=false) const
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks) const
void dump(const double beta, const vertex_t &y, const track_t &tks, const int verbosity=0, const double rho0=0.) const
std::vector< double > rho_vec
std::vector< double > zvtx_vec