Changeset 8592 for trunk/MagicSoft
- Timestamp:
- 06/22/07 16:50:00 (17 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8591 r8592 18 18 19 19 -*-*- 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 20 27 21 28 2007/06/22 Daniela Dorner -
trunk/MagicSoft/Mars/mhflux/MHThetaSqN.cc
r8106 r8592 1 1 /* ======================================================================== *\ 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 $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 212 212 return v; 213 213 214 return TVector2( (*fMatrix)[ n1], (*fMatrix)[n1+1] );214 return TVector2( (*fMatrix)[fMap[n1]], (*fMatrix)[fMap[n1+1]] ); 215 215 } 216 216 217 217 Bool_t MHThetaSqN::Fill(const MParContainer *par, const Stat_t weight) 218 218 { 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)); 221 221 222 222 const TVector2 org = mean*fMm2Deg + norm*fDisp->GetVal(); … … 366 366 fMap[3] = fMatrix->AddColumn("MPointingPos.fZd"); 367 367 368 fMap[5] = fMatrix->AddColumn("Disp.fVal");368 fMap[5] = -1; 369 369 fMap[6] = fMatrix->AddColumn("MHillas.fCosDelta"); 370 370 fMap[7] = fMatrix->AddColumn("MHillas.fSinDelta"); … … 372 372 fMap[9] = fMatrix->AddColumn("MHillas.fMeanY"); 373 373 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"); 378 375 } 379 376
Note:
See TracChangeset
for help on using the changeset viewer.