Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-17 09:20:20

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