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

◆ operator<<()

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

Definition at line 678 of file PFDisplacedVertexFinder.cc.

678  {
679  if (!out)
680  return out;
681  out << setprecision(3) << setw(5) << endl;
682  out << "" << endl;
683  out << " ====================================== " << endl;
684  out << " ====== Displaced Vertex Finder ======= " << endl;
685  out << " ====================================== " << endl;
686  out << " " << endl;
687 
688  a.helper_.Dump();
689  out << "" << endl
690  << " Adaptive Vertex Fitter parameters are :" << endl
691  << " sigmacut = " << a.sigmacut_ << " T_ini = " << a.t_ini_ << " ratio = " << a.ratio_ << endl
692  << endl;
693 
694  const std::unique_ptr<reco::PFDisplacedVertexCollection>& displacedVertices_ = std::move(a.displacedVertices());
695 
696  if (!displacedVertices_.get()) {
697  out << "displacedVertex already transfered" << endl;
698  } else {
699  out << "Number of displacedVertices found : " << displacedVertices_->size() << endl << endl;
700 
701  int i = -1;
702 
703  for (PFDisplacedVertexFinder::IDV idv = displacedVertices_->begin(); idv != displacedVertices_->end(); idv++) {
704  i++;
705  out << i << " ";
706  idv->Dump();
707  out << "" << endl;
708  }
709  }
710 
711  return out;
712 }

References a, mps_fire::i, eostools::move(), and MillePedeFileConverter_cfg::out.

mps_fire.i
i
Definition: mps_fire.py:355
a
double a
Definition: hdecay.h:119
PFDisplacedVertexFinder::IDV
reco::PFDisplacedVertexCollection::iterator IDV
Definition: PFDisplacedVertexFinder.h:40
eostools.move
def move(src, dest)
Definition: eostools.py:511
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31