/[PAMELA software]/PamCut/TofCuts/TofDedxHCut/TofDedxHCut.cpp
ViewVC logotype

Diff of /PamCut/TofCuts/TofDedxHCut/TofDedxHCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-fi, Tue Apr 5 17:28:49 2011 UTC revision 1.2 by pam-fi, Wed Apr 6 15:43:12 2011 UTC
# Line 78  int TofDedxHCut::Check(PamLevel2 *event) Line 78  int TofDedxHCut::Check(PamLevel2 *event)
78    
79    dEdx /= nLayers;    dEdx /= nLayers;
80    
81    if (dEdx < 1 / (_p[0] * beta + _p[1]) + _p[2] + _p[3]*beta)    if (dEdx < _p[0]/ (_p[1] * beta + _p[2]) +  _p[3] + _p[4] * beta)
82      return 0;      return 0;
83    
84    if (dEdx > 1 / (_p[4] * beta + _p[5]) + _p[6] + _p[7]*beta)    if (dEdx > _p[5] / (_p[6] * beta + _p[7]) + _p[8] + _p[9] * beta)
85      return 0;      return 0;
86    
87    return CUTOK;    return CUTOK;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23