Changeset 9369 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 03/01/09 21:54:27 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
r9346 r9369 778 778 delete pad->GetPad(2); 779 779 780 if ( fTimeEffOn && fTime|| fHTime.GetNbinsX()>1 || fHTime.GetBinError(1)>0)780 if ((fTimeEffOn && fTime) || fHTime.GetNbinsX()>1 || fHTime.GetBinError(1)>0) 781 781 { 782 782 pad->cd(3); … … 1097 1097 1098 1098 if (!fSkipHistEnergy) 1099 if (type==0) 1100 { 1101 fMap[1] = fMatrix->AddColumn("MEnergyEst.fVal"); 1102 fMap[2] = -1; 1103 } 1104 else 1105 { 1106 fMap[1] = -1; 1107 fMap[2] = fMatrix->AddColumn("MHillas.fSize"); 1108 } 1099 { 1100 fMap[1] = type==0 ? fMatrix->AddColumn("MEnergyEst.fVal") : -1; 1101 fMap[2] = type==0 ? -1 : fMatrix->AddColumn("MHillas.fSize"); 1102 } 1109 1103 1110 1104 if (!fSkipHistTheta) -
trunk/MagicSoft/Mars/mhflux/MHThetaSq.cc
r7710 r9369 189 189 190 190 if (!fSkipHistEnergy) 191 if (type==0) 192 { 193 fMap[1] = fMatrix->AddColumn("MEnergyEst.fVal"); 194 fMap[2] = -1; 195 } 196 else 197 { 198 fMap[1] = -1; 199 fMap[2] = fMatrix->AddColumn("MHillas.fSize"); 200 } 191 { 192 fMap[1] = type==0 ? fMatrix->AddColumn("MEnergyEst.fVal") : -1; 193 fMap[2] = type==0 ? -1 : fMatrix->AddColumn("MHillas.fSize"); 194 } 201 195 202 196 if (!fSkipHistTheta) -
trunk/MagicSoft/Mars/mhflux/MHThetaSqN.cc
r9341 r9369 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHThetaSqN.cc,v 1.1 1 2009-02-15 15:43:30tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHThetaSqN.cc,v 1.12 2009-03-01 21:48:14 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 354 354 355 355 if (!fSkipHistEnergy) 356 if (type==0) 357 { 358 fMap[1] = fMatrix->AddColumn("MEnergyEst.fVal"); 359 fMap[2] = -1; 360 } 361 else 362 { 363 fMap[1] = -1; 364 fMap[2] = fMatrix->AddColumn("MHillas.fSize"); 365 } 356 { 357 fMap[1] = type==0 ? fMatrix->AddColumn("MEnergyEst.fVal") : -1; 358 fMap[2] = type==0 ? -1 : fMatrix->AddColumn("MHillas.fSize"); 359 } 366 360 367 361 if (!fSkipHistTheta)
Note:
See TracChangeset
for help on using the changeset viewer.