15  TrackTpcToFThresholdlessCut::TrackTpcToFThresholdlessCut(TrackTpcCut* tpc, TrackToFMass2Cut* tof) : TrackTpcToFCut(tpc, tof) {}
 
   17  Bool_t TrackTpcToFThresholdlessCut::Pass(
Track* tr) {
 
   25    SetValue(track_tpc->
GetDeDx(), DeDx());
 
   27    SetValue(track_tpc->
GetNHits(), TpcHits());
 
   28    Bool_t require_tof = kFALSE;
 
   29    for (
int i = 0; i < 4; i++) {
 
   30      Int_t par      = i + PionSigma();
 
   31      Double_t sigma = GetValue(par);
 
   32      if (par == fTpc->GetActiveSigma()) {  
 
   33        if (sigma < GetMin(par)) 
return ForcedUpdate(kFALSE);
 
   34        if (sigma > GetMax(par)) 
return ForcedUpdate(kFALSE);
 
   36        if (sigma > GetMin(par) && sigma < GetMax(par))  
 
   40    Double_t m2 = fToF->GetValue(0);
 
   42      if (m2 == 0.0 || m2 < -1) 
return ForcedUpdate(kFALSE);  
 
   44    if (m2 == 0.0 || m2 < -1) 
return ForcedUpdate(kTRUE);  
 
   45    if (m2 < fToF->GetMin()) 
return ForcedUpdate(kFALSE);
 
   46    if (m2 > fToF->GetMax()) 
return ForcedUpdate(kFALSE);
 
   47    return ForcedUpdate(kTRUE);