Skip to content

Commit

Permalink
Merge pull request alisw#200 from fprino/master
Browse files Browse the repository at this point in the history
Switch off strips of OCDB/BadChannelsSSD in the cluster finder
  • Loading branch information
alibuild authored May 22, 2017
2 parents dc4c2ca + 173cfb2 commit 837871f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ITS/ITSbase/AliITSClusterFinderV2SSD.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ void AliITSClusterFinderV2SSD::FindClustersSSD(AliITSRawStreamSSD* input, UInt_t
for( int istr = 0; istr<n+1; istr++ ){

bool stripOK = 1;
Bool_t isBad = 0;
Int_t strip=0, rwID = 0;
Float_t signal=0.0, noise=0.0, gain=0.0;

Expand All @@ -575,7 +576,9 @@ void AliITSClusterFinderV2SSD::FindClustersSSD(AliITSRawStreamSSD* input, UInt_t
if( cal ){
noise = side ?cal->GetNoiseN(strip) :cal->GetNoiseP(strip);
gain = side ?cal->GetGainN(strip) :cal->GetGainP(strip);
isBad = side ?cal->IsNChannelBad(strip) : cal->IsPChannelBad(strip);
stripOK = ( noise>=1. && signal>=3.0*noise
&& !isBad
//&& !cal->IsPChannelBad(strip)
);
}
Expand Down

0 comments on commit 837871f

Please sign in to comment.