Skip to content
Snippets Groups Projects
Commit fafa3449 authored by Stephen A. Wood's avatar Stephen A. Wood
Browse files

Trying to fix ThcRawHit so it can be used in TClonesArray

parent 187eea20
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@
#include "THaDetMap.h"
#include "THaEvData.h"
#include "TClonesArray.h"
#include "TObject.h"
using namespace std;
......
......@@ -70,7 +70,7 @@ THaAnalysisObject::EStatus THcHodoscope::Init( const TDatime& date )
// Will need to determine which apparatus it belongs to and use the
// appropriate detector ID in the FillMap call
if( gHcDetectorMap->FillMap(fDetMap, "HSCIN") < 0 ) {
Error( Here(here), "Error filling detectormap for %s.",
Error( Here(here), "Error filling detectormap for %s.",
"detectorname");
return kInitError;
}
......
......@@ -15,6 +15,11 @@ THcRawHit::THcRawHit()
// Constructor
}
THcRawHit::THcRawHit(Int_t plane, Int_t counter) :
fPlane(plane), fCounter(counter)
{
}
THcRawHit::~THcRawHit()
{}
......
......@@ -10,19 +10,17 @@
class THcRawHit : public TObject {
public:
THcRawHit(Int_t plane, Int_t counter) :
fPlane(plane), fCounter(counter) {}
public:
THcRawHit();
virtual ~THcRawHit();
THcRawHit(Int_t plane, Int_t counter);
THcRawHit( const THcRawHit& rhs ) : TObject(rhs) {}
// THcRawHit( const THcRawHit& rhs ) : TObject(rhs) {}
THcRawHit& operator=( const THcRawHit& rhs )
{ TObject::operator=(rhs); return *this; }
// THcRawHit& operator=( const THcRawHit& rhs )
// { TObject::operator=(rhs); return *this; }
virtual ~THcRawHit();
virtual void Clear( Option_t* opt="" )=0;
......@@ -41,7 +39,7 @@ public:
protected:
ClassDef(THcRawHit,0) // Track ID abstract base class
ClassDef(THcRawHit,0)
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment