Changeset 2394 for trunk/MagicSoft


Ignore:
Timestamp:
10/17/03 21:09:02 (21 years ago)
Author:
blanch
Message:
*** empty log message ***
Location:
trunk/MagicSoft
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgeom/MGeomMirror.cc

    r2173 r2394  
    105105void MGeomMirror::SetMirrorDeviations(Float_t dev_x, Float_t dev_y){
    106106    fDeviationX=dev_x;  // deviation in x [cm]
    107     fDeviationY=dev_x;  // deviation in y [cm]
     107    fDeviationY=dev_y;  // deviation in y [cm]
    108108                     // of the spot of a single mirror on the camera plane
    109109}
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcFadcHeader.cxx

    r2283 r2394  
    3737  for(i=0;i<MFADC_CHANNELS;i++){
    3838    fPedesMean[i]= 0.0    ;
     39    fPedesSigmaHigh[i]=-1.0    ;
     40    fPedesSigmaLow[i]=-1.0    ;
    3941    fElecNoise[i]=-1.0   ;
    4042  }
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcFadcHeader.hxx

    r2283 r2394  
    2020  Float_t  fPedesMean[MFADC_CHANNELS]    ;  //  The mean value for the pedestal
    2121                                            //  of each pixel (channel)
     22  Float_t  fPedesSigmaHigh[MFADC_CHANNELS]    ; //  The sigma for the pedestal
     23                                                //  of each pixel (channel)
     24  Float_t  fPedesSigmaLow[MFADC_CHANNELS]    ;  //  The sigma for the pedestal
     25                                                //  of each pixel (channel)
    2226  Float_t  fElecNoise[MFADC_CHANNELS]   ;  //  The rms value in the pedestal
    2327                                           //  due to the electronics for
     
    5559  }
    5660
     61  void SetPedestalSigma(Float_t *sigmalo, Float_t *sigmahi, Int_t dim){
     62    for (Int_t i=0;i<dim;i++){
     63      fPedesSigmaLow[i]=sigmalo[i];
     64      fPedesSigmaHigh[i]=sigmahi[i];
     65    }
     66  }
     67
    5768  void SetElecNoise(Float_t *sigma, Int_t dim){
    5869    for (Int_t i=0;i<dim;i++)
     
    6172 
    6273  Float_t GetPedestal(UInt_t i) const    { return fPedesMean[i]; }
    63   Float_t GetPedestalRms(UInt_t i) const { return fElecNoise[i]; }
     74  Float_t GetPedestalRmsHigh(UInt_t i) const { return fPedesSigmaHigh[i]; }
     75  Float_t GetPedestalRmsLow(UInt_t i) const { return fPedesSigmaLow[i]; }
     76  Float_t GetElecNoise(UInt_t i) const { return fElecNoise[i]; }
    6477  Float_t GetAmplitud() const { return fAmplFadc; }
    6578
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcRunHeader.cxx

    r2283 r2394  
    103103    fNumSimulatedShowers = 0;
    104104    fNumStoredShowers = 0;
     105    fNumEvents = 0;
    105106
    106107    fStarFieldRaH = 0;
     
    206207    fNumSimulatedShowers = numsim;
    207208    fNumStoredShowers = numsto;
     209    fNumEvents = numsto;
    208210
    209211    fStarFieldRaH = sfRaH;
  • trunk/MagicSoft/include-Classes/MMcFormat/MTriggerDefine.h

    r2345 r2394  
    99#define TRIGGER_PIXELS_5      397
    1010#define TRIGGER_PIXELS_6      1657
    11 #define TRIGGER_PIXELS_8      100
    12 #define TRIGGER_PIXELS_9      100
     11#define TRIGGER_PIXELS_8      126
     12#define TRIGGER_PIXELS_9      126
    1313//
    1414//      This is the number of Pixels contributing to the TRIGGER logic
Note: See TracChangeset for help on using the changeset viewer.