9 #ifndef LARDATA_RECOBASE_DUMPERS_PCAXISDUMPERS_H 10 #define LARDATA_RECOBASE_DUMPERS_PCAXISDUMPERS_H 1 18 #include <type_traits> 32 template <
typename Stream,
typename NewLineRef>
34 <std::is_same<recob::dumper::NewLine<std::decay_t<Stream>>, std::decay_t<NewLineRef>>
::value>
50 template <
typename Stream>
53 bool indentFirst =
true 72 template <
typename Stream,
typename NewLineRef>
74 <std::is_same<recob::dumper::NewLine<std::decay_t<Stream>>, std::decay_t<NewLineRef>>
::value>
80 nl() <<
"<not valid>";
85 <<
" ID " << pca.
getID()
98 <<
" - principle axis: " 103 <<
" - second axis: " 117 #endif // LARDATA_RECOBASE_DUMPERS_PCAXISDUMPERS_H double getAveHitDoca() const
const EigenVectors & getEigenVectors() const
const double * getEigenValues() const
Reconstruction base classes.
std::enable_if_t< std::is_same< recob::dumper::NewLine< std::decay_t< Stream > >, std::decay_t< NewLineRef > >::value > DumpPCAxis(Stream &&out, recob::PCAxis const &pca, NewLineRef &&nl)
int getNumHitsUsed() const
Q_EXPORT QTSManip setprecision(int p)
Simple class managing a repetitive output task.
Q_EXPORT QTSManip setw(int w)
const double * getAvePosition() const
NewLine< Stream > makeNewLine(Stream &stream, std::string indent, bool followLine=false)
Convenience function to create a temporary NewLine.
std::string nl(std::size_t i=1)