Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:20:33

0001 /**
0002  * @file trackbase/RawHitSet.cc
0003  * @author D. McGlinchey, H. PEREIRA DA COSTA
0004  * @date June 2018
0005  * @brief Implementation of RawHitSet
0006  */
0007 #include "RawHitSet.h"
0008 
0009 namespace
0010 {
0011   RawHitSet::Vector dummy_vector;
0012   RawHitSet::VectorTpc2D dummy_vector_2d;
0013 }  // namespace
0014 
0015 void RawHitSet::addHit(RawHit* /*unused*/)
0016 {
0017   return;
0018 }
0019 
0020 // void RawHitSet::addTpcHit(unsigned short, RawHit*)
0021 //{ return; }
0022 
0023 void RawHitSet::setTpcPhiBins(unsigned short /*unused*/)
0024 {  // std::cout << "Deprecated settpcphibins " << phibins << std::endl;
0025   return;
0026 }
0027 
0028 RawHitSet::ConstRange RawHitSet::getHits() const
0029 {
0030   return std::make_pair(dummy_vector.cbegin(), dummy_vector.cend());
0031 }
0032 RawHitSet::ConstVecIterator RawHitSet::getHits(int /*phibin*/)
0033 {
0034   return dummy_vector_2d.begin();
0035 }
0036 
0037 // RawHitSet::ConstRange RawHitSet::getTpcHits(unsigned short phibins) const
0038 //{ std::cout << "Deprecated settpcphibins " << phibins << std::endl; return std::make_pair( dummy_vector.cbegin(), dummy_vector.cend() ); }