Ignore:
Timestamp:
02/12/09 20:07:51 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msimreflector/MSimReflector.cc

    r9312 r9328  
    103103        return kFALSE;
    104104
    105     fReflector = (MReflector*)pList->FindObject("MReflector");
     105    fReflector = (MReflector*)pList->FindObject("Reflector", "MReflector");
    106106    if (!fReflector)
    107107    {
    108         *fLog << err << "MReflector not found... aborting." << endl;
     108        *fLog << err << "Reflector [MReflector] not found... aborting." << endl;
    109109        return kFALSE;
    110110    }
     
    430430
    431431    TClonesArray &cpy0 = fMirror0->GetArray();
    432     TClonesArray &cpy1 = fMirror1->GetArray();
     432    //TClonesArray &cpy1 = fMirror1->GetArray();
    433433    TClonesArray &cpy2 = fMirror2->GetArray();
    434434    TClonesArray &cpy3 = fMirror3->GetArray();
    435435    TClonesArray &cpy4 = fMirror4->GetArray();
    436436    cpy0.ExpandCreateFast(arr.GetEntriesFast());
    437     cpy1.ExpandCreateFast(arr.GetEntriesFast());
     437    //cpy1.ExpandCreateFast(arr.GetEntriesFast());
    438438    cpy2.ExpandCreateFast(arr.GetEntriesFast());
    439439    cpy3.ExpandCreateFast(arr.GetEntriesFast());
     
    507507
    508508        // FIXME: Do we really need this one??
    509         *static_cast<MPhotonData*>(cpy1.UncheckedAt(cnt[1]++)) = *dat;
     509        //*static_cast<MPhotonData*>(cpy1.UncheckedAt(cnt[1]++)) = *dat;
    510510
    511511        // Check if the reflector can be hit at all
     
    549549    // MPhotonEvent::Shrink).
    550550    fMirror0->Shrink(cnt[0]);
    551     fMirror1->Shrink(cnt[1]);
     551    //fMirror1->Shrink(cnt[1]);
    552552    fMirror2->Shrink(cnt[2]);
    553553    fMirror3->Shrink(cnt[3]);
Note: See TracChangeset for help on using the changeset viewer.