#include #include #include #include using namespace RAT; void NHitCutProc::SetI( const std::string& param, const int value ) { if( param == "nhit" ){ if( value >= 0 ) fMinNHits = value; else throw ParamInvalid( param, "nhit value must be >= 0" ); } else if( param == "clean") { if (value != 0) { fCleanHits = true; } else { fCleanHits = false; } } else if( param == "intime") { if (value != 0) { fInTimeHits = true; info << "WARNING: Setting to cut on intime100 NHits, make sure you have run the triggerEfficiency processor on this data."<= fMinNHits ) return Processor::OKTRUE; else return Processor::OKFALSE; }