Ignore:
Timestamp:
10/26/04 20:21:50 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/include-Classes/MMcFormat
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.cxx

    r2528 r5321  
    6868                Float_t  elec,
    6969                Float_t  muon,
    70                 Float_t  other) {
     70                Float_t  other,
     71                Float_t  fadc_jitter) {
    7172
    7273    fName  = "MMcEvt";
     
    118119  fMuonCphFraction=muon;
    119120  fOtherCphFraction=other;
     121
     122  fFadcTimeJitter = fadc_jitter;
    120123}
    121124
     
    190193                   Float_t  elec,
    191194                   Float_t  muon,
    192                    Float_t  other ) {
     195                   Float_t  other,
     196                   Float_t  fadc_jitter) {
    193197  //
    194198  //  All datamembers are filled with the correspondin parameters.
     
    235239  fOtherCphFraction=other;
    236240
     241  fFadcTimeJitter = fadc_jitter;
    237242}
    238243
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx

    r4513 r5321  
    8080  Float_t  fOtherCphFraction;
    8181 
    82 
     82  Float_t  fFadcTimeJitter;
    8383
    8484 public:
     
    9090          Float_t, Float_t, Float_t, Float_t, Float_t, Float_t,
    9191          UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t,
    92           Float_t, Float_t, Float_t) ;
     92          Float_t, Float_t, Float_t, Float_t) ;
    9393 
    9494  ~MMcEvt();
     
    101101             Float_t, Float_t, Float_t, Float_t, Float_t, Float_t,
    102102             UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t,
    103              Float_t, Float_t, Float_t) ;
     103             Float_t, Float_t, Float_t, Float_t) ;
    104104
    105105  //virtual void AsciiWrite(ofstream &fout) const;
     
    138138  Float_t GetLongit0()   const { return fLongit0; }
    139139  Float_t GetLongitmax() const { return fLongitmax; }
     140
     141  Float_t GetFadcTimeJitter() const { return fFadcTimeJitter; }
    140142
    141143  void SetPartId(Short_t PartId)
     
    230232
    231233
    232   ClassDef(MMcEvt, 3)  //Stores Montecarlo Information of one event (eg. the energy)
     234  ClassDef(MMcEvt, 4)  //Stores Montecarlo Information of one event (eg. the energy)
    233235
    234236};
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcFadcHeader.hxx

    r3610 r5321  
    5252  Float_t fLow2HighGain;    // low gain factor
    5353
     54  Bool_t  fGainFluctuations;
     55  // kTRUE if PMT gain fluctuations were simulated (=> default in camera simulation)
     56
     57
    5458 public:
    5559  MMcFadcHeader(const char *name=NULL, const char *title=NULL);
     
    100104  }
    101105 
     106  void SetGainFluctuations(Bool_t x) { fGainFluctuations = x; }
     107
    102108  Float_t GetPedestal(UInt_t i) const    { return fPedesMean[i]; }
    103109  Float_t GetPedestalRmsHigh(UInt_t i) const { return fPedesSigmaHigh[i]; }
     
    111117  UInt_t GetNumPixel() const { return MFADC_CHANNELS; }
    112118
    113   ClassDef(MMcFadcHeader, 4)  //Stores Montecarlo Information describing the FADC behaviour
     119  ClassDef(MMcFadcHeader, 5)  //Stores Montecarlo Information describing the FADC behaviour
    114120
    115121};
Note: See TracChangeset for help on using the changeset viewer.