ROOT logo
using namespace std;
#include "htofrawsimfilter.h"
#include "htofrawsim.h"
#include <fstream> 

ClassImp(HTofRawSimFilter)

// Author : Dusan Zovinec
// Date: 02/07/2001

//_HADES_CLASS_DESCRIPTION 
//////////////////////////////////////////////////////////////////
//
// HTofRawSimFilter is an HFilter to reduce the number of the
// HTofRawSim data in the catTofRaw category.
// (If HTofRawSim object has LeftCharge==0 && RightCharge==0 &&
// LeftTime==0 && RightTime==0 it is deleted from the category.)
//
//////////////////////////////////////////////////////////////////


Bool_t HTofRawSimFilter :: check(TObject* raw){
  if (((((HTofRawSim*)raw)->getLeftCharge())==0)&&
      ((((HTofRawSim*)raw)->getRightCharge())==0)&&
      ((((HTofRawSim*)raw)->getLeftTime())==0)&&
      ((((HTofRawSim*)raw)->getRightTime())==0)) return kFALSE;
  else return kTRUE;
}
 htofrawsimfilter.cc:1
 htofrawsimfilter.cc:2
 htofrawsimfilter.cc:3
 htofrawsimfilter.cc:4
 htofrawsimfilter.cc:5
 htofrawsimfilter.cc:6
 htofrawsimfilter.cc:7
 htofrawsimfilter.cc:8
 htofrawsimfilter.cc:9
 htofrawsimfilter.cc:10
 htofrawsimfilter.cc:11
 htofrawsimfilter.cc:12
 htofrawsimfilter.cc:13
 htofrawsimfilter.cc:14
 htofrawsimfilter.cc:15
 htofrawsimfilter.cc:16
 htofrawsimfilter.cc:17
 htofrawsimfilter.cc:18
 htofrawsimfilter.cc:19
 htofrawsimfilter.cc:20
 htofrawsimfilter.cc:21
 htofrawsimfilter.cc:22
 htofrawsimfilter.cc:23
 htofrawsimfilter.cc:24
 htofrawsimfilter.cc:25
 htofrawsimfilter.cc:26
 htofrawsimfilter.cc:27
 htofrawsimfilter.cc:28