Class CellDumper
- class CellDumper
Utility comparison object which dumps Cell information.
CellDumper works with cells using the ICellWrapper interface
so that attributes of Athena-Atlfast Cells and AtlfastF Cells
can be compared.
Field Summary |
private std::vector | m_cells CellDumper's collection of cells |
private std::string | m_label Identifier label |
Constructor Summary |
CellDumper(std::vector c, std::string label) Constructer taking a vector of CellWrappers. |
Method Summary |
void | dump() dumps the cells attributes (eta/phi/pT/number of hits) to std::out. |
private void | findParticleMatch(const std::vector & , const std::vector & ) dumps particles from one vector of ICellWrappers
which occur in another vector of ICellWrappers. |
void | findShared(const CellDumper & ) dumps cells shared with another CellDumper object to std::out. |
private void | oneDump(ICellWrapper * ) std::out dump of attributes (eta/phi/pT/number of hits)
of provided ICellWrapper. |
void | sortByEta() Sort cells in ascending eta. |
private const double | sumPt(const const_iterator, const const_iterator) Sums the pT of the cells between the two provided iterators. |
double | totalPt() Gives Pt sum of the cells. |
m_cells
private std::vector m_cells
- CellDumper's collection of cells
m_label
private std::string m_label
- Identifier label
CellDumper
public CellDumper(std::vector c, std::string label)
- Constructer taking a vector of CellWrappers.
~CellDumper
public ~CellDumper()
dump
public void dump()
- dumps the cells attributes (eta/phi/pT/number of hits) to std::out.
findParticleMatch
private void findParticleMatch(const std::vector & , const std::vector & )
- dumps particles from one vector of ICellWrappers
which occur in another vector of ICellWrappers.
findShared
public void findShared(const CellDumper & )
- dumps cells shared with another CellDumper object to std::out.
oneDump
private void oneDump(ICellWrapper * )
- std::out dump of attributes (eta/phi/pT/number of hits)
of provided ICellWrapper.
sortByEta
public void sortByEta()
- Sort cells in ascending eta.
sumPt
private const double sumPt(const const_iterator, const const_iterator)
- Sums the pT of the cells between the two provided iterators.
totalPt
public double totalPt()
- Gives Pt sum of the cells.