Skip to content
Snippets Groups Projects
Scandalizer.h 698 B
Newer Older
#ifndef hcana_Scandalizer_h_
#define hcana_Scandalizer_h_

#include "THaBenchmark.h"
#include "THcAnalyzer.h"
Chao1009's avatar
Chao1009 committed
#include "PRadETChannel.h"
#include <iostream>

namespace hcana {

  class Scandalizer : public THcAnalyzer {
  public:
    Scandalizer() : THcAnalyzer() {}
    virtual ~Scandalizer() {}

    virtual Int_t Process(THaRunBase* run = nullptr);
    virtual Int_t ReadOneEvent();
    //Int_t GoToEndOfCodaFile();
Chao1009's avatar
Chao1009 committed
    void SetETChannel(PRadETChannel *ch) { online_ch = ch; }
    PRadETChannel *GetETChannel() { return online_ch; }
    int _skip_events = 0;
Chao1009's avatar
Chao1009 committed
    PRadETChannel *online_ch;

    ClassDef(Scandalizer, 0) // Hall C Analyzer Standard Event Loop
  };

} // namespace hcana
#endif