#ifndef HRPCTRBUNPACKER_H
#define HRPCTRBUNPACKER_H

#include "htrbbaseunpacker.h"
#include "hlocation.h"

#include "TH2F.h"


class HTrbLookup;

class HRpcTrbUnpacker: public HTrbBaseUnpacker {

protected:
  HLocation loc;
  
  Int_t debugRpcFlag; 
  Bool_t fNoTimeRefCorr;         // Switch of Reference Time substraction (debugging)
  Bool_t fControlHistograms;     // flag for control histograms
  TH2F *histdbos, *histdbombo, *histmbotrb, *histtrbchan;  // control histos

public:
  HRpcTrbUnpacker(UInt_t id);
  ~HRpcTrbUnpacker(void) { }

  Int_t execute(void); 
  Bool_t init(void);
  Bool_t finalize(void);
  
  void setDebugRpcFlag(Int_t db) { debugRpcFlag = db;}
  void disableTimeRef(void) { fNoTimeRefCorr=true; };             // Switch off Reference Time substraction (debugging)
  void enableControlHistograms() { fControlHistograms = kTRUE; }  // Switch on control histos


public:
  ClassDef(HRpcTrbUnpacker,0) // Unpacker for Rpc data
};          

#endif /* !HRPCTRBUNPACKER_H */

Last change: Sat May 22 13:11:27 2010
Last generated: 2010-05-22 13:11

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.