]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
add condition in time to select generic clean drift region
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Oct 2010 11:34:09 +0000 (11:34 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Oct 2010 11:34:09 +0000 (11:34 +0000)
PWG1/TRD/AliTRDclusterResolution.cxx

index aced0fb4fd81af87bc203aee74f2a222bdd4f047..26f685e5866753ff41430d85b9b60e803c6af9c1 100644 (file)
@@ -622,7 +622,8 @@ void AliTRDclusterResolution::UserExec(Option_t *)
     // resolution/pull as a function of pw and log(q)
     // only for dydx = 0, ExB=0
     if(TMath::Abs(fExB) < kAroundZero &&
-       TMath::Abs(dydx) < kAroundZero){
+       TMath::Abs(dydx) < kAroundZero &&
+       t>5 && t<24 ){
       switch(np){
       case 3: // MPV np
         h3 = (TH3S*)arr1->At(0);