Namespaces | Classes | Typedefs | Functions | Variables
recob Namespace Reference

Reconstruction base classes. More...

Namespaces

 details
 
 dumper
 
 test
 
 tracking
 

Classes

class  ChargedSpacePointCollectionCreator
 Creates a collection of space points with associated charge. More...
 
class  Cluster
 Set of hits with a 2D structure. More...
 
class  DumpChargedSpacePoints
 Prints the content of all the space points and charge on screen. More...
 
class  DumpClusters
 Prints the content of all the clusters on screen. More...
 
class  DumpPCAxes
 Prints the content of all the PCA axis object on screen. More...
 
class  DumpPFParticles
 Prints the content of all the ParticleFlow particles on screen. More...
 
class  DumpSeeds
 Prints the content of all the seeds on screen. More...
 
class  DumpSpacePoints
 Prints the content of all the space points on screen. More...
 
class  DumpTracks
 Prints the content of all the tracks on screen. More...
 
class  DumpVertices
 Prints the content of all the vertices on screen. More...
 
class  Edge
 Edge is an object containing the results of a Principal Components Analysis of a group of space points. More...
 
class  EndPoint2D
 
class  Event
 
class  Hit
 2D representation of charge deposited in the TDC/wire plane More...
 
class  HitAndAssociationsWriterBase
 Base class handling a collection of hits and its associations. More...
 
class  HitAndAssociationsWriterManager
 A helper to centralise creation of a hit collection data product. More...
 
class  HitCollectionAssociator
 A class handling a collection of hits and its associations. More...
 
class  HitCollectionCreator
 A class handling a collection of hits and its associations. More...
 
class  HitCreator
 Class managing the creation of a new recob::Hit object. More...
 
class  HitRefinerAssociator
 A class handling a collection of hits and its associations. More...
 
class  MCSFitResult
 Class storing the result of the Maximum Likelihood fit of Multiple Coulomb Scattering angles between segments within a Track or Trajectory. More...
 
class  OpFlash
 
struct  OpFlashPtrSortByPE_t
 
struct  OpFlashPtrSortByTime_t
 
struct  OpFlashSortByPE_t
 
struct  OpFlashSortByTime
 
class  OpHit
 
class  PCAxis
 
class  PFParticle
 Hierarchical representation of particle flow. More...
 
class  PointCharge
 Charge reconstructed in the active volume. More...
 
class  Seed
 
class  Shower
 
class  Slice
 
class  SpacePoint
 
class  Track
 Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track: More...
 
class  TrackFitHitInfo
 Object storing per-hit information from a track fit. More...
 
class  TrackHitMeta
 Data related to recob::Hit associated with recob::Track.The purpose is to collect several variables that do not work well alone inside track class and are related to 2D hits along the 3D trajectory. So in the first place it is the hit index along the trajectory. There is also dx associated to hit to help dE/dx calculations. More...
 
class  TrackTrajectory
 A trajectory in space reconstructed from hits. More...
 
class  Trajectory
 A trajectory in space reconstructed from hits. More...
 
class  TrajectoryPointFlags
 Set of flags pertaining a point of the track. More...
 
struct  TrajectoryPointFlagTraits
 Namespace for the trajectory point flags. More...
 
class  Vertex
 Definition of vertex object for LArSoft. More...
 
class  VertexAssnMeta
 Class storing the meta-data for track-vertex association: status, propagation distance, impact parameter, impact parameter error, chi2. More...
 
class  Wire
 Class holding the regions of interest of signal from a channel. More...
 
class  WireCreator
 Class managing the creation of a new recob::Wire object. More...
 

Typedefs

using HitCollectionCreatorManager = HitAndAssociationsWriterManager< HitCollectionCreator >
 A manager for recob::HitCollectionCreator writer class. More...
 
using SVector5 = tracking::SVector5
 
using SMatrixSym55 = tracking::SMatrixSym55
 

Functions

std::ostream & operator<< (std::ostream &o, Cluster const &c)
 
