56 for (
size_t i=0; i<6; ++i)
77 <<
"attempting to add two TPCClusters and neithr has any signal, bail.";
81 for(
size_t i = 0; i < 3; ++i)
95 + h.
Signal()*(TMath::Sq(h.
Time()-avgtime)+TMath::Sq(h.
RMS())))/totSig );
111 <<
"\n\tID number = " 113 <<
"\n\tposition = (" 120 <<
"\n\tcovariance matrix = \n\t" 121 << cov[0] <<
"\t" << cov[1] <<
"\t" << cov[2] <<
"\n" 122 <<
"\t\t" << cov[3] <<
"\t" << cov[4] <<
"\n" 123 <<
"\t\t\t" << cov[5]
126 <<
"\n\tdrift direction rms = " 128 <<
"\n\tstart time: "
float fSignal
size of the signal for this TPCCluster (integral of ADC values)
friend std::ostream & operator<<(std::ostream &o, gar::rec::TPCCluster const &h)
float fStartTime
start time of the TPCCluster (ticks)
float fRMS
TPCCluster width calculated with RMS (in ticks)
float fCovMat[6]
packed covariance matrix, assuming symmetry. xx, xy, xz, yy, yz, zz
gar::rec::IDNumber getIDNumber() const
bool operator!=(const TPCCluster &rhs) const
float fEndTime
end time of the TPCCluster (ticks)
static IDNumberGen * create(IDNumber iniValue=std::numeric_limits< IDNumber >::max())
float fTime
time of TPCCluster charge arrival at the readout plane (ticks)
gar::rec::IDNumber fIDnumero
float fPosition[3]
position of the TPCCluster
static gar::rec::IDNumber const FirstNumber
bool operator==(const TPCCluster &rhs) const
void operator+=(gar::rec::TPCCluster const &h)
General GArSoft Utilities.
float const & Signal() const
const float * CovMatPacked() const
const float * Position() const
#define MF_LOG_WARNING(category)