Index: trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
===================================================================
--- trunk/MagicSoft/Mars/mjobs/MJPedestal.cc	(revision 5870)
+++ trunk/MagicSoft/Mars/mjobs/MJPedestal.cc	(revision 5871)
@@ -932,27 +932,27 @@
     if (fExtractor)
     {
-        if (!fExtractor->InheritsFrom("MExtractTimeAndCharge"))
+      const Float_t f = 0.5+fExtractor->GetHiGainFirst();
+      const Float_t n = 0.5+fExtractor->GetNumHiGainSamples();
+      pedcalc.SetExtractWindow((Int_t)f, (Int_t)n);
+      pedlogain.SetExtractWindow((Int_t)(15+f), (Int_t)n);
+            
+      if (!fExtractor->InheritsFrom("MExtractTimeAndCharge"))
         {
-            const Float_t f = 0.5+fExtractor->GetHiGainFirst();
-            const Float_t n = 0.5+fExtractor->GetNumHiGainSamples();
-            pedcalc.SetExtractWindow((Int_t)f, (Int_t)n);
-            pedlogain.SetExtractWindow((Int_t)(15+f), (Int_t)n);
-
-            if (fExtractionType!=kFundamental)
+          if (fExtractionType!=kFundamental)
             {
-                *fLog << inf;
-                *fLog << "Signal extractor doesn't inherit from MExtractTimeAndCharge..." << endl;
-                *fLog << " --> falling back to fundamental pedestal extraction." << endl;
-                fExtractionType=kFundamental;
+              *fLog << inf;
+              *fLog << "Signal extractor doesn't inherit from MExtractTimeAndCharge..." << endl;
+              *fLog << " --> falling back to fundamental pedestal extraction." << endl;
+              fExtractionType=kFundamental;
             }
         }
-
-        if (fExtractionType!=kFundamental)
+      
+      if (fExtractionType!=kFundamental)
         {
-            pedcalc.SetRandomCalculation(fExtractionType==kWithExtractorRndm);
-            pedlogain.SetRandomCalculation(fExtractionType==kWithExtractorRndm);
-
-            pedcalc.SetExtractor((MExtractTimeAndCharge*)fExtractor);
-            pedlogain.SetExtractor((MExtractTimeAndCharge*)fExtractor);
+          pedcalc.SetRandomCalculation(fExtractionType==kWithExtractorRndm);
+          pedlogain.SetRandomCalculation(fExtractionType==kWithExtractorRndm);
+          
+          pedcalc.SetExtractor((MExtractTimeAndCharge*)fExtractor);
+          pedlogain.SetExtractor((MExtractTimeAndCharge*)fExtractor);
         }
     }
