Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:52

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