Changeset 8592 for trunk/MagicSoft


Ignore:
Timestamp:
06/22/07 16:50:00 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8591 r8592  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2007/06/22 Thomas Bretz
     22
     23   * mhflux/MHThetaSqN.cc:
     24     - fixed optimization (it just didn't work)
     25
     26
    2027
    2128 2007/06/22 Daniela Dorner
  • trunk/MagicSoft/Mars/mhflux/MHThetaSqN.cc

    r8106 r8592  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MHThetaSqN.cc,v 1.8 2006-10-17 17:16:00 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MHThetaSqN.cc,v 1.9 2007-06-22 15:49:50 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    212212        return v;
    213213
    214     return TVector2( (*fMatrix)[n1], (*fMatrix)[n1+1] );
     214    return TVector2( (*fMatrix)[fMap[n1]], (*fMatrix)[fMap[n1+1]] );
    215215}
    216216
    217217Bool_t MHThetaSqN::Fill(const MParContainer *par, const Stat_t weight)
    218218{
    219     const TVector2 mean(GetVec(fHillas->GetMean(),    6));
    220     const TVector2 norm(GetVec(fHillas->GetNormAxis(), 8));
     219    const TVector2 norm(GetVec(fHillas->GetNormAxis(), 6));
     220    const TVector2 mean(GetVec(fHillas->GetMean(),    8));
    221221
    222222    const TVector2 org = mean*fMm2Deg + norm*fDisp->GetVal();
     
    366366        fMap[3] = fMatrix->AddColumn("MPointingPos.fZd");
    367367
    368     fMap[5]  = fMatrix->AddColumn("Disp.fVal");
     368    fMap[5]  = -1;
    369369    fMap[6]  = fMatrix->AddColumn("MHillas.fCosDelta");
    370370    fMap[7]  = fMatrix->AddColumn("MHillas.fSinDelta");
     
    372372    fMap[9]  = fMatrix->AddColumn("MHillas.fMeanY");
    373373    fMap[10] = fMatrix->AddColumn("MSrcPosCam.fX");
    374     fMap[11] = fMatrix->AddColumn("MSrcPosCan.fY");
    375 
    376    // if (!fSkipHistTime)
    377    //     fMap[4] = fMatrix->AddColumn("MTime.GetAxisTime");
     374    fMap[11] = fMatrix->AddColumn("MSrcPosCam.fY");
    378375}
    379376
Note: See TracChangeset for help on using the changeset viewer.