Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:18:13

0001 #include "TrkrHitv1.h"
0002 
0003 void TrkrHitv1::CopyFrom(const TrkrHit& source)
0004 {
0005   // do nothing if copying onto oneself
0006   if (this == &source)
0007   {
0008     return;
0009   }
0010 
0011   // parent class method
0012   TrkrHit::CopyFrom(source);
0013 
0014   // copy adc
0015   setAdc(source.getAdc());
0016 }
0017 
0018 unsigned int TrkrHitv1::getAdc() const
0019 {
0020   return m_adc;
0021 }