Changeset 20044 for trunk/Mars


Ignore:
Timestamp:
02/18/21 15:53:11 (4 years ago)
Author:
tbretz
Message:
Added telescope number, increased version accordingly.
Location:
trunk/Mars/mcorsika
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcorsika/MCorsikaRunHeader.cc

    r19851 r20044  
    6464//  + Float_t fThinningMaxRadius
    6565//
     66// Class Version 5:
     67// ----------------
     68//  + fTelescopeNumber
     69//
    6670////////////////////////////////////////////////////////////////////////////
    6771
     
    107111        return kFALSE;
    108112
     113    fTelescopeNumber = 0;
    109114    fRunNumber = TMath::Nint(f[0]);
    110115    fNumEvents = 0;
  • trunk/Mars/mcorsika/MCorsikaRunHeader.h

    r19761 r20044  
    3232
    3333private:
     34    UInt_t  fTelescopeNumber;         // Telescope number
    3435    UInt_t  fRunNumber;               // Run number
    3536    UInt_t  fNumReuse;                // Number of how many times the same shower is used
     
    9394    MCorsikaRunHeader(const char *name=NULL, const char *title=NULL);
    9495
     96    // Setter
     97    void SetTelescopeNumber(const UInt_t &tel) { fTelescopeNumber = tel; }
     98
    9599    // Getter
    96100    UInt_t GetRunNumber() const { return fRunNumber; }
     
    152156    void Print(Option_t *t=NULL) const;
    153157
    154     ClassDef(MCorsikaRunHeader, 4)      // storage container for general info
     158    ClassDef(MCorsikaRunHeader, 5)      // storage container for general info
    155159};
    156160#endif
Note: See TracChangeset for help on using the changeset viewer.