CMS 3D CMS Logo

Functions
PFDisplacedVertexFinder.cc File Reference
#include "RecoParticleFlow/PFTracking/interface/PFDisplacedVertexFinder.h"
#include "RecoParticleFlow/PFTracking/interface/PFTrackAlgoTools.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "RecoVertex/VertexPrimitives/interface/TransientVertex.h"
#include "RecoVertex/AdaptiveVertexFit/interface/AdaptiveVertexFitter.h"
#include "RecoVertex/KalmanVertexFit/interface/KalmanVertexSmoother.h"
#include "PhysicsTools/RecoAlgos/plugins/KalmanVertexFitter.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/CommonDetUnit/interface/TrackingGeometry.h"
#include "MagneticField/Engine/interface/MagneticField.h"
#include "TMath.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const PFDisplacedVertexFinder &a)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const PFDisplacedVertexFinder a 
)

Definition at line 761 of file PFDisplacedVertexFinder.cc.

References PFDisplacedVertexFinder::displacedVertices(), PFDisplacedVertexFinder::displacedVertices_, PFDisplacedVertexHelper::Dump(), PFDisplacedVertexFinder::helper_, mps_fire::i, MillePedeFileConverter_cfg::out, PFDisplacedVertexFinder::ratio_, PFDisplacedVertexFinder::sigmacut_, and PFDisplacedVertexFinder::t_ini_.

761  {
762 
763  if(! out) return out;
764  out << setprecision(3) << setw(5) << endl;
765  out << "" << endl;
766  out << " ====================================== " << endl;
767  out << " ====== Displaced Vertex Finder ======= " << endl;
768  out << " ====================================== " << endl;
769  out << " " << endl;
770 
771  a.helper_.Dump();
772  out << "" << endl
773  << " Adaptive Vertex Fitter parameters are :"<< endl
774  << " sigmacut = " << a.sigmacut_ << " T_ini = "
775  << a.t_ini_ << " ratio = " << a.ratio_ << endl << endl;
776 
777  const std::auto_ptr< reco::PFDisplacedVertexCollection >& displacedVertices_
778  = a.displacedVertices();
779 
780 
781  if(!displacedVertices_.get() ) {
782  out<<"displacedVertex already transfered"<<endl;
783  }
784  else{
785 
786  out<<"Number of displacedVertices found : "<< displacedVertices_->size()<<endl<<endl;
787 
788  int i = -1;
789 
790  for(PFDisplacedVertexFinder::IDV idv = displacedVertices_->begin();
791  idv != displacedVertices_->end(); idv++){
792  i++;
793  out << i << " "; idv->Dump(); out << "" << endl;
794  }
795  }
796 
797  return out;
798 }
void Dump(std::ostream &out=std::cout) const
const std::auto_ptr< reco::PFDisplacedVertexCollection > & displacedVertices() const
double sigmacut_
Adaptive Vertex Fitter parameters.
reco::PFDisplacedVertexCollection::iterator IDV
PFDisplacedVertexHelper helper_