CMS 3D CMS Logo

Public Member Functions | Private Attributes

GapClusterizerInZ Class Reference

#include <GapClusterizerInZ.h>

Inheritance diagram for GapClusterizerInZ:
TrackClusterizerInZ

List of all members.

Public Member Functions

std::vector< std::vector
< reco::TransientTrack > > 
clusterize (const std::vector< reco::TransientTrack > &tracks) const
 GapClusterizerInZ (const edm::ParameterSet &conf)
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &tracks) const
float zSeparation () const
 ~GapClusterizerInZ ()

Private Attributes

bool verbose_
float zSep

Detailed Description

Description: separates event tracks into clusters along the beam line

Definition at line 17 of file GapClusterizerInZ.h.


Constructor & Destructor Documentation

GapClusterizerInZ::GapClusterizerInZ ( const edm::ParameterSet conf)

Definition at line 21 of file GapClusterizerInZ.cc.

References gather_cfg::cout, edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().

{
  // some defaults to avoid uninitialized variables
  verbose_= conf.getUntrackedParameter<bool>("verbose", false);
  zSep = conf.getParameter<double>("zSeparation");
  if(verbose_) {std::cout << "TrackClusterizerInZ:  algorithm=gap, zSeparation="<< zSep << std::endl;}
}
GapClusterizerInZ::~GapClusterizerInZ ( ) [inline]

Definition at line 31 of file GapClusterizerInZ.h.

{};

Member Function Documentation

std::vector< std::vector<reco::TransientTrack> > GapClusterizerInZ::clusterize ( const std::vector< reco::TransientTrack > &  tracks) const [virtual]

Implements TrackClusterizerInZ.

std::vector< TransientVertex > GapClusterizerInZ::vertices ( const std::vector< reco::TransientTrack > &  tracks) const
float GapClusterizerInZ::zSeparation ( ) const

Definition at line 31 of file GapClusterizerInZ.cc.

{
  return zSep;
}

Member Data Documentation

Definition at line 35 of file GapClusterizerInZ.h.

float GapClusterizerInZ::zSep [private]

Definition at line 31 of file GapClusterizerInZ.h.