Changeset 92
- Timestamp:
- Jan 24, 2006, 10:27:24 AM (19 years ago)
- Location:
- MEMPHYS/HEAD/run
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MEMPHYS/HEAD/run/MEMPHYS_read_event.C
r28 r92 52 52 TTree* Event_hit = new TTree(); 53 53 tEvent->SetBranchAddress("hit",&Event_hit); 54 Int_t tubeId_hit; //JEC 16/1/06 54 55 Int_t totalPE; 55 56 … … 106 107 // Have a brand new overwritten hit TTree ; we have 107 108 // to rebind its user variables : 109 Event_hit->SetBranchAddress("tubeId",&tubeId_hit); //JEC 16/1/06 108 110 Event_hit->SetBranchAddress("totalPE",&totalPE); 109 111 Event_hit->SetBranchAddress("pe",&Hit_pe); 110 112 111 // Have a brand new overwritten hit TTree ; we have113 // Have a brand new overwritten digit TTree ; we have 112 114 // to rebind its user variables : 113 115 Event_digit->SetBranchAddress("tubeId",&tubeId); … … 164 166 165 167 Hit_pe->SetBranchAddress("time",&hit_time); 166 167 std::cout << "----> Hit{"<<k<<"}: t otal #PE " << totalPE << std::endl;168 //JEC 16/1/06 add the tubeId_hit info 169 std::cout << "----> Hit{"<<k<<"}: tube[" << tubeId_hit << "] total #PE " << totalPE << std::endl; 168 170 for (Int_t ki=0; ki<Hit_pe->GetEntries(); ++ki) { 169 171 Hit_pe->GetEntry(ki);
Note: See TracChangeset
for help on using the changeset viewer.