skip crashed PMT in cosmic reconstruction
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Mar 2008 13:03:42 +0000 (13:03 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Mar 2008 13:03:42 +0000 (13:03 +0000)
T0/AliT0Reconstructor.cxx

index 388d388..0d7d7c6 100644 (file)
@@ -290,6 +290,7 @@ void AliT0Reconstructor::Reconstruct(AliRawReader* rawReader, TTree*recTree) con
        AliDebug(1,Form(" QTC %f mv,  QTC  %f MIPS time in chann %f time %f ",adc[ipmt], adc[ipmt]/50.,time[ipmt], time[ipmt]*channelWidth));
       }
       if(option == "cosmic") {
+       if(ipmt == 15) continue; //skip crashed PMT
        Float_t qt0 = Float_t(chargeQT0->At(ipmt));
        Float_t qt1 = Float_t(chargeQT1->At(ipmt));
        if((qt0-qt1)>0)  adc[ipmt] = qt0-qt1;