Changeset 5410 for trunk


Ignore:
Timestamp:
11/16/04 12:12:51 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5409 r5410  
    2525   * mmc/MMcEvt.hxx
    2626     - Added comment regarding change in version 4.
     27
     28   * mmc/MMcFadcHeader.hxx
     29     - Added data member fNoiseGainFluctuations. Updated class version
     30       to 6
     31
     32   * mmc/MMcTrigHeader.hxx
     33     - Added data members fGainFluctuations and fNoiseGainFluctuations.
     34       Will contain same values as the corresponding members in the
     35       MMcFadcHeader of MC camera files. We just put them in both
     36       headers because the fluctuations affect both the trigger
     37       signal and the FADC signal.
     38
    2739
    2840 2004/11/16: Markus Gaug
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcFadcHeader.hxx

    r5321 r5410  
    77
    88#include "MFadcDefine.h"
     9
     10//
     11// Version 5:
     12//   Added member fGainFluctuations
     13//
     14// Version 6:
     15//   Added member fNoiseGainFluctuations
     16//
    917
    1018class MMcFadcHeader : public MParContainer{
     
    5361
    5462  Bool_t  fGainFluctuations;
    55   // kTRUE if PMT gain fluctuations were simulated (=> default in camera simulation)
     63  // kTRUE if PMT gain fluctuations were simulated for the signal
     64  // (=> default in camera simulation)
     65
     66  Bool_t  fNoiseGainFluctuations;
     67  // kTRUE if PMT gain fluctuations were simulated for the NSB noise
     68  // (=> default in StarResponse program)
    5669
    5770
     
    105118 
    106119  void SetGainFluctuations(Bool_t x) { fGainFluctuations = x; }
     120  void SetNoiseGainFluctuations(Bool_t x) { fNoiseGainFluctuations = x; }
    107121
    108122  Float_t GetPedestal(UInt_t i) const    { return fPedesMean[i]; }
     
    117131  UInt_t GetNumPixel() const { return MFADC_CHANNELS; }
    118132
    119   ClassDef(MMcFadcHeader, 5)  //Stores Montecarlo Information describing the FADC behaviour
     133  ClassDef(MMcFadcHeader, 6)  //Stores Montecarlo Information describing the FADC behaviour
    120134
    121135};
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcTrigHeader.hxx

    r2395 r5410  
    88#include "MTriggerDefine.h"
    99#include "Mdefine.h"
     10
     11//
     12// Version 4
     13//   Added data members fGainFluctuations and fNoiseGainFluctuations
     14//
    1015
    1116class MMcTrigHeader : public MParContainer{
     
    3136                            // the amplitude of the single phe response
    3237                            // for the trigger
     38
     39  Bool_t  fGainFluctuations;
     40  // kTRUE if PMT gain fluctuations were simulated for the signal
     41  // (=> default in camera simulation)
     42
     43  Bool_t  fNoiseGainFluctuations;
     44  // kTRUE if PMT gain fluctuations were simulated for the NSB noise
     45  // (=> default in StarResponse program)
     46
    3347
    3448 public:
     
    90104  }
    91105
    92 
     106  void SetGainFluctuations(Bool_t x) { fGainFluctuations = x; }
     107  void SetNoiseGainFluctuations(Bool_t x) { fNoiseGainFluctuations = x; }
    93108
    94109  Short_t GetMultiplicity() { return fMultiplicity; }
     
    111126
    112127
    113   ClassDef(MMcTrigHeader, 3)  //Stores Montecarlo Information which describes the used trigger
     128  ClassDef(MMcTrigHeader, 4)  //Stores Montecarlo Information which describes the used trigger
    114129
    115130};
    116131
    117132#endif
    118 
Note: See TracChangeset for help on using the changeset viewer.