]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
new IsBad method to check whether a given ladder is completely dead (or noisy) or...
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Dec 2007 14:47:09 +0000 (14:47 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Dec 2007 14:47:09 +0000 (14:47 +0000)
ITS/AliITSCalibrationSPD.h

index 384e82f8097bd08ea4c754e0c45d3e6506be708e..60834aeacf6b3bdc43ea5c95801cd2742c10bb26 100644 (file)
@@ -81,6 +81,7 @@ class AliITSCalibrationSPD :  public AliITSCalibration {
 
     void   SetBadList(TArrayI badlist) {fBadChannels=badlist;}
     void   SetNrBad(UInt_t nr) {fNrBad=nr;}
+    Bool_t IsBad() const {return (GetNrBad()==256*160);};
 
  protected:
     // static const Double_t fgkDiffCoeffDefault; //default for fDiffCoeff