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 aced0fb..26f685e 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);