Ignore:
Timestamp:
05/11/07 16:47:18 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/msignal
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.cc

    r8490 r8498  
    231231
    232232  fBlindPixel->SetExtractionType(fExtractionType);
    233 
     233/*
    234234  for (UInt_t i=0;i<fBlindPixelIdx.GetSize();i++)
    235235  {
     
    246246      }
    247247  }
    248 /*
     248
    249249  const Int_t higainsamples = fRunHeader->GetNumSamplesHiGain();
    250250  const Int_t logainsamples = fRunHeader->GetNumSamplesLoGain();
  • trunk/MagicSoft/Mars/msignal/MExtractPINDiode.cc

    r8367 r8498  
    208208
    209209  fPedMean.Reset();
    210 
     210/*
    211211  const MPedestalPix &ped   = (*fPedestals)[fPINDiodeIdx];
    212212
     
    222222        return kFALSE;
    223223    }
    224  
     224  */
    225225  if (fSlices)
    226226    delete fSlices;
  • trunk/MagicSoft/Mars/msignal/MExtractor.cc

    r8364 r8498  
    115115
    116116const UInt_t  MExtractor::fgSaturationLimit = 245;
    117 const TString MExtractor::fgNamePedestalCam = "MPedestalCam";
    118117const TString MExtractor::fgNameSignalCam   = "MExtractedSignalCam";
    119118const Float_t MExtractor::fgOffsetLoGain    = 1.51;   // 5 ns
     
    127126// - all variables to 0
    128127// - fSaturationLimit to fgSaturationLimit
    129 // - fNamePedestalCam to fgNamePedestalCam
    130128// - fNameSignalCam to fgNameSignalCam
    131129// - fNoiseCalculation to kFALSE
     
    133131MExtractor::MExtractor(const char *name, const char *title)
    134132    : fResolutionPerPheHiGain(0), fResolutionPerPheLoGain(0),
    135     fPedestals(NULL), fSignals(NULL), fRawEvt(NULL), fRunHeader(NULL),
    136     fSignal(NULL),
     133    fSignals(NULL), fRawEvt(NULL), fRunHeader(NULL), fSignal(NULL),
    137134      /*fHiLoLast(0),*/ fNumHiGainSamples(0), fNumLoGainSamples(0)
    138135{
     
    140137    fTitle = title ? title : "Base class for signal extractors";
    141138
    142     SetNamePedestalCam();
    143139    SetNameSignalCam();
    144140    SetOffsetLoGain();
     
    162158//     MRawEvtData
    163159//     MRawRunHeader
    164 //     MPedestalCam
    165160//
    166161Int_t MExtractor::PreProcessStd(MParList *pList)
     
    185180    {
    186181        *fLog << err << AddSerialNumber("MPedestalSubtractedEvt") << " not found... aborting." << endl;
    187         return kFALSE;
    188     }
    189 
    190 
    191     if (fPedestals)
    192         return kTRUE;
    193 
    194     fPedestals = (MPedestalCam*)pList->FindObject(AddSerialNumber(fNamePedestalCam), "MPedestalCam");
    195     if (!fPedestals)
    196     {
    197         *fLog << err << AddSerialNumber(fNamePedestalCam) << " [MPedestalCam] not found... aborting" << endl;
    198182        return kFALSE;
    199183    }
     
    207191//  - MRawEvtData
    208192//  - MRawRunHeader
    209 //  - MPedestalCam
    210193//
    211194// The following output containers are also searched and created if
     
    480463        *fLog << " Num Samples Hi/Lo:  " << Form("%2.1f %2.1f", fNumHiGainSamples, fNumLoGainSamples) << endl;
    481464    }
    482     if (fPedestals)
    483         *fLog << " Pedestals:          " << fPedestals->GetName() << ", " << fPedestals << endl;
    484 }
     465}
  • trunk/MagicSoft/Mars/msignal/MExtractor.h

    r8364 r8498  
    1717class MRawRunHeader;
    1818
    19 class MPedestalCam;
    2019class MPedestalSubtractedEvt;
    2120class MExtractedSignalCam;
     
    3332protected:
    3433  static const UInt_t  fgSaturationLimit;  //! Default for fSaturationLimit (now set to: 254)
    35   static const TString fgNamePedestalCam;  //! "MPedestalCam"
    3634  static const TString fgNameSignalCam;    //! "MExtractedSignalCam"
    3735 
    3836  Float_t fOffsetLoGain;                   // Offset of the low-gain signal w.r.t. the High-Gain slices
    3937
    40   MPedestalCam        *fPedestals;         //! Pedestals of all pixels in the camera
    4138  MExtractedSignalCam *fSignals;           //! Extracted signal of all pixels in the camera
    42                                        
     39
    4340  MRawEvtData         *fRawEvt;            //! Raw event data (time slices)
    4441  MRawRunHeader       *fRunHeader;         //! RunHeader information
    4542
    4643  MPedestalSubtractedEvt *fSignal;         //!
    47                                        
     44
    4845  Byte_t   fHiGainFirst;                   // First FADC slice nr. to extract the High Gain signal
    4946  Byte_t   fHiGainLast;                    // Last FADC slice nr. to extract the High Gain signal
     
    6158  UInt_t   fSaturationLimit;               // Highest FADC slice value until being declared saturated
    6259
    63   TString  fNamePedestalCam;               // Name of the 'MPedestalCam' container
    6460  TString  fNameSignalCam;                 // Name of the 'MExtractedSignalCam' container
    6561
     
    107103  void SetOffsetLoGain    ( const Float_t  f=fgOffsetLoGain          ) { fOffsetLoGain     = f;    }
    108104  void SetSaturationLimit ( const UInt_t lim=fgSaturationLimit       ) { fSaturationLimit  = lim;  }
    109   void SetNamePedestalCam ( const char *name=fgNamePedestalCam.Data()) { fNamePedestalCam  = name; }
    110105  void SetNameSignalCam   ( const char *name=fgNameSignalCam.Data()  ) { fNameSignalCam    = name; }
    111106  void SetNoiseCalculation( const Bool_t   b=kTRUE                   ) { fNoiseCalculation = b;    }
    112 
    113   void SetPedestals (MPedestalCam *pedcam)   { fPedestals = pedcam; }
    114   MPedestalCam *GetPedestals()   { return fPedestals; }
    115107
    116108  // TObject
Note: See TracChangeset for help on using the changeset viewer.