#include "ICDCWireInfo.hxx" #include "TString.h" using namespace COMET; ICDCWireInfo::ICDCWireInfo (): fWireNode(-1), fWireId(-1), fLayerId(-1), fBoardId(-1), fLength(-1.0), fIsSenseWire(-1), fPosition(TVector3(1e9, 1e9, 1e9)), fEnd0Pos(TVector3(1e9, 1e9, 1e9)), fEnd1Pos(TVector3(1e9, 1e9, 1e9)) {}; ICDCWireInfo::~ICDCWireInfo() { } void ICDCWireInfo::ls() const { COMETLog(Form("%s: wireId %05d layerId %03d boardId %03d length %8.3f (x0,y0,z0)=(%8.3f,%8.3f,%8.3f)", (fIsSenseWire)?"Sig":"Bkg", fWireId, fLayerId, fBoardId, fLength, fPosition.X(),fPosition.Y(),fPosition.Z() ) ); }