diff --git a/src/THcHitList.h b/src/THcHitList.h index 449527d4c9f4062a6776ec75fd9ec2e87db348b6..be90264a614912a2c85122ea76367863040ce356 100644 --- a/src/THcHitList.h +++ b/src/THcHitList.h @@ -5,6 +5,7 @@ #include "THaDetMap.h" #include "THaEvData.h" #include "TClonesArray.h" +#include "TObject.h" using namespace std; diff --git a/src/THcHodoscope.cxx b/src/THcHodoscope.cxx index f6c123d9391e84d46a519d03c62dffae0a62cc90..336309ce49ef23f1420feb3b321be2aaed5630a1 100644 --- a/src/THcHodoscope.cxx +++ b/src/THcHodoscope.cxx @@ -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; } diff --git a/src/THcRawHit.cxx b/src/THcRawHit.cxx index b1352ba304833782c18dbe05b92b6046a4c7593a..b9a50903c48146295b1e8ae26f3b52933800e812 100644 --- a/src/THcRawHit.cxx +++ b/src/THcRawHit.cxx @@ -15,6 +15,11 @@ THcRawHit::THcRawHit() // Constructor } +THcRawHit::THcRawHit(Int_t plane, Int_t counter) : + fPlane(plane), fCounter(counter) +{ +} + THcRawHit::~THcRawHit() {} diff --git a/src/THcRawHit.h b/src/THcRawHit.h index c85dfae4750c597d3d1af151113c138853641d9c..1188d2615e863c1feeea70e28793cfe26efa9e46 100644 --- a/src/THcRawHit.h +++ b/src/THcRawHit.h @@ -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