Ignore:
Timestamp:
06/24/10 15:05:04 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/include-Classes/MMcFormat
Files:
3 edited

Legend:

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

    r9312 r9595  
    101101    Float_t GetViewconeAngleOuter() const { return fViewconeAngles[1]; }
    102102    Float_t GetAtmosphericModel() const { return fAtmosphericModel; }
     103    Bool_t HasViewCone() const { return fViewconeAngles[1]>0; }
    103104
    104105    Int_t GetNumCT() const { return fNumCT; }
     
    113114        fSlopeSpec=slope; fELowLim=emin; fEUppLim=emax;
    114115    }
     116    void SetViewCone(Float_t inner, Float_t outer)
     117    {
     118        fViewconeAngles[0] = inner;
     119        fViewconeAngles[1] = outer;
     120    }
     121
    115122
    116123    MGeomCorsikaCT &operator[](Int_t i) const;
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx

    r9312 r9595  
    1414    Float_t fFirstTarget;        // []
    1515    Float_t fZFirstInteraction;  // [cm]
    16 
    17     Float_t fTheta;              // [rad] Theta angle of event
    18     Float_t fPhi;                // [rad] Phi angle of event (see class description)
    1916
    2017    Float_t fCoreD;              // [cm] Core d pos
     
    7269    // Getter
    7370    UInt_t  GetEvtNumber() const { return fEvtNumber; }  //Get Event Number
    74     Float_t GetTheta() const { return fTheta; }          //Get Theta angle
    75     Float_t GetPhi() const { return fPhi ;  }            //Get Phi angle
    7671
    7772    Float_t GetCoreX() const { return fCoreX; }          //Get Core x pos
     
    10398
    10499    // Setter
    105     void SetTheta(Float_t Theta) { fTheta=Theta; }                //Set Theta angle
    106     void SetPhi(Float_t Phi)     { fPhi=Phi;  }                   //Set Phi angle
    107100    void SetCoreD(Float_t CoreD) { fCoreD=CoreD; }                //Set Core d pos
    108101    void SetCoreX(Float_t CoreX) { fCoreX=CoreX; }                //Set Core x pos
     
    123116    void Clear(Option_t *opt=NULL);
    124117
    125     ClassDef(MMcEvt, 6)  //Stores Montecarlo Information of one event (eg. the energy)
     118    ClassDef(MMcEvt, 7)  //Stores Montecarlo Information of one event (eg. the energy)
    126119};
    127120
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcEvtBasic.h

    r9313 r9595  
    3636  Float_t      fTelescopePhi;    // [rad]
    3737  Float_t      fTelescopeTheta;  // [rad]
    38  
     38
     39  Float_t      fTheta;           // [rad] Theta angle of event
     40  Float_t      fPhi;             // [rad] Phi angle of event (see class description)
     41
    3942public:
    4043  MMcEvtBasic();
     
    5053  Float_t GetTelescopePhi() const { return fTelescopePhi; }
    5154  Float_t GetTelescopeTheta() const { return fTelescopeTheta; }
     55
     56  Float_t GetParticlePhi() const { return fPhi; }
     57  Float_t GetParticleTheta() const { return fTheta; }
     58
     59  //Float_t GetTheta() const { return fTheta; }
     60  //Float_t GetPhi() const { return fPhi ;  }
    5261
    5362  static TString GetParticleName(Int_t id);
     
    7887  void SetTelescopePhi  (Float_t Phi)   { fTelescopePhi=Phi; }
    7988
     89  void SetParticleTheta(Float_t Theta)  { fTheta=Theta; }
     90  void SetParticlePhi  (Float_t Phi)    { fPhi=Phi; }
     91
     92  //void SetTheta(Float_t Theta) { fTheta=Theta; }                //Set Theta angle
     93  //void SetPhi(Float_t Phi)     { fPhi=Phi;  }                   //Set Phi angle
     94
    8095  void Fill(ParticleId_t, Float_t, Float_t, Float_t, Float_t);
    8196
     
    8499  void Print(Option_t *opt=NULL) const;
    85100
    86   ClassDef(MMcEvtBasic, 2) //Stores Basic Montecarlo Information of one event
     101  ClassDef(MMcEvtBasic, 3) //Stores Basic Montecarlo Information of one event
    87102
    88103};
Note: See TracChangeset for help on using the changeset viewer.