CBAlgoProhibitAllTracks.cxx
Go to the documentation of this file.
2 
3 namespace cmtool {
4 
5  //-------------------------------------------------------
7  //-------------------------------------------------------
8  {
9  SetMinEP(.990000);
10  }
11 
12  //-----------------------------
14  //-----------------------------
15  {
16 
17  }
18 
19  //------------------------------------------------------------------------------------------
20  //void CBAlgoProhibitAllTracks::EventBegin(const std::vector<cluster::ClusterParamsAlg> &clusters)
21  //------------------------------------------------------------------------------------------
22  //{
23  //
24  //}
25 
26  //-------------------------------
27  //void CBAlgoProhibitAllTracks::EventEnd()
28  //-------------------------------
29  //{
30  //
31  //}
32 
33  //-----------------------------------------------------------------------------------------------
34  //void CBAlgoProhibitAllTracks::IterationBegin(const std::vector<cluster::ClusterParamsAlg> &clusters)
35  //-----------------------------------------------------------------------------------------------
36  //{
37  //
38  //}
39 
40  //------------------------------------
41  //void CBAlgoProhibitAllTracks::IterationEnd()
42  //------------------------------------
43  //{
44  //
45  //}
46 
47  //----------------------------------------------------------------
48  bool CBAlgoProhibitAllTracks::Bool(const ::cluster::ClusterParamsAlg &cluster1,
49  const ::cluster::ClusterParamsAlg &cluster2)
50  //----------------------------------------------------------------
51  {
52  //return true means don't prohibit these two clusters
53  if(cluster1.GetParams().eigenvalue_principal > _min_EP ||
54  cluster2.GetParams().eigenvalue_principal > _min_EP)
55  {
56  if(_verbose)
57  std::cout<<"Prohibiting clusters with EP's of "
58  <<cluster1.GetParams().eigenvalue_principal
59  <<" and "
60  <<cluster2.GetParams().eigenvalue_principal
61  <<std::endl;
62  return true;
63  }
64  return false;
65  }
66 
67  //------------------------------
69  //------------------------------
70  {
71 
72  }
73 
74 }
virtual void Reset()
Function to reset the algorithm instance ... maybe implemented via child class.
Class def header for a class CBAlgoProhibitAllTracks.
virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1, const ::cluster::ClusterParamsAlg &cluster2)
CBAlgoProhibitAllTracks()
Default constructor.
bool _verbose
Boolean to choose verbose mode. Turned on if CMergeManager/CMatchManager&#39;s verbosity level is >= kPer...
Definition: CMAlgoBase.h:102
QTextStream & endl(QTextStream &s)