Skip to content
Snippets Groups Projects
THcRawHitList.cxx 894 B
Newer Older
  • Learn to ignore specific revisions
  • //*-- Author : Stephen Wood  
    
    //////////////////////////////////////////////////////////////////////////
    //
    
    // THcRawHitList
    
    //
    // Class to build raw hit lists from data
    //
    //////////////////////////////////////////////////////////////////////////
    
    #include "THcRawHitList.h"
    
    using namespace std;
    
    
    THcRawHitList::THcRawHitList(const char* classname, Int_t detectorid, Int_t size=1000) {
    
      fHits = new TClonesArray(classname, size);
      fDetectorid = detectorid;
    }
    
    THcRawHitList::~THcRawHitList() {
      delete fHits;
    }
    
    
    Int_t THcRawHitList::Fill(const THaEvData& evdata, const THcDetectorMap& dmap)
    {
      // Zero out hit list
      // Interate over list of channels belonging to detector, retrieving
      // data that belongs to the detector
    }
    
    
    void THcRawHitList::Clear( Option_t*)
    {
      fHits->Clear();
    }
    
    //////////////////////////////////////////////////////////////////////////
    
    ClassImp(THcRawHitList)