#include <ASCcno.h>
Public Types | |
| One = 0 | |
| TwoL | |
| TwoR | |
| Three | |
| FourL | |
| FourR | |
| N_BoardPair | |
| A = 0 | |
| B | |
| None = 0 | |
| AOnly | |
| BOnly | |
| Both | |
| N_BoardStatus | |
| enum | BoardPair { One = 0, TwoL, TwoR, Three, FourL, FourR, N_BoardPair } |
| enum | BoardBit { A = 0, B } |
| enum | BoardStatus { None = 0, AOnly, BOnly, Both, N_BoardStatus } |
Public Member Functions | |
| ASCcno (unsigned ptr[24]) | |
| Constructor for initializing the ASCcno class with a ptr to the data. | |
| unsigned | counts (BoardPair board, BoardStatus status) const |
| Method for returning the number of counts with particular status flags. | |
| unsigned | counts_fired (BoardPair board) const |
| Method for returning the number times a particular Board pair fired. | |
| unsigned | counts_fired (BoardPair board, BoardBit AorB) const |
| Static method for returning the number times a particular Board pair fired. | |
| unsigned * | ptr () const |
Static Public Member Functions | |
| static unsigned | counts (unsigned *ptr, BoardPair board, BoardStatus status) |
| Static method for returning the number of counts with particular status flags. | |
| static unsigned | counts_fired (unsigned *ptr, BoardPair board) |
| Static method for returning the number times a particular Board pair fired. | |
| static unsigned | counts_fired (unsigned *ptr, BoardPair board, BoardBit AorB) |
| Static method for returning the number times a particular Board pair fired. | |
Copyright: Copyright 2005 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
| ASCcno::ASCcno | ( | unsigned | ptr[24] | ) | [inline] |
Constructor for initializing the ASCcno class with a ptr to the data.
| ptr | - pointer to the first bin of the ASC CNO data |
| unsigned ASCcno::counts | ( | BoardPair | board, | |
| BoardStatus | status | |||
| ) | const [inline] |
Method for returning the number of counts with particular status flags.
| pair | - which pair of free boards | |
| status | - CNO status of the free board pair |
| unsigned ASCcno::counts | ( | unsigned * | ptr, | |
| BoardPair | board, | |||
| BoardStatus | status | |||
| ) | [inline, static] |
Static method for returning the number of counts with particular status flags.
| ptr | - pointer to the first bin of the histogram | |
| pair | - which pair of free boards | |
| status | - CNO status of the free board pair |
| unsigned ASCcno::counts_fired | ( | BoardPair | board, | |
| BoardBit | AorB | |||
| ) | const [inline] |
Static method for returning the number times a particular Board pair fired.
| ptr | - pointer to the first bin of the histogram | |
| board | - which pair of free boards | |
| AorB | - which board in the pair |
| unsigned ASCcno::counts_fired | ( | unsigned * | ptr, | |
| BoardPair | board, | |||
| BoardBit | AorB | |||
| ) | [inline, static] |
Static method for returning the number times a particular Board pair fired.
| ptr | - pointer to the first bin of the histogram | |
| board | - which pair of free boards | |
| AorB | - which board in the pair |
| unsigned ASCcno::counts_fired | ( | BoardPair | board | ) | const [inline] |
Method for returning the number times a particular Board pair fired.
| board | - which pair of free boards |
| unsigned ASCcno::counts_fired | ( | unsigned * | ptr, | |
| BoardPair | board | |||
| ) | [inline, static] |
Static method for returning the number times a particular Board pair fired.
| ptr | - pointer to the first bin of the histogram | |
| board | - which pair of free boards |
1.4.7