Ignore:
Timestamp:
02/10/09 20:00:10 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/include-Classes/MMcFormat
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.h

    r8758 r9312  
    109109                Int_t CTnum);
    110110
     111    void SetSpectrum(Float_t slope, Float_t emin, Float_t emax)
     112    {
     113        fSlopeSpec=slope; fELowLim=emin; fEUppLim=emax;
     114    }
     115
    111116    MGeomCorsikaCT &operator[](Int_t i) const;
    112117
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx

    r8438 r9312  
    109109    void SetCoreY(Float_t CoreY) { fCoreY=CoreY; }                //Set Core y pos
    110110
     111    void SetEvtNumber(UInt_t n) { fEvtNumber=n; }
     112    void SetPhotElfromShower(UInt_t n) { fPhotElfromShower=n; }
     113
    111114    void Fill( UInt_t, ParticleId_t, Float_t, Float_t, Float_t,
    112115               Float_t, Float_t, Float_t, Float_t, Float_t, Float_t,
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcEvtBasic.cc

    r7094 r9312  
    8989// --------------------------------------------------------------------------
    9090//
     91// Copy operator. Copy all data members
     92//
     93void MMcEvtBasic::operator=(const MMcEvtBasic &evt)
     94{
     95    fPartId         = evt.fPartId;
     96    fEnergy         = evt.fEnergy;
     97    fImpact         = evt.fImpact;
     98    fTelescopePhi   = evt.fTelescopePhi;
     99    fTelescopeTheta = evt.fTelescopeTheta;
     100}
     101
     102// --------------------------------------------------------------------------
     103//
    91104//  Reset all values: Fill(kUNDEFINED, -1, -1, 0, 0)
    92105//
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcEvtBasic.h

    r9272 r9312  
    55#include "MParContainer.h"
    66#endif
    7 
    87
    98class MMcEvtBasic : public MParContainer
     
    4140  MMcEvtBasic();
    4241  MMcEvtBasic(ParticleId_t, Float_t, Float_t, Float_t, Float_t);
     42  void operator=(const MMcEvtBasic &evt);
    4343
    4444  // Getter
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcRunHeader.cxx

    r8066 r9312  
    138138    fSlopeSpec = 0.0;
    139139
    140     fCorsikaVersion = 0;
    141     fReflVersion = 0;
    142     fCamVersion = 0;
     140    fCorsikaVersion = UShort_t(-1);
     141    fReflVersion    = UShort_t(-1);
     142    fCamVersion     = UShort_t(-1);
     143
    143144    fOpticLinksNoise= 0;
    144145
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcRunHeader.hxx

    r7880 r9312  
    66#endif
    77
     8// -------------------------------------------------------------
     9//
     10//  The following data member are in use:
     11//
     12//    fCorsikaVersion        MHCollectionArea
     13//    fReflVersion           MSrcPosCalc
     14//    fCamVersion            MMcCalibrationUpdate, MReadMarsFile,
     15//                           MMcPedestalCopy, MMcPedestalNSBAdd
     16//    fStarField*            MMcBadPixelSet
     17//    fImpactMax             MHCollectionArea
     18//    fNumSimulatedShowers   MHCollectionArea
     19//    [fAllEvtsTriggered]    MHCollectionArea
     20//    fNumPheFromDNSB        MMcPedestalNSBAdd
     21//
     22// -------------------------------------------------------------
    823
    924class MMcRunHeader : public MParContainer
     
    146161  Float_t GetImpactMax() const            {return fImpactMax;}
    147162
     163  void SetNumSimulatedShowers(UInt_t n) { fNumSimulatedShowers=n; }
     164  void SetImpactMax(Float_t im) { fImpactMax=im; }
     165
    148166  ClassDef(MMcRunHeader, 7)     // storage container for general run info
    149167};
Note: See TracChangeset for help on using the changeset viewer.