Changeset 5339


Ignore:
Timestamp:
11/04/04 21:25:03 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5338 r5339  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22 2004/11/04: Abelardo Moralejo
     23
     24   * mmc/MMcConfigRunHeader.h
     25     - Added member fMirrorFraction to keep the active fraction of the
     26       mirror dish set in the camera simulation. Added Getter & Setter.
     27
    2228 2004/11/04: Nepomuk Otte
    2329
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcConfigRunHeader.h

    r3666 r5339  
    1616class MGeomPMT;
    1717
     18//////////////////////////////////////////////////////////////////////////////////
     19//
     20// class MMcConfigRunHeader
     21//
     22// Authors: O. Blanch, A. Moralejo
     23//
     24// Container to keep some data on the used MC simulation parameters
     25//
     26// Version 3: Added member fLightCollectionFactorOuter so that we can store
     27//            the data on the simulatedlight collection efficiency (light
     28//            guides + plexiglas +...) as a function of incidence angle for
     29//            outer and inner pixels independently.
     30//
     31// Version 4: Added member fMirrorFraction, the "active" fraction of the
     32//            mirror dish, to account for reflectivity losses, missing
     33//            mirrors, etc.
     34//
     35/////////////////////////////////////////////////////////////////////////////////
     36
    1837class MMcConfigRunHeader : public MParContainer
    1938{
     
    2342    Float_t       fRadiusMirror;// [cm] Radius of a single mirror
    2443    TClonesArray *fMirrors;     // FIXME: Change TClonesArray away from a pointer?
     44
     45    Float_t fMirrorFraction;    // (adimensional, between 0 and 1) Fraction of mirror dish
     46                                //  which is really working.
    2547
    2648    // Magic Def Parameters
     
    5981    void   InitSizeMirror(UInt_t num) { fMirrors->Expand(num); }
    6082
     83    void   SetMirrorFraction(Float_t x) { fMirrorFraction = x; }
     84
    6185    UInt_t GetNumPMTs() const { return fNumPMTs; }
    6286    void   InitSizePMTs(UInt_t num) { fPMTs->Expand(num); }
     
    79103    TArrayF GetLightCollectionFactorOuter() const
    80104      {return fLightCollectionFactorOuter; }
     105
     106    Float_t GetMirrorFraction() const { return fMirrorFraction; }
     107
    81108    TArrayF GetIncidentTheta() const {return fIncidentTheta;}
    82109
     
    99126    MGeomPMT &GetPMT(int i) const { return *(MGeomPMT*)(fPMTs->UncheckedAt(i)); }
    100127
    101     ClassDef(MMcConfigRunHeader, 3)  // class for monte carlo configuration information
     128    ClassDef(MMcConfigRunHeader, 4)  // class for monte carlo configuration information
    102129};
    103130
Note: See TracChangeset for help on using the changeset viewer.