Changeset 28
- Timestamp:
- Nov 29, 2005, 1:39:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MEMPHYS/HEAD/run/MEMPHYS_read_event.C
r22 r28 107 107 // to rebind its user variables : 108 108 Event_hit->SetBranchAddress("totalPE",&totalPE); 109 Event_hit->SetBranchAddress(" hit",&Hit_pe);109 Event_hit->SetBranchAddress("pe",&Hit_pe); 110 110 111 111 // Have a brand new overwritten hit TTree ; we have … … 144 144 << " parent " << parent 145 145 << " 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" 149 149 << " dx,dy,dz " << dx << " " << dy << " " << dz << "\n" 150 150 << " m " << mass … … 165 165 Hit_pe->SetBranchAddress("time",&hit_time); 166 166 167 std::cout << "----> Hit{"<<k<<"}: total PE" << totalPE << std::endl;167 std::cout << "----> Hit{"<<k<<"}: total #PE " << totalPE << std::endl; 168 168 for (Int_t ki=0; ki<Hit_pe->GetEntries(); ++ki) { 169 169 Hit_pe->GetEntry(ki);
Note: See TracChangeset
for help on using the changeset viewer.