Ignore:
Timestamp:
02/11/09 10:48:24 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcorsika/MCorsikaRunHeader.h

    r9312 r9313  
    4545    MCorsikaRunHeader(const char *name=NULL, const char *title=NULL);
    4646
     47    // Getter
     48    UInt_t GetRunNumber() const { return fRunNumber; }
     49    UInt_t GetParticleID() const { return fParticleID; }
     50    UInt_t GetNumEvents() const { return fNumEvents; }
     51
    4752    UInt_t GetFormatVersion() const { return (UInt_t)fProgramVersion; }
    48     Bool_t HasViewCone() const { return fViewConeOuterAngle>0; }
    49 
    50     UInt_t GetParticleID() const { return fParticleID; }
    5153
    5254    Float_t GetZdMin() const { return fZdMin; }
     
    6668
    6769    Float_t GetViewConeOuterAngle() const { return fViewConeOuterAngle; }
     70    Bool_t HasViewCone() const { return fViewConeOuterAngle>0; }
    6871
    69     UInt_t GetNumEvents() const { return fNumEvents; }
    70 
    71     void Print(Option_t *t=NULL) const;
    72 
     72    // I/O
    7373    Bool_t ReadEvt(istream& fin);
    7474    Bool_t ReadEvtEnd(istream& fin);
    7575    Bool_t SeekEvtEnd(istream &fin);
    7676
     77    // TObject
     78    void Print(Option_t *t=NULL) const;
     79
    7780    ClassDef(MCorsikaRunHeader, 2)      // storage container for general info
    7881};
Note: See TracChangeset for help on using the changeset viewer.