class TreeSearch::HitSet

Function Members (Methods)

public:
virtual~HitSet()
Bool_tCheckMatch(const TBits* bits) const
static Bool_tCheckMatch(const TreeSearch::Hset_t& hits, const TBits* bits)
static TClass*Class()
static UInt_tGetMatchValue(const TreeSearch::Hset_t& hits)
TreeSearch::HitSetHitSet()
TreeSearch::HitSetHitSet(const TreeSearch::HitSet&)
virtual TClass*IsA() const
Bool_tIsSimilarTo(const TreeSearch::HitSet& tryset, Int_t maxdist = 0) const
TreeSearch::HitSet&operator=(const TreeSearch::HitSet&)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

public:
TreeSearch::Hset_thitsHits associated with a pattern
UInt_tnplanesnumber of active planes
UInt_tplane_patternBit pattern of plane numbers occupied by hits
UInt_tusedPattern has been assigned to a road

Class Charts

Inheritance Chart:
TreeSearch::HitSet

Function documentation

UInt_t GetMatchValue(const TreeSearch::Hset_t& hits)
 Return plane occupancy pattern of given hitset
Bool_t IsSimilarTo(const TreeSearch::HitSet& tryset, Int_t maxdist = 0) const
 If maxdist == 0:
 Similar to STL includes() algorithm, but allows tryset to have additional
 hits in a given wire plane if there is at least one included hit in that
 plane.

 Example: the following matches, despite the extra hit in "try":
   this:  30/   32/40/50/51
   try:   --/31 32/40/50/51

 Standard includes() implies intersection == set2.
 This algorithm tests planepattern(intersection) == planepattern(set2)

 If maxdist > 0:
 Same as above, but consider hits "equal" not only if they are identical
 but also if their wire numbers are at most maxdist apart.

 Exmaple: the following two patters are "similar" with maxdist = 1:
   this:  30/32/40/50/51
   try:   31/32/40/50/51

 This mode can be used to build "clusters" of patterns.
HitPairIter& operator=(const TreeSearch::HitSet& )
HitSet(const TreeSearch::HitSet& )
{}
virtual ~HitSet()
{}
Bool_t CheckMatch(const TreeSearch::Hset_t& hits, const TBits* bits)
Bool_t CheckMatch(const TBits* bits) const

Last update: Tue Jul 7 19:26:18 2009

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.