ATLAS Offline Software
Loading...
Searching...
No Matches
TruthTrajectory.h File Reference
#include <vector>
#include "GeneratorObjects/HepMcParticleLink.h"
#include "AthenaKernel/CLASS_DEF.h"
Include dependency graph for TruthTrajectory.h:

Go to the source code of this file.

Classes

class  TruthTrajectory
 A TruthTrajectory is a chain of charged MC particles connected through the mother-daughter relationship. More...

Functions

template<class Ostream>
Ostream & operator<< (Ostream &os, const TruthTrajectory &m)

Function Documentation

◆ operator<<()

template<class Ostream>
Ostream & operator<< ( Ostream & os,
const TruthTrajectory & m )

Definition at line 28 of file TruthTrajectory.h.

28 {
29 os<<"TruthTrajectory(";
30 for(unsigned i=0; i<m.size(); ) {
31 os<<m[i];
32 if(++i<m.size()) os<<",";
33 }
34 return os<<")";
35}