Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-10-16 08:27:49

0001 #include "MbdPmtHitV2.h"
0002 
0003 void MbdPmtHitV2::Reset()
0004 {
0005   Clear();
0006 }
0007 
0008 void MbdPmtHitV2::Clear(Option_t* /*unused*/)
0009 {
0010   //std::cout << "clearing " << bpmt << std::endl;
0011   bpmt = -1;
0012   fitstat = 0;
0013   bq = std::numeric_limits<float>::quiet_NaN();
0014   btt = std::numeric_limits<float>::quiet_NaN();
0015   btq = std::numeric_limits<float>::quiet_NaN();
0016 }
0017 
0018 void MbdPmtHitV2::identify(std::ostream& out) const
0019 {
0020   out << "identify yourself: I am a MbdPmtHitV2 object" << std::endl;
0021   out << "Pmt: " << bpmt << ", fitstat 0x" << std::hex << fitstat << std::dec
0022       << ", Q: " << bq << ", tt: " << btt << ", btq: " << btq << std::endl;
0023 }