Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DFDCCathodeCluster_factory.cc File Reference

Go to the source code of this file.

Functions

bool DFDCHit_cmp (const DFDCHit *a, const DFDCHit *b)
 
bool DFDCHit_gLayer_cmp (const DFDCHit *a, const DFDCHit *b)
 DFDCHit_gLayer_cmp(): a non-member function passed to std::sort() for sorting DFDCHit pointers by their gLayer attributes. More...
 
bool DFDCHit_element_cmp (const DFDCHit *a, const DFDCHit *b)
 DFDCHit_element_cmp(): a non-member function passed to std::sort() for sorting DFDCHit pointers by their element (wire or strip) numbers. Typically only used for a single layer of hits. More...
 
bool DFDCHit_time_cmp (const DFDCHit *a, const DFDCHit *b)
 DFDCHit_time_cmp() a non-member function passed to std::stable_sort() for sorting DFDCHit pointers in order of increasing time, provided that the time difference is significant. More...
 
bool DFDCCathodeCluster_gPlane_cmp (const DFDCCathodeCluster *a, const DFDCCathodeCluster *b)
 DFDCCathodeCluster_gPlane_cmp(): a non-member function passed to std::sort() for sorting DFDCCathodeCluster pointers by their gPlane (plane number over all modules, 1-74) attributes. More...
 

Function Documentation

bool DFDCCathodeCluster_gPlane_cmp ( const DFDCCathodeCluster a,
const DFDCCathodeCluster b 
)

DFDCCathodeCluster_gPlane_cmp(): a non-member function passed to std::sort() for sorting DFDCCathodeCluster pointers by their gPlane (plane number over all modules, 1-74) attributes.

Definition at line 58 of file DFDCCathodeCluster_factory.cc.

References DFDCCathodeCluster::gPlane.

Referenced by DFDCCathodeCluster_factory::evnt().

bool DFDCHit_cmp ( const DFDCHit a,
const DFDCHit b 
)

Definition at line 11 of file DFDCCathodeCluster_factory.cc.

References DFDCHit::gLayer, and DFDCHit::t.

Referenced by DFDCCathodeCluster_factory::evnt().

bool DFDCHit_element_cmp ( const DFDCHit a,
const DFDCHit b 
)

DFDCHit_element_cmp(): a non-member function passed to std::sort() for sorting DFDCHit pointers by their element (wire or strip) numbers. Typically only used for a single layer of hits.

Definition at line 34 of file DFDCCathodeCluster_factory.cc.

References DFDCHit::element, DFDCHit::q, and DFDCHit::t.

Referenced by DFDCCathodeCluster_factory::evnt().

bool DFDCHit_gLayer_cmp ( const DFDCHit a,
const DFDCHit b 
)

DFDCHit_gLayer_cmp(): a non-member function passed to std::sort() for sorting DFDCHit pointers by their gLayer attributes.

Definition at line 24 of file DFDCCathodeCluster_factory.cc.

References DFDCHit::gLayer.

bool DFDCHit_time_cmp ( const DFDCHit a,
const DFDCHit b 
)

DFDCHit_time_cmp() a non-member function passed to std::stable_sort() for sorting DFDCHit pointers in order of increasing time, provided that the time difference is significant.

Definition at line 47 of file DFDCCathodeCluster_factory.cc.

References HIT_TIME_DIFF_MIN, and DFDCHit::t.