bool operator< (Cluster const &a, Cluster const &b)
 
std::ostream & operator<< (std::ostream &o, const Edge &a)
 Streaming operator: prints the edge a into the specified stream. More...
 
bool operator< (const Edge &a, const Edge &b)
 Comparison operator: strict ordering of edge by ID. More...
 
bool operator< (const Edge &e, Edge::ID_t id)
 Comparison operator: strict ordering of edge by ID. More...
 
bool operator< (Edge::ID_t id, const Edge &e)
 Comparison operator: strict ordering of edge by ID. More...
 
std::ostream & operator<< (std::ostream &o, const EndPoint2D &ep)
 
std::ostream & operator<< (std::ostream &o, const Event &a)
 
bool operator< (const Event &a, const Event &b)
 
std::ostream & operator<< (std::ostream &o, Hit const &hit)
 
bool operator< (const Hit &a, const Hit &b)
 
bool operator< (const OpFlash &a, const OpFlash &b)
 
bool operator< (const OpHit &a, const OpHit &b)
 
std::ostream & operator<< (std::ostream &o, const PCAxis &a)
 
bool operator< (const PCAxis &a, const PCAxis &b)
 
std::ostream & operator<< (std::ostream &o, const PFParticle &c)
 
bool operator< (const PFParticle &a, const PFParticle &b)
 
std::ostream & operator<< (std::ostream &out, recob::PointCharge const &charge)
 Dumps the content of a recob::PointCharge object into an output stream. More...
 
void CrossProd (double x1, double x2, double x3, double y1, double y2, double y3, double &out1, double &out2, double &out3)
 
std::ostream & operator<< (std::ostream &o, Seed const &a)
 
bool operator< (const Seed &a, const Seed &b)
 
std::ostream & operator<< (std::ostream &o, Shower const &a)
 
bool operator< (const Shower &a, const Shower &b)
 
std::ostream & operator<< (std::ostream &o, const SpacePoint &a)
 
bool operator< (const SpacePoint &a, const SpacePoint &b)
 
bool operator< (SpacePoint const &s, SpacePoint::ID_t id)
 Comparison of a space point with an ID, for sorting and lookup. More...
 
bool operator< (SpacePoint::ID_t id, SpacePoint const &s)
 Comparison of a space point with an ID, for sorting and lookup. More...
 
std::ostream & operator<< (std::ostream &stream, Track const &a)
 
bool operator< (const Track &a, const Track &b)
 
std::ostream & operator<< (std::ostream &o, const TrackHitMeta &a)
 
bool operator< (const TrackHitMeta &a, const TrackHitMeta &b)
 
std::ostream & operator<< (std::ostream &&out, TrackTrajectory const &traj)
 Prints trajectory content into a stream. More...
 
std::ostream & operator<< (std::ostream &out, Trajectory const &traj)
 Prints trajectory content into a stream. More...
 
std::ostream & operator<< (std::ostream &out, recob::TrajectoryPointFlags const &flags)
 Dumps flags into a stream with default verbosity. More...
 
std::ostream & operator<< (std::ostream &o, const Vertex &a)
 
bool operator< (const Vertex &a, const Vertex &b)
 

Variables

struct recob::OpFlashSortByPE_t OpFlashSortByPE
 
struct recob::OpFlashPtrSortByTime_t OpFlashPtrSortByTime
 
struct recob::OpFlashPtrSortByPE_t OpFlashPtrSortByPE
 

Detailed Description

Reconstruction base classes.

Definition of utility objects for use in the 3D clustering for LArSoft.

The objects defined in this module are intended for internal use by the 3D clustering (see Cluster3D_module.cc in larreco/ClusterFinder). These objects mostly contain volatile information and are not suitable for storage in the art event store

Author
usher.nosp@m.@sla.nosp@m.c.sta.nosp@m.nfor.nosp@m.d.edu

Typedef Documentation

A manager for recob::HitCollectionCreator writer class.

Definition at line 1053 of file HitCreator.h.

Definition at line 10 of file TrackFitHitInfo.h.

Definition at line 9 of file TrackFitHitInfo.h.

Function Documentation

void recob::CrossProd ( double  x1,
double  x2,
double  x3,
double  y1,
double  y2,
double  y3,
double &  out1,
double &  out2,
double &  out3 
)

Definition at line 331 of file Seed.cxx.

334  {
335  out1 = (x2*y3-x3*y2);
336  out2 = (x3*y1-x1*y3);
337  out3 = (x1*y2-x2*y1);
338  }
bool recob::operator< ( const Track a,
const Track b 
)

Definition at line 40 of file Track.cxx.

41  {
42  if(a.ID() != b. ID())
43  return a.ID() < b.ID();
44 
45  return false; //They are equal
46  }
unsigned int ID
const double a
static bool * b
Definition: config.cpp:1043
bool recob::operator< ( const PFParticle a,
const PFParticle b 
)

Definition at line 50 of file PFParticle.cxx.

51  {
52  return a.Self() < b.Self();
53  }
const double a
static bool * b
Definition: config.cpp:1043
bool recob::operator< ( const OpHit a,
const OpHit b 
)

Definition at line 53 of file OpHit.cxx.

54  {
55  return a.PE() < b.PE();
56  }
const double a
static bool * b
Definition: config.cpp:1043
bool recob::operator< ( const Vertex a,
const Vertex b 
)

Definition at line 61 of file Vertex.cxx.

62  {
63  double xyza[3] = {0.};
64  double xyzb[3] = {0.};
65  a.XYZ(xyza);
66  b.XYZ(xyzb);
67 
68  return xyza[2] < xyzb[2];
69 
70  }
const double a
static bool * b
Definition: config.cpp:1043
bool recob::operator< ( const OpFlash a,
const OpFlash b 
)

Definition at line 62 of file OpFlash.cxx.

63  {
64  return a.Time() < b.Time();
65  }
const double a
static bool * b
Definition: config.cpp:1043
bool recob::operator< ( const Shower a,
const Shower b 
)

Definition at line 66 of file Shower.cxx.

67  {
68  if(a.ID() != b. ID())
69  return a.ID() < b.ID();
70 
71  return false; //They are equal
72  }
unsigned int ID
const double a
static bool * b
Definition: config.cpp:1043
bool recob::operator< ( SpacePoint const &  s,
SpacePoint::ID_t  id 
)
inline

Comparison of a space point with an ID, for sorting and lookup.

Definition at line 68 of file SpacePoint.h.

68 { return s.ID() < id; }
static QCString * s
Definition: config.cpp:1042
bool recob::operator< ( SpacePoint::ID_t  id,
SpacePoint const &  s 
)
inline

Comparison of a space point with an ID, for sorting and lookup.

Definition at line 70 of file SpacePoint.h.

70 { return id < s.ID(); }
static QCString * s
Definition: config.cpp:1042
bool recob::operator< ( const PCAxis a,
const PCAxis b 
)

Definition at line 73 of file PCAxis.cxx.

74 {
75  if(a.getID() != b. getID())
76  return a.getID() < b.getID();
77 
78  return false; //They are equal
79 }
const double a
static bool * b
Definition: config.cpp:1043
bool recob::operator< ( const SpacePoint a,
const SpacePoint b 
)

Definition at line 74 of file SpacePoint.cxx.

75  {
76  if(a.ID() != b. ID())
77  return a.ID()<b.ID();
78 
79  return false; //They are equal
80 
81  }
unsigned int ID
bool recob::operator< ( const Event a,
const Event b 
)

Definition at line 79 of file Event.cxx.

80  {
81 
82  return a.Energy() < b.Energy();
83 
84  }
const double a
static bool * b
Definition: config.cpp:1043
bool recob::operator< ( const TrackHitMeta a,
const TrackHitMeta b 
)
inline

Definition at line 81 of file TrackHitMeta.h.

82  { return a.Index() < b.Index(); }
const double a
static bool * b
Definition: config.cpp:1043
bool recob::operator< ( const Hit a,
const Hit b 
)

Definition at line 112 of file Hit.cxx.

113  {
114  if (a.Channel() != b.Channel())
115  return a.Channel() < b.Channel();
116  if (a.View() != b.View())
117  return a.View() < b.View();
118  if (a.StartTick() != b.StartTick())
119  return a.StartTick() < b.StartTick();
120 
121  return false; //They are equal
122  } // operator< (Hit, Hit)
const double a
static bool * b
Definition: config.cpp:1043
bool recob::operator< ( const Edge a,
const Edge b 
)
inline

Comparison operator: strict ordering of edge by ID.

Definition at line 144 of file Edge.h.

145  { return a.ID() < b.ID(); }
const double a
static bool * b
Definition: config.cpp:1043
bool recob::operator< ( const Edge e,
Edge::ID_t  id 
)
inline

Comparison operator: strict ordering of edge by ID.

Definition at line 147 of file Edge.h.

148  { return e.ID() < id; }
const double e
bool recob::operator< ( Edge::ID_t  id,
const Edge e 
)
inline

Comparison operator: strict ordering of edge by ID.

Definition at line 150 of file Edge.h.

151  { return id < e.ID(); }
const double e
bool recob::operator< ( Cluster const &  a,
Cluster const &  b 
)

Definition at line 196 of file Cluster.cxx.

196  {
197 
198  if (a.hasPlane() && b.hasPlane() && a.Plane() != b.Plane())
199  return a.Plane() < b.Plane();
200  if (a.View() != b.View())
201  return a.View() < b.View();
202  if (a.ID() != b. ID())
203  return a.ID() < b.ID();
204  if (a.StartTick() != b.StartTick())
205  return a.StartTick() < b.StartTick();
206  if (a.EndTick() != b.EndTick())
207  return a.EndTick() < b.EndTick();
208 
209  return false; // they are equal enough
210  } // operator < (Cluster, Cluster)
unsigned int ID
const double a
static bool * b
Definition: config.cpp:1043
bool recob::operator< ( const Seed a,
const Seed b 
)

Definition at line 357 of file Seed.cxx.

358  {
359  if (a.fSeedPoint[2] != b.fSeedPoint[2])
360  { return a.fSeedPoint[2] < b.fSeedPoint[2]; }
361  else if (a.fSeedPoint[1] != b.fSeedPoint[1])
362  { return a.fSeedPoint[1] < b.fSeedPoint[1]; }
363 
364  return a.fSeedPoint[0] < b.fSeedPoint[0];
365 
366  }
const double a
static bool * b
Definition: config.cpp:1043
std::ostream& recob::operator<< ( std::ostream &  stream,
Track const &  a 
)

Definition at line 21 of file Track.cxx.

22  {
23  auto const& start = a.VertexDirection();
24  auto const& end = a.EndDirection();
25  stream << std::setiosflags(std::ios::fixed) << std::setprecision(3)
26  << "\n Track ID " << std::setw(4) << std::right << a.ID()
27  << " Theta = " << std::setw(6) << std::right << a.Theta()
28  << " Phi = " << std::setw(6) << std::right << a.Phi()
29  << "\n StartCosines : ( " << start.X() << " ; " << start.Y() << " ; " << start.Z()
30  << ") EndCosines : ( " << end.X() << " ; " << end.Y() << " ; " << end.Z()
31  << ")"
32  << "\n #Position and Direction = "
33  << std::setw(5) << std::right << a.NumberTrajectoryPoints();
34  stream << std::endl;
35 
36  return stream;
37  }
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
Q_EXPORT QTSManip setprecision(int p)
Definition: qtextstream.h:343
const double a
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
QTextStream & endl(QTextStream &s)
std::ostream& recob::operator<< ( std::ostream &  o,
const PFParticle c 
)

Definition at line 38 of file PFParticle.cxx.

39  {
40  o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
41  o << "PFParticle hypothesis PDG Code " << std::setw(8) << std::right << c.PdgCode()
42  << ", is primary = " << c.IsPrimary()
43  << ", # Daughters " << std::setw(5) << std::right << c.NumDaughters() << std::endl;
44 
45  return o;
46  }
Q_EXPORT QTSManip setprecision(int p)
Definition: qtextstream.h:343
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
QTextStream & endl(QTextStream &s)
std::ostream& recob::operator<< ( std::ostream &  o,
const EndPoint2D ep 
)

Definition at line 46 of file EndPoint2D.cxx.

47  {
48  o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
49  o << "EndPoint2D ID " << std::setw(5) << std::right << ep.ID()
50  << " WireID : \n"
51  << "\tCryostat = " << std::setw(7) << std::right << ep.WireID().Cryostat
52  << "\tTPC = " << std::setw(7) << std::right << ep.WireID().TPC
53  << "\tPlane = " << std::setw(7) << std::right << ep.WireID().Plane
54  << "\tWire Number = " << std::setw(7) << std::right << ep.WireID().Wire
55  << " View = " << std::setw(9) << std::right << ep.View()
56  << " Time = " << std::setw(9) << std::right << ep.DriftTime();
57 
58  return o;
59  }
Q_EXPORT QTSManip setprecision(int p)
Definition: qtextstream.h:343
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
std::ostream& recob::operator<< ( std::ostream &  o,
const Vertex a 
)

Definition at line 48 of file Vertex.cxx.

49  {
50  o << std::setprecision(5);
51  o << "Vertex ID " << a.id_ << std::setw(5)
52  << " (x,y,z) = (" << a.pos_.X() << "," << a.pos_.Y() << ","
53  << a.pos_.Z() << ")";
54 
55  return o;
56  }
Q_EXPORT QTSManip setprecision(int p)
Definition: qtextstream.h:343
const double a
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
std::ostream& recob::operator<< ( std::ostream &  o,
const PCAxis a 
)

Definition at line 50 of file PCAxis.cxx.

51 {
52  if (a.fSvdOK)
53  {
54  o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
55  o << " PCAxis ID " << a.fID << " run with " << a.fNumHitsUsed << " space points" << std::endl;
56  o << " - center position: " << std::setw(6) << a.fAvePosition[0] << ", " << a.fAvePosition[1] << ", " << a.fAvePosition[2] << std::endl;
57  o << " - eigen values: " << std::setw(8) << std::right << a.fEigenValues[0] << ", "
58  << a.fEigenValues[1] << ", " << a.fEigenValues[2] << std::endl;
59  o << " - average doca: " << a.fAveHitDoca << std::endl;
60  o << " - Principle axis: " << std::setw(7) << std::setprecision(4) << a.fEigenVectors[0][0] << ", " << a.fEigenVectors[0][1] << ", " << a.fEigenVectors[0][2] << std::endl;
61  o << " - second axis: " << std::setw(7) << std::setprecision(4) << a.fEigenVectors[1][0] << ", " << a.fEigenVectors[1][1] << ", " << a.fEigenVectors[1][2] << std::endl;
62  o << " - third axis: " << std::setw(7) << std::setprecision(4) << a.fEigenVectors[2][0] << ", " << a.fEigenVectors[2][1] << ", " << a.fEigenVectors[2][2] << std::endl;
63  }
64  else
65  o << " Principal Components Axis is not valid" << std::endl;
66 
67  return o;
68 }
Q_EXPORT QTSManip setprecision(int p)
Definition: qtextstream.h:343
const double a
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
QTextStream & endl(QTextStream &s)
std::ostream& recob::operator<< ( std::ostream &  o,
Shower const &  a 
)

Definition at line 54 of file Shower.cxx.

55  {
56  o << std::setiosflags(std::ios::fixed) << std::setprecision(3);
57  o << " Shower ID " << std::setw(4) << std::right << a.ID();
58  o << " Energy " << std::setw(4) << std::right << a.Energy()[a.best_plane()];
59  o << " dEdx " << std::setw(4) << std::right << a.dEdx()[a.best_plane()];
60  return o;
61  }
Q_EXPORT QTSManip setprecision(int p)
Definition: qtextstream.h:343
const double a
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
std::ostream& recob::operator<< ( std::ostream &  o,
const SpacePoint a 
)

Definition at line 58 of file SpacePoint.cxx.

59  {
60  o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
61  o << " SpacePoint ID " << std::setw(5) << std::right << a.ID()
62  << " (X,Y,Z) = (" << std::setw(5) << std::right << a.XYZ()[0]
63  << " , " << std::setw(5) << std::right << a.XYZ()[1]
64  << " , " << std::setw(5) << std::right << a.XYZ()[2]
65  << ")" ;
66 
67  return o;
68  }
Q_EXPORT QTSManip setprecision(int p)
Definition: qtextstream.h:343
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
std::ostream & recob::operator<< ( std::ostream &  o,
const Edge a 
)

Streaming operator: prints the edge a into the specified stream.

Definition at line 59 of file Edge.cxx.

60 {
61  o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
62  o << " Edge ID " << a.ID() << " has length " << std::setw(6) << a.Length() << " cm" << std::endl;
63  o << " - First Point ID: " << a.FirstPointID() << ", second point ID: " << a.SecondPointID() << std::endl;
64 
65  return o;
66 }
Q_EXPORT QTSManip setprecision(int p)
Definition: qtextstream.h:343
const double a
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
QTextStream & endl(QTextStream &s)
std::ostream& recob::operator<< ( std::ostream &  o,
const Event a 
)

Definition at line 65 of file Event.cxx.

66  {
67 
68  o << std::setprecision(5);
69  o << "Event " << a.fID << std::setw(5)
70  << " Energy = " << a.Energy() << " +/- " << a.SigmaEnergy() << std::endl;
71 
72  return o;
73  }
Q_EXPORT QTSManip setprecision(int p)
Definition: qtextstream.h:343
const double a
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
QTextStream & endl(QTextStream &s)
std::ostream& recob::operator<< ( std::ostream &  o,
const TrackHitMeta a 
)
inline

Definition at line 78 of file TrackHitMeta.h.

79  { o << a.Index(); return o; }
const double a
std::ostream& recob::operator<< ( std::ostream &  o,
Hit const &  hit 
)

Definition at line 85 of file Hit.cxx.

85  {
86  o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
87  o << " Channel " << std::setw(5) << std::right << hit.Channel()
88  << " View = " << std::setw(3) << std::right << hit.View()
89  << " Signal type = " << std::setw(3) << std::right << hit.SignalType()
90  << " Wire = " << std::setw(3) << std::right << hit.WireID()
91  << "\n\tStartTick = " << std::setw(7) << std::right << hit.StartTick()
92  << "\tEndTick = " << std::setw(7) << std::right << hit.EndTick()
93  << "\tPeakTime = " << std::setw(7) << std::right << hit.PeakTime()
94  << " +/- " << std::setw(7) << std::right << hit.SigmaPeakTime()
95  << "\tRMS = " << std::setw(7) << std::right << hit.RMS()
96  << "\n\tAmplitude = " << std::setw(7) << std::right << hit.PeakAmplitude()
97  << " +/- " << std::setw(7) << std::right << hit.SigmaPeakAmplitude()
98  << "\tIntegral = " << std::setw(7) << std::right << hit.Integral()
99  << " +/- " << std::setw(7) << std::right << hit.SigmaIntegral()
100  << "\tADCsum = " << std::setw(7) << std::right << hit.SummedADC()
101  << "\tMultiplicity = " << std::setw(5) << std::right << hit.LocalIndex() << " of " << hit.Multiplicity()
102  << "\tGoodnessOfFit = " << std::setw(7) << std::right << hit.GoodnessOfFit()
103  << " DoF = " << std::setw(7) << std::right << hit.DegreesOfFreedom()
104  << std::endl;
105  return o;
106  } // operator<< (std::ostream, Hit)
Q_EXPORT QTSManip setprecision(int p)
Definition: qtextstream.h:343
Detector simulation of raw signals on wires.
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
QTextStream & endl(QTextStream &s)
std::ostream& recob::operator<< ( std::ostream &  out,
recob::PointCharge const &  charge 
)
inline

Dumps the content of a recob::PointCharge object into an output stream.

Definition at line 135 of file PointCharge.h.

136  { charge.dump(out); return out; }
std::ostream& recob::operator<< ( std::ostream &  o,
Cluster const &  c 
)

Definition at line 173 of file Cluster.cxx.

173  {
174  o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
175  o << "Cluster ID " << std::setw(5) << std::right << c.ID()
176  << " : Cryo = " << std::setw(3) << std::right << c.Plane().Cryostat
177  << " TPC = " << std::setw(3) << std::right << c.Plane().TPC
178  << " Plane = " << std::setw(3) << std::right << c.Plane().Plane
179  << " View = " << std::setw(3) << std::right << c.View()
180  << " StartWire = " << std::setw(7) << std::right << c.StartWire()
181  << " EndWire = " << std::setw(7) << std::right << c.EndWire()
182  << " StartTime = " << std::setw(9) << std::right << c.StartTick()
183  << " EndTime = " << std::setw(9) << std::right << c.EndTick()
184  << " N hits = " << std::setw(5) << std::right << c.NHits()
185  << " Width = " << std::setw(5) << std::right << c.Width()
186  << " Charge(fit) = " << std::setw(10) << std::right << c.Integral()
187  << " Charge(ADC) = " << std::setw(10) << std::right << c.SummedADC()
188  ;
189  return o;
190  } // operator<< (ostream, Cluster)
Q_EXPORT QTSManip setprecision(int p)
Definition: qtextstream.h:343
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
std::ostream& recob::operator<< ( std::ostream &  o,
Seed const &  a 
)

Definition at line 341 of file Seed.cxx.

342  {
343  o << "Printing seed contents : "
344  << a.fSeedPoint[0] << " "
345  << a.fSeedPoint[1] << " "
346  << a.fSeedPoint[2] << ", "
347  << a.fSeedDirection[0] << " "
348  << a.fSeedDirection[1] << " "
349  << a.fSeedDirection[2];
350 
351  return o;
352  }
const double a
std::ostream & recob::operator<< ( std::ostream &  out,
recob::Trajectory const &  traj 
)

Prints trajectory content into a stream.

Template Parameters
Streamtype of the output stream
Parameters
outstream to output the information into
trajtrajectory to be printed
Returns
a reference to stream

See recob::Trajectory::Dump() for details.

Definition at line 144 of file Trajectory.cxx.

145  { traj.Dump(out); return out; }
std::ostream & recob::operator<< ( std::ostream &&  out,
recob::TrackTrajectory const &  traj 
)

Prints trajectory content into a stream.

Template Parameters
Streamtype of the output stream
Parameters
outstream to output the information into
trajtrajectory to be printed
Returns
a reference to stream

See recob::Trajectory::Dump() for details.

Definition at line 106 of file TrackTrajectory.cxx.

107  { traj.Dump(out); return out; }
std::ostream & recob::operator<< ( std::ostream &  out,
recob::TrajectoryPointFlags const &  flags 
)

Dumps flags into a stream with default verbosity.

Definition at line 145 of file TrajectoryPointFlags.cxx.

146  { flags.dump(out); return out; }

Variable Documentation

struct recob::OpFlashPtrSortByPE_t recob::OpFlashPtrSortByPE
struct recob::OpFlashPtrSortByTime_t recob::OpFlashPtrSortByTime
struct recob::OpFlashSortByPE_t recob::OpFlashSortByPE