6 #ifndef CALIB_ATTENCURVE_H 7 #define CALIB_ATTENCURVE_H 14 #include "NovaDAQConventions/DAQConventions.h" 36 void WriteToCSVs(FILE* fConsts, FILE* fPoints,
bool mc)
const;
41 bool operator<(
float rhs_w)
const {
return w < rhs_w;}
bool operator<(float rhs_w) const
bool IsCalibrated() const
static AttenCurve * Uninitialized(int det, geo::OfflineChan chan)
Return a new AttenCurve objects with fields uninitialized.
float center_offset
Nonzero in short muon-catcher cells. Positive is closer to readout.
float MeanPEPerCmAt(double w) const
Mean response of this channel at this distance from detector centre.
Simple object representing a (plane, cell) pair.
void WriteToCSVs(FILE *fConsts, FILE *fPoints, bool mc) const
std::ostream & operator<<(std::ostream &os, const AttenCurve &res)
std::vector< Pt > interp_pts
void AddInterpPoint(float w, float factor)