Changeset 1729 for trunk


Ignore:
Timestamp:
01/23/03 17:25:53 (22 years ago)
Author:
rwagner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1718 r1729  
    11
    22                                                         -*-*- END -*-*-
     3
     4 2003/01/23: Robert Wagner
     5
     6  * manalyis/MSigmabarCalc.cc
     7    - MSigmabarCalc::Process()
     8      Replaced fMcEvt->GetTheta() by fMcEvt->GetThetaTelescope()
     9 
     10
    311 2003/01/20: Oscar Blanch
    412 
    513  * mmc/MMcEvt.[hxx,cxx]
    6     - Variable members: fElecCphFraction, fMuonCphFraction,
     14    - Data members: fElecCphFraction, fMuonCphFraction,
    715      fOtherCphFraction have been introduced.
    816    - Class version updated to 3.
    917
    1018  * mmc/MMcCorsikaRunHeader.[h.cc]
    11     - Varible members: fWobbleMode and fAtmosphericModel introduced.
    12     - Clas version updated to 2.
     19    - Data members: fWobbleMode and fAtmosphericModel introduced.
     20    - Class version updated to 2.
     21
     22
    1323
    1424 2003/01/19: Thomas Bretz
  • trunk/MagicSoft/Mars/manalysis/MSigmabarCalc.cc

    r1693 r1729  
    1616!
    1717!
    18 !   Author(s): Robert Wagner <magicdev@rwagner.de> 10/2002
     18!   Author(s): Robert Wagner <rwagner@mppmu.mpg.de> 10/2002
    1919!
    20 !   Copyright: MAGIC Software Development, 2000-2002
     20!   Copyright: MAGIC Software Development, 2000-2003
    2121!
    2222!
     
    3131//  in MSigmabarParam. For the time being, Theta is taken from a Monte     //
    3232//  Carlo container. This is preliminary and to be changed ASAP.           //
    33  //                                                                         //
     33//                                                                         //
    3434/////////////////////////////////////////////////////////////////////////////
    3535#include "MSigmabarCalc.h"
     
    9898        return kFALSE;
    9999    }
     100
     101    fRun = (MRawRunHeader*)pList->FindObject("MRawRunHeader");
     102    if (!fRun)
     103    {
     104        *fLog << dbginf << "MRawRunHeader not found... aborting." << endl;
     105        return kFALSE;
     106    }
    100107   
    101108    fMcEvt = (MMcEvt*)pList->FindObject("MMcEvt");
     
    123130  fSigmabarMin = TMath::Min((Double_t)fSig->GetSigmabar(), fSigmabarMin);
    124131
    125   if (fMcEvt->GetTheta()*kRad2Deg < 90)
    126     fThetaMax    = TMath::Max(fMcEvt->GetTheta()*kRad2Deg, fThetaMax);
    127   fThetaMin    = TMath::Min(fMcEvt->GetTheta()*kRad2Deg, fThetaMin);
     132  if (fMcEvt->GetThetaTelescope()*kRad2Deg < 90)
     133    fThetaMax    = TMath::Max(fMcEvt->GetThetaTelescope()*kRad2Deg, fThetaMax);
     134  fThetaMin    = TMath::Min(fMcEvt->GetThetaTelescope()*kRad2Deg, fThetaMin);
    128135
    129136  return rc;
     
    138145{
    139146   
    140   fSigParam->SetParams(1, fSigmabarMin, fSigmabarMax, fThetaMin, fThetaMax); 
     147  fSigParam->SetParams(1, fSigmabarMin, fSigmabarMax, fThetaMin, fThetaMax);
     148  fSigParam->SetRunNumber(fRun->GetRunNumber());
     149 
    141150  Reset();
    142151 
Note: See TracChangeset for help on using the changeset viewer.