Changeset 4938


Ignore:
Timestamp:
09/10/04 20:28:41 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhcalib
Files:
2 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/HCalibLinkDef.h

    r4930 r4938  
    1212#pragma link C++ class MHCalibrationChargeBlindPix+;
    1313#pragma link C++ class MHCalibrationChargePINDiode+;
    14 #pragma link C++ class MHCalibrationRelTimePix+;
    1514#pragma link C++ class MHCalibrationRelTimeCam+;
    1615#pragma link C++ class MHCalibrationTestCam+;
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc

    r4929 r4938  
    327327        pix.SetLast (fgChargeHiGainLast);
    328328
    329         pix.GetHGausHist()->SetName ("HCalibrationChargeHiGainPix");
    330         pix.GetHGausHist()->SetTitle("Summed Hi Gain FADC slices Pixel "); 
     329        pix.GetHGausHist()->SetName ("HChargeHiGainPix");
     330        pix.GetHGausHist()->SetTitle("Signals High Gain Pixel "); 
    331331       
    332332        pix.GetHAbsTime()->SetName ("HAbsTimeHiGainPix");
    333         pix.GetHAbsTime()->SetTitle("Absolute Arrival Times Hi Gain Pixel "); 
     333        pix.GetHAbsTime()->SetTitle("Absolute Arrival Times High Gain Pixel "); 
    334334
    335335        InitHists((*this)[i],(*fBadPixels)[i],i);
     
    354354          pix.SetLast (fgChargeLoGainLast);
    355355         
    356           pix.GetHGausHist()->SetName ("HCalibrationChargeLoGainPix");
    357           pix.GetHGausHist()->SetTitle("Summed Lo Gain FADC slices Pixel "); 
     356          pix.GetHGausHist()->SetName ("HChargeLoGainPix");
     357          pix.GetHGausHist()->SetTitle("Signals Low Gain Pixel "); 
    358358       
    359359          pix.GetHAbsTime()->SetName ("HAbsTimeLoGainPix");
    360           pix.GetHAbsTime()->SetTitle("Absolute Arrival Times Lo Gain Pixel "); 
     360          pix.GetHAbsTime()->SetTitle("Absolute Arrival Times Low Gain Pixel "); 
    361361
    362362          //
     
    396396        pix.SetLast (fgChargeHiGainLast);
    397397
    398         pix.GetHGausHist()->SetName ("HCalibrationChargeHiGainAreaIdx");
    399         pix.GetHGausHist()->SetTitle("Signal averaged on event-by-event basis High Gain Area Idx ");
     398        pix.GetHGausHist()->SetName ("HChargeHiGainAreaIdx");
     399        pix.GetHGausHist()->SetTitle("Signals averaged on event-by-event basis High Gain Area Idx ");
    400400       
    401401        pix.GetHAbsTime()->SetName ("HAbsTimeHiGainAreaIdx");
     
    404404        if (fGeom->InheritsFrom("MGeomCamMagic"))
    405405          {
    406             pix.GetHGausHist()->SetTitle(Form("%s%s%s","Signal averaged on event-by-event basis ",
     406            pix.GetHGausHist()->SetTitle(Form("%s%s%s","Signals averaged on event-by-event basis ",
    407407                                               j==0 ? "Inner Pixels " : "Outer Pixels ","High Gain Runs: "));
    408408            pix.InitBins();
     
    437437
    438438        pix.GetHGausHist()->SetName ("HChargeLoGainAreaIdx");
    439         pix.GetHGausHist()->SetTitle("Signal averaged on event-by-event basis Low Gain Area Idx ");
     439        pix.GetHGausHist()->SetTitle("Signals averaged on event-by-event basis Low Gain Area Idx ");
    440440       
    441441        pix.GetHAbsTime()->SetName ("HAbsTimeLoGainAreaIdx");
    442         pix.GetHAbsTime()->SetTitle("Absolute Arrival Times average Lo Gain Area Idx "); 
     442        pix.GetHAbsTime()->SetTitle("Absolute Arrival Times average Low Gain Area Idx "); 
    443443
    444444        //
     
    459459        if (fGeom->InheritsFrom("MGeomCamMagic"))
    460460          {
    461             pix.GetHGausHist()->SetTitle(Form("%s%s%s","Signal averaged on event-by-event basis ",
     461            pix.GetHGausHist()->SetTitle(Form("%s%s%s","Signals averaged on event-by-event basis ",
    462462                                               j==0 ? "Inner Pixels " : "Outer Pixels ","Low Gain Runs: "));
    463463            pix.InitBins();
     
    490490          pix.SetLast (fgChargeHiGainLast);
    491491
    492           pix.GetHGausHist()->SetName ("HCalibrationChargeHiGainPix");
     492          pix.GetHGausHist()->SetName ("HChargeHiGainPix");
    493493          pix.GetHGausHist()->SetTitle("Signals averaged on event-by-event basis HiGain Sector "); 
    494494       
     
    519519          pix.SetLast (fgChargeLoGainLast);
    520520
    521           pix.GetHGausHist()->SetName ("HCalibrationChargeLoGainPix");
     521          pix.GetHGausHist()->SetName ("HChargeLoGainPix");
    522522          pix.GetHGausHist()->SetTitle("Signals averaged on event-by-event basis LoGain Sector "); 
    523523       
     
    713713        hipix.FillHist(fSumhiarea[j]/npix);
    714714     
    715       hipix.SetSaturated    (fSathiarea [j]/npix);
     715      hipix.SetSaturated    ((Float_t)fSathiarea [j]/npix > 0.5 ? 1 : 0);
    716716      hipix.FillAbsTime     (fTimehiarea[j]/npix);
    717717
     
    723723          else
    724724            lopix.FillHist(fSumloarea [j]/npix);
    725           lopix.SetSaturated    (fSatloarea [j]/npix);
     725          lopix.SetSaturated    ((Float_t)fSatloarea [j]/npix > 0.5 ? 1 : 0);
    726726          lopix.FillAbsTime     (fTimeloarea[j]/npix);
    727727        }
     
    743743        hipix.FillHist(fSumhisector [j]/npix);
    744744
    745       hipix.SetSaturated    (fSathisector [j]/npix);
     745      hipix.SetSaturated    ((Float_t)fSathisector[j]/npix > 0.5 ? 1 : 0);
    746746      hipix.FillAbsTime     (fTimehisector[j]/npix);
    747747
     
    755755            lopix.FillHist(fSumlosector [j]/npix);
    756756           
    757           lopix.SetSaturated    (fSatlosector [j]/npix);
     757          lopix.SetSaturated    ((Float_t)fSatlosector[j]/npix > 0.5 ? 1 : 0);
    758758          lopix.FillAbsTime     (fTimelosector[j]/npix);
    759759        }
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePix.cc

    r4929 r4938  
    116116  Clear();
    117117 
     118}
     119
     120// --------------------------------------------------------------------------
     121//
     122// Use the MHGausEvents::Clone function and clone additionally the rest of the
     123// data members.
     124//
     125TObject *MHCalibrationChargePix::Clone(const char *name) const
     126{
     127
     128  MHCalibrationChargePix &pix = (MHCalibrationChargePix&)*MHCalibrationPix::Clone(name);
     129  //
     130  // Copy data members
     131  //
     132  pix.fHAbsTime = fHAbsTime;
     133
     134  return &pix;
    118135}
    119136
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc

    r4929 r4938  
    2727//                                                                       
    2828// Fills the extracted relative arrival times of MArrivalTimeCam into
    29 // the MHCalibrationPix-classes MHCalibrationRelTimePix for every:
     29// the MHCalibrationPix-classes MHCalibrationPix for every:
    3030//
    3131// - Pixel, stored in the TObjArray's MHCalibrationCam::fHiGainArray 
     
    8686/////////////////////////////////////////////////////////////////////////////
    8787#include "MHCalibrationRelTimeCam.h"
    88 #include "MHCalibrationRelTimePix.h"
    89 
    9088#include "MHCalibrationPix.h"
    9189
     
    116114const Float_t MHCalibrationRelTimeCam::fgNumHiGainSaturationLimit = 0.25;
    117115const UInt_t  MHCalibrationRelTimeCam::fgReferencePixel = 1;
     116const Int_t   MHCalibrationRelTimeCam::fgRelTimeNbins    = 900;
     117const Axis_t  MHCalibrationRelTimeCam::fgRelTimeFirst    = -5.;
     118const Axis_t  MHCalibrationRelTimeCam::fgRelTimeLast     =  5.;
    118119// --------------------------------------------------------------------------
    119120//
     
    122123// Sets:
    123124// - fReferencePixel to fgReferencePixel
     125// - fRelTimeNbins to fgRelTimeNbins
     126// - fRelTimeFirst to fgRelTimeFirst
     127// - fRelTimeLast  to fgRelTimeLast
    124128//
    125129MHCalibrationRelTimeCam::MHCalibrationRelTimeCam(const char *name, const char *title)
     
    130134
    131135  SetNumHiGainSaturationLimit(fgNumHiGainSaturationLimit);
     136
    132137  SetReferencePixel();
     138
     139  SetRelTimeNbins();
     140  SetRelTimeFirst();
     141  SetRelTimeLast ();
    133142}
    134143
     
    200209      for (Int_t i=0; i<npixels; i++)
    201210      {
    202           (*fHiGainArray)[i] = new MHCalibrationRelTimePix("MHCalibrationRelTimePixHiGain",
    203                                                           "Rel. Arr. Time Hi-Gain Pixel ");
    204           InitHists((*this)[i],(*fBadPixels)[i],i);
     211          (*fHiGainArray)[i] = new MHCalibrationPix("RelTimePixHiGain",
     212                                                    "Rel. Arr. Time High Gain Pixel ");
     213
     214          MHCalibrationPix &pix = (*this)[i];         
     215          pix.SetNbins(fRelTimeNbins);
     216          pix.SetFirst(fRelTimeFirst);
     217          pix.SetLast (fRelTimeLast);
     218
     219          pix.GetHGausHist()->SetName ("HRelTimeHiGainPix");
     220          pix.GetHGausHist()->SetTitle("Rel. Times High Gain Pixel "); 
     221
     222          InitHists(pix,(*fBadPixels)[i],i);
    205223      }
    206224  }
     
    211229      for (Int_t i=0; i<npixels; i++)
    212230      {
    213           (*fLoGainArray)[i] = new MHCalibrationRelTimePix("MHCalibrationRelTimePixLoGain",
    214                                                           "Rel. Arr. Time Lo-Gain Pixel ");
     231          (*fLoGainArray)[i] = new MHCalibrationPix("RelTimePixLoGain",
     232                                                    "Rel. Arr. Time Low Gain Pixel ");
     233          MHCalibrationPix &pix = (*this)(i);         
     234
     235          pix.SetNbins(fRelTimeNbins);
     236          pix.SetFirst(fRelTimeFirst);
     237          pix.SetLast (fRelTimeLast);
     238
     239          pix.GetHGausHist()->SetName ("HRelTimeLoGainPix");
     240          pix.GetHGausHist()->SetTitle("Rel. Times Low Gain Pixel "); 
     241
    215242          InitHists((*this)(i),(*fBadPixels)[i],i);
    216243      }
     
    225252      {
    226253        (*fAverageHiGainAreas)[j] =
    227           new MHCalibrationRelTimePix("RelTimeAverageHiGainArea",
    228                                       "Average Rel. Arr. Times Hi-Gain Area Idx ");
    229 
    230         MHCalibrationRelTimePix &hist = (MHCalibrationRelTimePix&)GetAverageHiGainArea(j);
    231 
    232         hist.SetNbins(fAverageNbins);
    233         hist.GetHGausHist()->SetTitle("Rel. Arr. Times average HiGain Area Idx ");
     254          new MHCalibrationPix("RelTimeAverageHiGainArea",
     255                                      "Average Rel. Arr. Times High Gain Area Idx ");
     256       
     257        MHCalibrationPix &pix = GetAverageHiGainArea(j);
     258       
     259        pix.SetNbins(fRelTimeNbins*3);
     260        pix.SetFirst(fRelTimeFirst);
     261        pix.SetLast (fRelTimeLast);
     262       
     263        pix.GetHGausHist()->SetName ("HRelTimeHiGainPix");
     264        pix.GetHGausHist()->SetTitle("Rel. Times average High Gain Area Idx "); 
    234265
    235266        if (fGeom->InheritsFrom("MGeomCamMagic"))
    236267          {
    237             hist.GetHGausHist()->SetTitle(Form("%s%s%s","Signal averaged on event-by-event basis ",
     268            pix.GetHGausHist()->SetTitle(Form("%s%s%s","Rel. Times averaged on event-by-event basis ",
    238269                                               j==0 ? "Inner Pixels " : "Outer Pixels ","High Gain Runs: "));
    239             hist.InitBins();
    240             hist.SetEventFrequency(fPulserFrequency);
     270            pix.InitBins();
     271            pix.SetEventFrequency(fPulserFrequency);
    241272          }
    242273        else
    243274          {
    244             hist.GetHGausHist()->SetTitle("Signal averaged on event-by-event basis High Gain Area Idx ");
    245             InitHists(hist,fIntensCam ? fIntensCam->GetAverageBadArea(j) : fCam->GetAverageBadArea(j),j);
     275            pix.GetHGausHist()->SetTitle("Signal averaged on event-by-event basis High Gain Area Idx ");
     276            InitHists(pix,fIntensCam ? fIntensCam->GetAverageBadArea(j) : fCam->GetAverageBadArea(j),j);
    246277          }
    247278      }
     
    255286      {
    256287        (*fAverageLoGainAreas)[j] =
    257           new MHCalibrationRelTimePix("RelTimeAverageAreaLoGain",
    258                                       "Average Rel. Arr. Times Lo-Gain Area Idx ");
    259 
    260         MHCalibrationRelTimePix &hist = (MHCalibrationRelTimePix&)GetAverageLoGainArea(j);
    261         hist.SetNbins(fAverageNbins);
     288          new MHCalibrationPix("RelTimeAverageAreaLoGain",
     289                                      "Average Rel. Arr. Times Low Gain Area Idx ");
     290
     291        MHCalibrationPix &pix = GetAverageLoGainArea(j);
     292
     293        pix.SetNbins(fRelTimeNbins*3);
     294        pix.SetFirst(fRelTimeFirst);
     295        pix.SetLast (fRelTimeLast);
     296       
     297        pix.GetHGausHist()->SetName ("HRelTimeLoGainPix");
     298        pix.GetHGausHist()->SetTitle("Rel. Times average Low Gain Area Idx "); 
    262299
    263300        if (fGeom->InheritsFrom("MGeomCamMagic"))
    264301          {
    265             hist.GetHGausHist()->SetTitle(Form("%s%s%s","Rel. Arr. Times averaged on event-by-event basis ",
     302            pix.GetHGausHist()->SetTitle(Form("%s%s%s","Rel. Times averaged on event-by-event basis ",
    266303                                               j==0 ? "Inner Pixels " : "Outer Pixels ","Low Gain Runs: "));
    267             hist.InitBins();
    268             hist.SetEventFrequency(fPulserFrequency);
     304            pix.InitBins();
     305            pix.SetEventFrequency(fPulserFrequency);
    269306          }
    270307        else
    271308          {
    272             hist.GetHGausHist()->SetTitle("Rel. Arr. Times averaged on event-by-event basis Low Gain Area Idx ");
    273             InitHists(hist,fIntensCam ? fIntensCam->GetAverageBadArea(j) : fCam->GetAverageBadArea(j),j);
     309            pix.GetHGausHist()->SetTitle("Rel. Times averaged on event-by-event basis Low Gain Area Idx ");
     310            InitHists(pix,fIntensCam ? fIntensCam->GetAverageBadArea(j) : fCam->GetAverageBadArea(j),j);
    274311          }
    275312      }
     
    283320        {
    284321          (*fAverageHiGainSectors)[j] =
    285             new MHCalibrationRelTimePix("RelTimeAverageSectorHiGain",
    286                                         "Average HiGain Rel. Arr. Times Sector ");
     322            new MHCalibrationPix("RelTimeAverageSectorHiGain",
     323                                        "Average Rel. Arr. Times High Gain Sector ");
    287324         
    288           MHCalibrationRelTimePix &hist = (MHCalibrationRelTimePix&)GetAverageHiGainSector(j);
    289 
    290           hist.GetHGausHist()->SetTitle("Rel. Arr. Times averaged on event-by-event basis HiGain Sector ");
    291           hist.SetNbins(fAverageNbins);
     325          MHCalibrationPix &pix = GetAverageHiGainSector(j);
     326
     327          pix.SetNbins(fRelTimeNbins*3);
     328          pix.SetFirst(fRelTimeFirst);
     329          pix.SetLast (fRelTimeLast);
    292330         
    293           InitHists(hist,fIntensCam ? fIntensCam->GetAverageBadSector(j) : fCam->GetAverageBadSector(j),j);
     331          pix.GetHGausHist()->SetName ("HRelTimeHiGainPix");
     332          pix.GetHGausHist()->SetTitle("Rel. Times average High Gain Sector "); 
     333
     334          InitHists(pix,fIntensCam ? fIntensCam->GetAverageBadSector(j) : fCam->GetAverageBadSector(j),j);
    294335      }
    295336  }
     
    302343        {
    303344          (*fAverageLoGainSectors)[j] =
    304             new MHCalibrationRelTimePix("RelTimeAverageSectorLoGain",
    305                                         "Average LoGain Rel. Arr. Times Sector ");
     345            new MHCalibrationPix("RelTimeAverageSectorLoGain",
     346                                        "Average Rel. Arr. Times Low Gain Sector ");
    306347         
    307           MHCalibrationRelTimePix &hist = (MHCalibrationRelTimePix&)GetAverageLoGainSector(j);
    308 
    309           hist.GetHGausHist()->SetTitle("Rel. Arr. Times averaged on event-by-event basis LoGain Sector ");
    310           hist.SetNbins(fAverageNbins);
     348          MHCalibrationPix &pix = GetAverageLoGainSector(j);
     349
     350          pix.SetNbins(fRelTimeNbins*3);
     351          pix.SetFirst(fRelTimeFirst);
     352          pix.SetLast (fRelTimeLast);
    311353         
    312           InitHists(hist,fIntensCam ? fIntensCam->GetAverageBadSector(j) : fCam->GetAverageBadSector(j),j);
     354          pix.GetHGausHist()->SetName ("HRelTimeLoGainPix");
     355          pix.GetHGausHist()->SetTitle("Rel. Times average Low Gain Sector "); 
     356
     357          InitHists(pix,fIntensCam ? fIntensCam->GetAverageBadSector(j) : fCam->GetAverageBadSector(j),j);
    313358        }
    314359    }
     
    443488    {
    444489     
    445       MHCalibrationRelTimePix &histhi = (MHCalibrationRelTimePix&)(*this)[i];
     490      MHCalibrationPix &histhi = (*this)[i];
    446491     
    447492      if (histhi.IsExcluded())
    448493        continue;
    449494     
    450       MCalibrationRelTimePix  &pix    = fIntensCam
     495      MCalibrationRelTimePix &pix = fIntensCam
    451496        ? (MCalibrationRelTimePix&)(*fIntensCam)[i]
    452497        : (MCalibrationRelTimePix&)(*fCam)[i];
     
    483528    {
    484529     
    485       MHCalibrationRelTimePix &histhi = (MHCalibrationRelTimePix&)GetAverageHiGainArea(j);     
     530      MHCalibrationPix &histhi = GetAverageHiGainArea(j);     
    486531
    487532      if (histhi.GetSaturated() > fNumHiGainSaturationLimit*histhi.GetHGausHist()->GetEntries())
    488533        {
    489           MCalibrationRelTimePix  &pix    = fIntensCam 
     534          MCalibrationRelTimePix  &pix    = fIntensCam
    490535            ? (MCalibrationRelTimePix&)fIntensCam->GetAverageArea(j)
    491536            : (MCalibrationRelTimePix&)fCam->GetAverageArea(j);
     
    502547    {
    503548     
    504       MHCalibrationRelTimePix &histhi = (MHCalibrationRelTimePix&)GetAverageHiGainSector(j);     
    505       MCalibrationRelTimePix  &pix    = fIntensCam
     549      MHCalibrationPix &histhi = GetAverageHiGainSector(j);     
     550      MCalibrationRelTimePix  &pix = fIntensCam
    506551        ? (MCalibrationRelTimePix&)fIntensCam->GetAverageSector(j) 
    507552        : (MCalibrationRelTimePix&)fCam->GetAverageSector(j);
     
    561606// ==============
    562607//
    563 // 0: Fitted Mean Relative Arrival Time in FADC slices  (MHGausEvents::GetMean()*MHCalibrationRelTimePix::GetFADCSliceWidth())
    564 // 1: Error Mean Relative Arrival Time in FADC slices   (MHGausEvents::GetMeanErr()*MHCalibrationRelTimePix::GetFADCSliceWidth())
    565 // 2: Sigma fitted Relative Arrival Time in FADC slices (MHGausEvents::GetSigma()*MHCalibrationRelTimePix::GetFADCSliceWidth())
    566 // 3: Error Sigma Relative Arrival Time in FADC slices  (MHGausEvents::GetSigmaErr()*MHCalibrationRelTimePix::GetFADCSliceWidth())
     608// 0: Fitted Mean Relative Arrival Time in FADC slices  (MHGausEvents::GetMean()
     609// 1: Error Mean Relative Arrival Time in FADC slices   (MHGausEvents::GetMeanErr()
     610// 2: Sigma fitted Relative Arrival Time in FADC slices (MHGausEvents::GetSigma()
     611// 3: Error Sigma Relative Arrival Time in FADC slices  (MHGausEvents::GetSigmaErr()
    567612//
    568613// Useful variables derived from the fit results:
     
    583628    return kFALSE;
    584629
    585   const MHCalibrationRelTimePix &pix = (MHCalibrationRelTimePix&)(*this)[idx];
     630  const MHCalibrationPix &pix = (*this)[idx];
    586631
    587632  switch (type)
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.h

    r4929 r4938  
    2121
    2222  static const Float_t fgNumHiGainSaturationLimit;   //! The default for fNumHiGainSaturationLimit (now at: 0.25)
    23   static const UInt_t  fgReferencePixel;             //! Default for fReferencePixel (now set to: 1)
     23  static const UInt_t  fgReferencePixel;             //! Default for fReferencePixel   (now set to: 1)
     24  static const Int_t   fgRelTimeNbins;               //! Default number of bins        (now set to: 900   )
     25  static const Axis_t  fgRelTimeFirst;               //! Default lower histogram limit (now set to: -13.5 )
     26  static const Axis_t  fgRelTimeLast;                //! Default upper histogram limit (now set to:  13.5 )
    2427
    25   MArrayD fSumareahi  ;                             //!
    26   MArrayD fSumarealo  ;                             //!
    27   MArrayD fSumsectorhi;                             //!
    28   MArrayD fSumsectorlo;                             //!
    29   MArrayI fNumareahi  ;                             //!
    30   MArrayI fNumarealo  ;                             //!
    31   MArrayI fNumsectorhi;                             //!
    32   MArrayI fNumsectorlo;                             //!
     28  MArrayD fSumareahi  ;               //!
     29  MArrayD fSumarealo  ;               //!
     30  MArrayD fSumsectorhi;               //!
     31  MArrayD fSumsectorlo;               //!
     32  MArrayI fNumareahi  ;               //!
     33  MArrayI fNumarealo  ;               //!
     34  MArrayI fNumsectorhi;               //!
     35  MArrayI fNumsectorlo;               //!
    3336
    34   UInt_t fReferencePixel;                           //  The reference pixel for rel. times
     37  UInt_t fReferencePixel;             // The reference pixel for rel. times
     38  Int_t  fRelTimeNbins;               // Number of bins        (now set to: 900   )
     39  Axis_t fRelTimeFirst;               // Lower histogram limit (now set to: -13.5 )
     40  Axis_t fRelTimeLast;                // Upper histogram limit (now set to:  13.5 )
    3541
    3642  Bool_t ReInitHists(MParList *pList);
    3743  Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
    3844  Bool_t FinalizeHists();
    39   void    FinalizeBadPixels();
     45  void   FinalizeBadPixels();
    4046 
    4147public:
     
    4450  ~MHCalibrationRelTimeCam() {}
    4551
    46   UInt_t GetReferencePixel() const   { return fReferencePixel; }
    47   void   SetReferencePixel(const UInt_t i=fgReferencePixel)   {  fReferencePixel = i; }
    48  
    49  
     52  UInt_t GetReferencePixel() const { return fReferencePixel; }
     53
     54  // Setters
     55  void  SetReferencePixel( const UInt_t i=fgReferencePixel) { fReferencePixel = i; }
     56  void  SetRelTimeNbins  ( const Int_t  i=fgRelTimeNbins  ) { fRelTimeNbins   = i; }
     57  void  SetRelTimeFirst  ( const Axis_t f=fgRelTimeFirst  ) { fRelTimeFirst   = f; }
     58  void  SetRelTimeLast   ( const Axis_t f=fgRelTimeLast   ) { fRelTimeLast    = f; } 
     59
    5060  Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
    5161  void DrawPixelContent(Int_t idx) const;
  • trunk/MagicSoft/Mars/mhcalib/Makefile

    r4932 r4938  
    4040           MHCalibrationChargePINDiode.cc \
    4141           MHCalibrationRelTimeCam.cc \
    42            MHCalibrationRelTimePix.cc \
    4342           MHCalibrationTestCam.cc \
    4443           MHCalibrationTestPix.cc  \
Note: See TracChangeset for help on using the changeset viewer.