Skip to content
Snippets Groups Projects
THcHitList.h 1014 B
Newer Older
  • Learn to ignore specific revisions
  • Stephen A. Wood's avatar
    Stephen A. Wood committed
    #ifndef ROOT_THcHitList
    #define ROOT_THcHitList
    
    #include "THcRawHit.h"
    
    Stephen A. Wood's avatar
    Stephen A. Wood committed
    #include "THaDetMap.h"
    #include "THaEvData.h"
    
    #include "TClonesArray.h"
    
    
    
    using namespace std;
    
    
    //////////////////////////////////////////////////////////////////////////
    //
    
    Stephen A. Wood's avatar
    Stephen A. Wood committed
    // THcHitList
    
    //
    //////////////////////////////////////////////////////////////////////////
    
    
    Stephen A. Wood's avatar
    Stephen A. Wood committed
    class THcHitList {
    
    Stephen A. Wood's avatar
    Stephen A. Wood committed
      virtual ~THcHitList();
    
    Stephen A. Wood's avatar
    Stephen A. Wood committed
      virtual Int_t DecodeToHitList( const THaEvData& );
      void          InitHitList(THaDetMap* detmap,
    			    const char *hitclass, Int_t maxhits);
    
      // This is a list of pointers to hit objects
      // Instead should we have a list of the actual objects so that we are
      // no delting and creating objects all the time.
      //
    
      Int_t         fNRawHits;
      Int_t         fNMaxRawHits;
    
      TClonesArray* fRawHitList; // List of raw hits
    
      TClass* fRawHitClass;		  // Class of raw hit object to use
    
    Stephen A. Wood's avatar
    Stephen A. Wood committed
    
    
    Stephen A. Wood's avatar
    Stephen A. Wood committed
      ClassDef(THcHitList,0)