#include <AssociatingDecayTree.h>
Definition at line 26 of file AssociatingDecayTree.h.
 
◆ AssociatingDecayTree() [1/2]
  
  | 
        
          | AssociatingDecayTree::AssociatingDecayTree | ( | const DecayTree & | tree | ) |  |  | inline | 
 
Definition at line 47 of file AssociatingDecayTree.h.
AssociatedDecayTree _theDecay
DalitzEventPattern _theTreesPattern
DalitzEventPattern _prevPattern
 
 
◆ AssociatingDecayTree() [2/2]
Definition at line 56 of file AssociatingDecayTree.h.
AssociatedDecayTree _theDecay
DalitzEventPattern _theTreesPattern
DalitzEventPattern _prevPattern
 
 
◆ addAssociations() [1/2]
Definition at line 74 of file AssociatingDecayTree.cpp.
std::vector< int > addAssociations(MINT::counted_ptr< AssociatedDecayTree > ctree) const
 
 
◆ addAssociations() [2/2]
Definition at line 78 of file AssociatingDecayTree.cpp.
   82   std::vector<int> allAsis;
    84   for(
int i=0; i< tree->
nDgtr(); i++){
    86     for(
unsigned int j=0; j<thisAsi.size(); j++){ allAsis.push_back(thisAsi[j]);}
    88   stable_sort(allAsis.begin(), allAsis.end());
 const ValueType & getVal() const
bool isFinalState() const
MINT::const_counted_ptr< DDTree< ValueType > > getDgtrTreePtr(int i) const
std::vector< int > addAssociations(MINT::counted_ptr< AssociatedDecayTree > ctree) const
 
 
◆ associate() [1/2]
Definition at line 14 of file AssociatingDecayTree.cpp.
   17   if(! success) 
return false;
 bool associateResonances() const
bool associateFinalStates(const DalitzEventPattern &pat) const
DalitzEventPattern _prevPattern
 
 
◆ associate() [2/2]
  
  | 
        
          | bool AssociatingDecayTree::associate | ( | const IDalitzEvent & | evt | ) | const |  | protected | 
 
Definition at line 11 of file AssociatingDecayTree.cpp.
virtual const DalitzEventPattern & eventPattern() const =0
bool associate(const DalitzEventPattern &pat) const
 
 
◆ associateFinalStates() [1/2]
Definition at line 26 of file AssociatingDecayTree.cpp.
   28   if(dbThis) cout << 
"associateFinalStates was called " << endl;
    29   if(pat.
empty())
return false;
    32   if(dbThis) cout << 
"got pattern of size " << pat.
size() << endl;
    33   if(fs_pat.empty()) 
return false;
    34   if(dbThis) cout << 
"pattern not empty" << endl;
    35   std::vector<AssociatedDecayTreeItem*> sorted 
    37   if(dbThis) cout << 
"sorted" << endl;
    38   if(sorted.size() != fs_pat.size()){
    39     cout << 
"Sizes: " << sorted.size() << 
" " << fs_pat.size() << endl;
    41     std::cout << 
"ERROR in AssociatingDecayTree::associate!"    43     for(
unsigned int i=0; i<fs_pat.size(); i++){
    44       std::cout << 
"(" << i << 
") " << fs_pat[i] << 
", ";
    46     std::cout << std::endl;
    48     for(
unsigned int i=0; i<sorted.size(); i++){
    49       std::cout << 
"(" << i << 
") " << *(sorted[i]) << 
", ";
    51     std::cout << std::endl;
    56   for(
unsigned int i=0; i<sorted.size(); i++){
    57     sorted[i]->_asi.clear();
    58     sorted[i]->_asi.push_back(i+1);
    61     std::cout << 
"the new sorted thing" << std::endl;
    62     for(
unsigned int i=0; i<sorted.size(); i++){
    63       std::cout << 
"(" << i << 
") " << *(sorted[i]) << 
", ";
 
std::vector< int > finalStates() const
AssociatedDecayTree _theDecay
unsigned int size() const
std::vector< ValueType * > finalStateInThisOrder(const std::vector< COMPARABLE_CLASS > &pattern)
 
 
◆ associateFinalStates() [2/2]
  
  | 
        
          | bool AssociatingDecayTree::associateFinalStates | ( | const IDalitzEvent & | evt | ) | const |  | protected | 
 
Definition at line 23 of file AssociatingDecayTree.cpp.
virtual const DalitzEventPattern & eventPattern() const =0
bool associateFinalStates(const DalitzEventPattern &pat) const
 
 
◆ associateResonances()
  
  | 
        
          | bool AssociatingDecayTree::associateResonances | ( |  | ) | const |  | protected | 
 
Definition at line 71 of file AssociatingDecayTree.cpp.
AssociatedDecayTree _theDecay
std::vector< int > addAssociations(MINT::counted_ptr< AssociatedDecayTree > ctree) const
 
 
◆ getBareTree()
  
  | 
        
          | DecayTree AssociatingDecayTree::getBareTree | ( |  | ) | const |  | inline | 
 
 
◆ getTree() [1/2]
Definition at line 135 of file AssociatingDecayTree.cpp.
AssociatedDecayTree _theDecay
bool patternHasChanged(const DalitzEventPattern &pat) const
bool associate(const DalitzEventPattern &pat) const
 
 
◆ getTree() [2/2]
Definition at line 131 of file AssociatingDecayTree.cpp.
bool patternHasChanged(const DalitzEventPattern &pat) const
const AssociatedDecayTree & getTree(const DalitzEventPattern &pat) const
virtual const DalitzEventPattern & eventPattern() const =0
bool associate(const DalitzEventPattern &pat) const
 
 
◆ getTreePattern()
◆ getTreePtr() [1/2]
Definition at line 126 of file AssociatingDecayTree.cpp.
AssociatedDecayTree _theDecay
bool patternHasChanged(const DalitzEventPattern &pat) const
bool associate(const DalitzEventPattern &pat) const
 
 
◆ getTreePtr() [2/2]
Definition at line 122 of file AssociatingDecayTree.cpp.
const AssociatedDecayTree * getTreePtr(const DalitzEventPattern &pat) const
bool patternHasChanged(const DalitzEventPattern &pat) const
virtual const DalitzEventPattern & eventPattern() const =0
bool associate(const DalitzEventPattern &pat) const
 
 
◆ patternHasChanged() [1/2]
Definition at line 98 of file AssociatingDecayTree.cpp.
  100   if(pat.
empty()) 
return false;
   103       std::cout << 
"prev pattern size != new pattern size: "    105       std::cout << 
" returning pattern has changed = true " << std::endl;
   115     std::cout << 
" returning pattern has changed = true " << std::endl;
 
unsigned int size() const
DalitzEventPattern _prevPattern
 
 
◆ patternHasChanged() [2/2]
  
  | 
        
          | bool AssociatingDecayTree::patternHasChanged | ( | const IDalitzEvent & | evt | ) | const |  | protected | 
 
Definition at line 95 of file AssociatingDecayTree.cpp.
bool patternHasChanged(const DalitzEventPattern &pat) const
virtual const DalitzEventPattern & eventPattern() const =0
 
 
◆ _prevPattern
◆ _theDecay
◆ _theTreesPattern
The documentation for this class was generated from the following files: