RooCategory::tagCat = Lepton(idx = 0) --- RooAbsArg --- Value State: clean Shape State: clean Attributes: Address: 0x7ffcc91a1d60 Clients: Servers: Proxies: --- RooAbsCategory --- Value = -1 "B0) Possible states: B0 -1 B0bar 1 This is the for loop over states of 'largeCat': A 0 F 133 H -20 b 2 c 8 dee 4 g 15 Has label 'A': 1 Has index '-20': 1 Label corresponding to '2' is b Index corresponding to 'A' is 0 Current index is 0 Current label is A Roo1DTable::b0flav = (B0=5058,B0bar=4942) Table b0flav : pData +-------+------+ | B0 | 5058 | | B0bar | 4942 | +-------+------+ Roo1DTable::tagCat = (Lepton=454,Kaon=450,NetTagger-1=432,NetTagger-2=429) Table tagCat : pData(x>8.23) +-------------+-----+ | Lepton | 454 | | Kaon | 450 | | NetTagger-1 | 432 | | NetTagger-2 | 429 | +-------------+-----+ Table (tagCat x b0flav) : pData +---------------------+------+ | {Lepton;B0} | 1302 | | {Kaon;B0} | 1232 | | {NetTagger-1;B0} | 1242 | | {NetTagger-2;B0} | 1282 | | {Lepton;B0bar} | 1192 | | {Kaon;B0bar} | 1314 | | {NetTagger-1;B0bar} | 1208 | | {NetTagger-2;B0bar} | 1228 | +---------------------+------+ Number of events with B0 flavor is 5058 Fraction of events tagged with Lepton tag is 0.257224 Table tagCat : pData +-------------+------+ | Lepton | 2494 | | Kaon | 2546 | | NetTagger-1 | 0 | | NetTagger-2 | 0 | +-------------+------+