Ignore:
Timestamp:
11/04/04 21:25:03 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.