Ignore:
Timestamp:
08/12/04 08:16:56 (20 years ago)
Author:
hbartko
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/msignal
Files:
4 edited

Legend:

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

    r4064 r4586  
    8383//
    8484MExtractTime::MExtractTime(const char *name, const char *title)
    85     : fArrTime(NULL)
     85  : fArrTime(NULL), fNamePedContainer("MPedestalCam")
    8686{
    8787
     
    129129 
    130130
    131   fPedestals = (MPedestalCam*)pList->FindObject(AddSerialNumber("MPedestalCam"));
     131  fPedestals = (MPedestalCam*)pList->FindObject(fNamePedContainer, AddSerialNumber("MPedestalCam"));
    132132  if (!fPedestals)
    133133    {
  • trunk/MagicSoft/Mars/msignal/MExtractTime.h

    r4273 r4586  
    1818
    1919  MArrivalTimeCam *fArrTime;            // Container with the photons arrival times
     20  TString fNamePedContainer; // name of the 'MPedestalCam' container
    2021 
     22
    2123  virtual Int_t PreProcess(MParList *pList);
    2224  virtual Bool_t ReInit(MParList *pList);
     
    3335
    3436  void SetOffsetLoGain( const Float_t f=fgOffsetLoGain) { fOffsetLoGain = f; }
     37  void SetNamePedContainer(const char *name)    { fNamePedContainer = name; }
     38
    3539 
    3640  ClassDef(MExtractTime, 0)   // Arrival Time Extractor Base Class
  • trunk/MagicSoft/Mars/msignal/MExtractor.cc

    r4538 r4586  
    9191    : fPedestals(NULL), fSignals(NULL), fRawEvt(NULL), fRunHeader(NULL),
    9292      fHiLoLast(0), fNumHiGainSamples(0.), fNumLoGainSamples(0.),
    93       fSaturationLimit(fgSaturationLimit)
     93      fSaturationLimit(fgSaturationLimit), fNamePedContainer("MPedestalCam")
    9494{
    9595    fName  = name  ? name  : "MExtractor";
     
    143143        return kFALSE;
    144144
    145     fPedestals = (MPedestalCam*)pList->FindObject(AddSerialNumber("MPedestalCam"));
     145    fPedestals = (MPedestalCam*)pList->FindObject(fNamePedContainer, AddSerialNumber("MPedestalCam"));
    146146    if (!fPedestals)
    147147    {
  • trunk/MagicSoft/Mars/msignal/MExtractor.h

    r4368 r4586  
    4646
    4747    Byte_t  fSaturationLimit;
     48    TString fNamePedContainer; // name of the 'MPedestalCam' container
    4849
    4950    virtual void FindSignalHiGain(Byte_t *firstused, Byte_t *lowgain, Float_t &sum, Byte_t &sat) const { }
     
    6869    virtual void SetRange  (Byte_t hifirst=0, Byte_t hilast=0, Byte_t lofirst=0, Byte_t lolast=0);
    6970    void SetSaturationLimit(Byte_t lim=fgSaturationLimit) { fSaturationLimit = lim; }
     71    void SetNamePedContainer(const char *name)    { fNamePedContainer = name; }
    7072
    7173    ClassDef(MExtractor, 0) // Signal Extractor Base Class
Note: See TracChangeset for help on using the changeset viewer.