Re: Detector response analysis [message #13512 is a reply to message #13511] |
Wed, 23 May 2012 11:34 |
Ralf Kliemt
Messages: 507 Registered: May 2007 Location: GSI, Darmstadt
|
first-grade participant |
From: *cb.uni-bonn.de
|
|
Hi,
I played around with your data and finally made a macro which can read some RadLen data. I reused my own approach, because I have no patience these days to understand what you want to analyze. The file is attached and cleaned of most "weight".
Be reminded that reading data needs the correct setup of file, tree and branch, as well as the TClonesArrays. Taking an object has also follow the way it is done here.
"push_back(x)" is a function of std::vector which adds the value or object x at the end of the array.
Cheers. Ralf
[Updated on: Wed, 23 May 2012 11:34] Report message to a moderator
|
|
|