Skip to content
Snippets Groups Projects
Commit 97619d3d authored by Edward Brash's avatar Edward Brash Committed by Stephen A. Wood
Browse files

Moved defaults in THcHodoHit constructor to header file.

parent 29fd97c6
No related branches found
No related tags found
No related merge requests found
...@@ -15,8 +15,8 @@ using std::endl; ...@@ -15,8 +15,8 @@ using std::endl;
ClassImp(THcHodoHit) ClassImp(THcHodoHit)
THcHodoHit::THcHodoHit( THcRawHodoHit *hit=NULL, Double_t posPed=0.0, THcHodoHit::THcHodoHit( THcRawHodoHit *hit, Double_t posPed,
Double_t negPed=0.0, THcScintillatorPlane* sp=NULL) Double_t negPed, THcScintillatorPlane* sp)
{ {
if(hit) { if(hit) {
fPosTDC = hit->fTDC_pos; fPosTDC = hit->fTDC_pos;
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
class THcHodoHit : public TObject { class THcHodoHit : public TObject {
public: public:
THcHodoHit( THcRawHodoHit* hit, Double_t posPed, THcHodoHit( THcRawHodoHit* hit=NULL, Double_t posPed=0.0,
Double_t negPed, THcScintillatorPlane* sp); Double_t negPed=0.0, THcScintillatorPlane* sp=NULL);
virtual ~THcHodoHit() {} virtual ~THcHodoHit() {}
......
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