Hi,
If I have a TChain, with 3 .root files a1.root, a2.root, and a3.root, and I want to multiply the their entries with different numbers as shown in the pseudo code
if file_name == “a1”:
then multiply the entries of a1 by A
elif file_name == “a2”:
then multiply the entries of a2 by B
elif file_name == “a3”
then multiply the entries of a3 by C
etc., etc.
then draw the chain with its entries multiplied by A, B, or C according to the file_name
How can I do this?
Thanks
ROOT Version: 6.14.04