Changeset 28 for MEMPHYS


Ignore:
Timestamp:
Nov 29, 2005, 1:39:21 PM (19 years ago)
Author:
campagne
Message:

fix bugs and polish print

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MEMPHYS/HEAD/run/MEMPHYS_read_event.C

    r22 r28  
    107107    // to rebind its user variables :
    108108    Event_hit->SetBranchAddress("totalPE",&totalPE);
    109     Event_hit->SetBranchAddress("hit",&Hit_pe);
     109    Event_hit->SetBranchAddress("pe",&Hit_pe);
    110110   
    111111    // Have a brand new overwritten hit TTree ; we have
     
    144144                << " parent " << parent
    145145                << " creation time " << timeStart
    146                 << "Volumes " << startVol << " " << stopVol << "\n"
    147                 << "Start Pos (" << start_x << "," << start_y << "," << start_z << ")\n"
    148                 << "Stop Pos (" << stop_x << "," << stop_y << "," << stop_z << ")\n"
     146                << " Volumes " << startVol << " " << stopVol << "\n"
     147                << " Start Pos (" << start_x << "," << start_y << "," << start_z << ")\n"
     148                << " Stop Pos (" << stop_x << "," << stop_y << "," << stop_z << ")\n"
    149149                << " dx,dy,dz " << dx << " " << dy << " " << dz << "\n"
    150150                << " m " << mass
     
    165165      Hit_pe->SetBranchAddress("time",&hit_time);
    166166     
    167       std::cout << "----> Hit{"<<k<<"}: totalPE" << totalPE << std::endl;
     167      std::cout << "----> Hit{"<<k<<"}: total #PE " << totalPE << std::endl;
    168168      for (Int_t ki=0; ki<Hit_pe->GetEntries(); ++ki) {
    169169        Hit_pe->GetEntry(ki);
Note: See TracChangeset for help on using the changeset viewer.