using namespace std;
#include "htofinocalsimfilter.h"
#include "htofinocalsim.h"
#include <fstream>
#include <iomanip>

ClassImp(HTofinoCalSimFilter)

// adapted from HTofCalSimFilter

//_HADES_CLASS_DESCRIPTION 
//////////////////////////////////////////////////////////////////
//
// HTofinoCalSimFilter is a HFilter to reduce the number of the
// HTofinoCalSim data in the catTofinocal category.
// (If HTofinoCalSim object has Charge==0 && Time==0
// it is deleted from the category.)
//
//////////////////////////////////////////////////////////////////


Bool_t HTofinoCalSimFilter :: check(TObject* cal){
  if ( ((((HTofinoCalSim*)cal)->getTime())==0) &&
       ((((HTofinoCalSim*)cal)->getCharge())==0) ){
    return kFALSE;
  } else {
    return kTRUE;
  }
}

Last change: Sat May 22 13:16:36 2010
Last generated: 2010-05-22 13:16

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.