All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
lar_cluster3d::HitPairClusterOrder Struct Reference

Public Member Functions

bool operator() (const reco::HitPairClusterMap::iterator &left, const reco::HitPairClusterMap::iterator &right)
 
bool operator() (const reco::ClusterParametersList::iterator &left, const reco::ClusterParametersList::iterator &right)
 
bool operator() (const reco::HitPairClusterMap::iterator &left, const reco::HitPairClusterMap::iterator &right)
 
bool operator() (const reco::HitPairClusterMap::iterator &left, const reco::HitPairClusterMap::iterator &right)
 

Detailed Description

Definition at line 490 of file SnippetHit3DBuilderICARUS_tool.cc.

Member Function Documentation

bool lar_cluster3d::HitPairClusterOrder::operator() ( const reco::HitPairClusterMap::iterator &  left,
const reco::HitPairClusterMap::iterator &  right 
)
inline

Definition at line 418 of file SnippetHit3DBuilder_tool.cc.

419  {
420  // Watch out for the case where two clusters can have the same number of hits!
421  if (left->second.size() == right->second.size())
422  return left->first < right->first;
423 
424  return left->second.size() > right->second.size();
425  }
walls no right
Definition: selectors.fcl:105
walls no left
Definition: selectors.fcl:105
bool lar_cluster3d::HitPairClusterOrder::operator() ( const reco::HitPairClusterMap::iterator &  left,
const reco::HitPairClusterMap::iterator &  right 
)
inline

Definition at line 444 of file StandardHit3DBuilder_tool.cc.

446  {
447  // Watch out for the case where two clusters can have the same number of hits!
448  if (left->second.size() == right->second.size()) return left->first < right->first;
449 
450  return left->second.size() > right->second.size();
451  }
walls no right
Definition: selectors.fcl:105
walls no left
Definition: selectors.fcl:105
bool lar_cluster3d::HitPairClusterOrder::operator() ( const reco::HitPairClusterMap::iterator &  left,
const reco::HitPairClusterMap::iterator &  right 
)
inline

Definition at line 492 of file SnippetHit3DBuilderICARUS_tool.cc.

493  {
494  // Watch out for the case where two clusters can have the same number of hits!
495  if (left->second.size() == right->second.size())
496  return left->first < right->first;
497 
498  return left->second.size() > right->second.size();
499  }
walls no right
Definition: selectors.fcl:105
walls no left
Definition: selectors.fcl:105
bool lar_cluster3d::HitPairClusterOrder::operator() ( const reco::ClusterParametersList::iterator &  left,
const reco::ClusterParametersList::iterator &  right 
)
inline

Definition at line 854 of file MinSpanTreeAlg_tool.cc.

855  {
856  // Watch out for the case where two clusters can have the same number of hits!
857  return (*left).getHitPairListPtr().size() > (*right).getHitPairListPtr().size();
858  }

The documentation for this struct was generated from the following files: