FairRoot/PandaRoot
Functions
PndFtsHoughSpace.cxx File Reference
#include "PndFtsHoughSpace.h"
#include <iostream>
#include "TMath.h"
#include <math.h>
#include <algorithm>
#include <set>
#include <vector>
#include <map>
#include "PndFtsHit.h"
#include "FairHit.h"
#include "PndTrackCand.h"
#include "PndTrack.h"
#include "FairTrackParP.h"
#include "PndFtsHoughTrackCand.h"
#include "TH1.h"
#include "TH2.h"
#include "TGraph.h"
#include "TSpectrum2.h"
#include "FairRunAna.h"
#include "FairRootManager.h"
#include "FairRuntimeDb.h"
#include "FairTask.h"
#include "TString.h"
#include "PndFtsTube.h"
#include "FairEventHeader.h"

Go to the source code of this file.

Functions

 ClassImp (PndFtsHoughSpace)
 
std::ostreamoperator<< (std::ostream &os, const IdxPath &outVector)
 
std::ostreamoperator<< (std::ostream &os, const HitIdxPathMap &outMap)
 

Function Documentation

ClassImp ( PndFtsHoughSpace  )
std::ostream& operator<< ( std::ostream os,
const IdxPath outVector 
)

Definition at line 57 of file PndFtsHoughSpace.cxx.

57  {
58  os << "[";
59  Int_t lastIdx = outVector.size()-1;
60  if(lastIdx < 0){
61  os << "]" ;
62  return os;
63  }
64 
65  for (Int_t iVec = 0; iVec < lastIdx; ++iVec){
66  os << outVector[iVec] << ", ";
67  }
68  os << outVector[lastIdx] << "]";
69  return os;
70 }
std::ostream& operator<< ( std::ostream os,
const HitIdxPathMap outMap 
)

Definition at line 72 of file PndFtsHoughSpace.cxx.

73 {
74  os << '\n';
75  if(outMap.begin() == outMap.end()){
76  os << "{ , [] }";
77  return os;
78  }
79  for (HitIdxPathMap::const_iterator itMap = outMap.begin(); itMap != outMap.end(); ++itMap){
80  os << "{ "<< itMap->first << ", ";
81  os << itMap->second;
82  os << " }\n\n";
83  }
84  return os;
85 }