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

Remove unneeded THcScalerEvtHandler::AddEventType

  There was already an AddEvtType in the base class.
  Should use SetEvtType to set the event type.  If the handler is to
  look for more than one event type, use AddEvtType for the extra
  event types.
parent e737aa05
No related branches found
No related tags found
No related merge requests found
...@@ -273,10 +273,6 @@ Int_t THcScalerEvtHandler::Analyze(THaEvData *evdata) ...@@ -273,10 +273,6 @@ Int_t THcScalerEvtHandler::Analyze(THaEvData *evdata)
return 1; return 1;
} }
void THcScalerEvtHandler::AddEventType(Int_t evtype)
{
eventtypes.push_back(evtype);
}
THaAnalysisObject::EStatus THcScalerEvtHandler::Init(const TDatime& date) THaAnalysisObject::EStatus THcScalerEvtHandler::Init(const TDatime& date)
{ {
......
...@@ -34,7 +34,6 @@ public: ...@@ -34,7 +34,6 @@ public:
virtual ~THcScalerEvtHandler(); virtual ~THcScalerEvtHandler();
Int_t Analyze(THaEvData *evdata); Int_t Analyze(THaEvData *evdata);
virtual void AddEventType(Int_t evtype);
virtual EStatus Init( const TDatime& run_time); virtual EStatus Init( const TDatime& run_time);
virtual Int_t End( THaRunBase* r=0 ); virtual Int_t End( THaRunBase* r=0 );
virtual void SetUseFirstEvent(Bool_t b = kFALSE) {fUseFirstEvent = b;} virtual void SetUseFirstEvent(Bool_t b = kFALSE) {fUseFirstEvent = b;}
......
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