Changeset 1663 for trunk


Ignore:
Timestamp:
11/21/02 16:15:20 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc

    r1600 r1663  
    234234    *fLog << endl;
    235235
     236    fBlinds->SetReadyToSave();
     237
    236238    /* bexcludepix[] is set TRUE (== exclude from pedestal, Laser
    237239     * calibration and the further analysis) when the Mean value
     
    319321        (*fPedest)[i].SetMeanRms(outpars.frms_pedsig_phot[i]);
    320322
     323    fPedest->SetReadyToSave();
     324
    321325    // Used to communicate the mean over all pixels
    322326    // pedestal RMS into the Runs NTuple, as it might
     
    356360
    357361    fIsMcFile = outpars.bmontecarlo==TRUE;
    358 
    359     fPedest->SetReadyToSave();
    360362}
    361363
     
    593595    //  look for the source position in the camera
    594596    //
    595     fSrcPos = (MSrcPosCam*)pList->FindCreateObj("MSrcPosCam", "Source");
     597    fSrcPos = (MSrcPosCam*)pList->FindCreateObj("MSrcPosCam");
    596598    if (!fSrcPos)
    597599        return kFALSE;
     
    677679    // int ipreproc_az_arcs;  // "should be" az according to preproc (arcseconds)
    678680
    679     fMcEvt->SetTheta(TMath::Pi()*(0.5-1./180*event.ialt_arcs/3600));   // altitude (arcseconds)
    680     fMcEvt->SetPhi(TMath::Pi()/180*event.iaz_arcs/3600);               // azimuth (arcseconds)
    681 
     681    fMcEvt->Fill(0, /*fEvtNum*/
     682                 fIsMcFile ? event.imcparticle : 0, /*corsika particle type*/
     683                 fIsMcFile ? event.fmcenergy_tev*1000 : 0,
     684                 0, /* fThi0 */
     685                 0, /* fFirTar */
     686                 0, /* fzFirInt */
     687                 0, /* fThet*/
     688                 0, /* fPhii */
     689                 0, /* fCorD */
     690                 0, /* fCorX */
     691                 0, /* fCorY */
     692                 fIsMcFile ? event.imcimpact_m*100 : 0,
     693                 TMath::Pi()/180*event.iaz_arcs/3600, // azimuth (arcseconds)
     694                 TMath::Pi()*(0.5-1./180*event.ialt_arcs/3600), // altitude (arcseconds)
     695                 0, /* fTFirst */
     696                 0, /* fTLast */
     697                 0, /* fL_Nmax */
     698                 0, /* fL_t0 */
     699                 0, /* fL_tmax */
     700                 0, /* fL_a */
     701                 0, /* fL_b */
     702                 0, /* fL_c */
     703                 0, /* fL_chi2 */
     704                 0, /* uiPin */
     705                 0, /* uiPat */
     706                 0, /* uiPre */
     707                 0, /* uiPco */
     708                 0, /* uiPelS */
     709                 fIsMcFile ? event.fmcsize_phel : 0 /* uiPelC, Simulated SIZE */
     710                 );
     711
     712    fMcTrig->SetFirstLevel(event.imctriggerflag);    // MC data from Dorota get a triggerflag: 1 means triggered, 0 not. */
     713
     714    fMcTrig->SetReadyToSave();
    682715    fMcEvt->SetReadyToSave();
    683 
    684     if (!fIsMcFile)
    685         return;
    686 
    687     fMcEvt->SetPartId(event.imcparticle);        // corsika particle type
    688     fMcEvt->SetEnergy(event.fmcenergy_tev*1000); // simulated energy
    689     fMcEvt->SetImpact(event.imcimpact_m*100);    // simulated impact
    690 
    691     fMcTrig->SetFirstLevel(event.imctriggerflag);    // MC data from Dorota get a triggerflag: 1 means triggered, 0 not. */
    692     fMcTrig->SetReadyToSave();
    693 
    694     //float fmcsize_phel;   // Simulated SIZE
    695716}
    696717
  • trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.h

    r1600 r1663  
    6666    UInt_t GetEntries() { return fEntries; }
    6767
    68     ClassDef(MCT1ReadPreProc, 0)        // Reads the CT1 data file
     68    ClassDef(MCT1ReadPreProc, 0) // Reads the CT1 preproc data file
    6969};
    7070
  • trunk/MagicSoft/Mars/mhist/MHEnergyTheta.h

    r1574 r1663  
    4040    }
    4141
    42     ClassDef(MHEnergyTheta, 1)  // Data Container to calculate Collection Area
     42    ClassDef(MHEnergyTheta, 1)  // Histogram: Energy vs. Theta
    4343};
    4444
  • trunk/MagicSoft/Mars/mhist/MHEnergyTime.h

    r1574 r1663  
    4141    }
    4242
    43     ClassDef(MHEnergyTime, 1)  // Data Container to calculate Collection Area
     43    ClassDef(MHEnergyTime, 1)  // Histogram: Energy vs. Time
    4444};
    4545
  • trunk/MagicSoft/Mars/mhist/MHMcIntRate.h

    r1574 r1663  
    3636    void Calc(const MHMcDifRate &rate);
    3737
    38     ClassDef(MHMcIntRate, 1)  // Histogram container for montecarlo energy threshold
     38    ClassDef(MHMcIntRate, 1)  // Histogram container for integral event rate
    3939};
    4040
  • trunk/MagicSoft/Mars/mhist/MHMcRate.h

    r1165 r1663  
    5959    TObject *DrawClone(Option_t *o=NULL) const;
    6060
    61     ClassDef(MHMcRate, 1)  // Data Container to calculate Collection Area
     61    ClassDef(MHMcRate, 1)  // Data Container to calculate trigger rate
    6262};
    6363
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx

    r1594 r1663  
    9595/*    UInt_t GetPhotElinCamera() { return fPhotElinCamera; }             //Get Passed qe total*/
    9696
     97  Float_t GetTelescopePhi() const { return fTelescopePhi; }
     98  Float_t GetTelescopeTheta() const { return fTelescopeTheta; }
    9799
    98100  void SetPartId(Short_t PartId)
Note: See TracChangeset for help on using the changeset viewer.