Changeset 2703


Ignore:
Timestamp:
12/18/03 10:41:57 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2699 r2703  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6 2003/12/18: Abelardo Moralejo
     7
     8   * mmc/MMcConfigRunHeader.[h,cc]
     9     - Removed some obsolete parameters no longer used in reflector
     10       simulation since version 0.6.
     11     - Added getter and setter functions for fPointSpread (allows
     12       camera simulation to change the value whenever the spot is made
     13       bigger to fit the data).
     14
    615 2003/12/17: Abelardo Moralejo
    716
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcConfigRunHeader.cc

    r2173 r2703  
    6262    fRadiusMirror=-1;
    6363    fFocalDist   =-1;
    64     fFocalStdev  =-1;
    6564    fPointSpread =-1;
    66     fPointStdev  =-1;
    67     fDevAdjust   =-1;
    6865    fBlackSpot   =-1;
    6966    fCameraWidth =-1;
     
    8077void MMcConfigRunHeader::SetMagicDef(Float_t radius,
    8178                                     Float_t focal,
    82                                      Float_t stdfocal,
    8379                                     Float_t point,
    84                                      Float_t stdpoint,
    85                                      Float_t adjust,
    8680                                     Float_t spot,
    8781                                     Float_t camwidth)
     
    8983    fRadiusMirror=radius;
    9084    fFocalDist=focal;
    91     fFocalStdev=stdfocal;
    9285    fPointSpread=point;
    93     fPointStdev=stdpoint;
    94     fDevAdjust=adjust;
    9586    fBlackSpot=spot;
    9687    fCameraWidth=camwidth;
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcConfigRunHeader.h

    r1632 r2703  
    2626    // Magic Def Parameters
    2727    Float_t fFocalDist;         // [cm] Focal distance
    28     Float_t fFocalStdev;       // [cm] Standard deviation of focal distance
    29     Float_t fPointSpread;       // [cm] Point spread function
    30     Float_t fPointStdev;        // [cm] Standard deviation of point spread function
    31     Float_t fDevAdjust;         // [cm] Standard deviation of the adjustment value
     28    Float_t fPointSpread;       // [cm] Point spread function, sigma in x and y on the camera
    3229    Float_t fBlackSpot;         // [cm] Radius of black spot in the mirror center
    3330    Float_t fCameraWidth;       // [cm] Radius on the camera plain
     
    4643    ~MMcConfigRunHeader() { delete fMirrors; delete fPMTs; }
    4744
    48     void SetMagicDef(Float_t radius, Float_t focal, Float_t stdfocal, Float_t point,
    49                      Float_t stdpoint, Float_t adjust, Float_t spot, Float_t camwidth);
     45    void SetMagicDef(Float_t radius, Float_t focal, Float_t point,
     46                     Float_t spot, Float_t camwidth);
    5047    void SetLightGuides(const TArrayF &theta, const TArrayF &factor);
    5148
     
    5552    UInt_t GetNumPMTs() const { return fNumPMTs; }
    5653    void   InitSizePMTs(UInt_t num) { fPMTs->Expand(num); }
     54
     55    Float_t GetPointSpread() const { return fPointSpread; }
     56    void    SetPointSpread(Float_t x) { fPointSpread = x; }
    5757
    5858    void   AddMirror(Int_t id)
     
    7272    MGeomPMT &GetPMT(int i) const { return *(MGeomPMT*)(fPMTs->UncheckedAt(i)); }
    7373
    74     ClassDef(MMcConfigRunHeader, 1)  // class for monte carlo configuration information
     74    ClassDef(MMcConfigRunHeader, 2)  // class for monte carlo configuration information
    7575};
    7676
Note: See TracChangeset for help on using the changeset viewer.