Data structure for set of track fit results.  
 More...
#include <JEvt.hh>
 | 
|   | JEvt () | 
|   | Default constructor.  More...
  | 
|   | 
| template<class JSelector_t >  | 
| void  | select (const JSelector_t &selector) | 
|   | Select fits.  More...
  | 
|   | 
| template<class JComparator_t >  | 
| void  | select (const size_t number_of_fits, const JComparator_t &comparator) | 
|   | Select fits.  More...
  | 
|   | 
|   | ClassDef (JEvt, 3) | 
|   | 
Data structure for set of track fit results. 
Definition at line 294 of file JEvt.hh.
 
Default constructor. 
Definition at line 302 of file JEvt.hh.
 
 
template<class JSelector_t > 
  
  
      
        
          | void JFIT::JEvt::select  | 
          ( | 
          const JSelector_t &  | 
          selector | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Select fits. 
- Parameters
 - 
  
  
 
Definition at line 314 of file JEvt.hh.
  320         iterator __end = partition(this->begin(), this->end(), selector);
 
  322         this->erase(__end, this->end());
 
 
 
 
template<class JComparator_t > 
  
  
      
        
          | void JFIT::JEvt::select  | 
          ( | 
          const size_t  | 
          number_of_fits,  | 
         
        
           | 
           | 
          const JComparator_t &  | 
          comparator  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Select fits. 
- Parameters
 - 
  
    | number_of_fits | maximal number of best fits to select  | 
    | comparator | quality comparator  | 
  
   
Definition at line 334 of file JEvt.hh.
  343         if (number_of_fits > 0 && number_of_fits < this->size()) { 
 
  345           advance(__end = this->begin(), number_of_fits);
 
  347           partial_sort(this->begin(), __end, this->end(), comparator);
 
  351           sort(this->begin(), __end, comparator);
 
  354         this->erase(__end, this->end());
 
counter_type advance(counter_type &counter, const counter_type value, const counter_type limit=std::numeric_limits< counter_type >::max())
Advance counter. 
 
 
 
 
      
        
          | JFIT::JEvt::ClassDef  | 
          ( | 
          JEvt  | 
          ,  | 
        
        
           | 
           | 
          3  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JEvt &  | 
          event  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write event to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | event | event  | 
  
   
- Returns
 - output stream 
 
Definition at line 366 of file JEvt.hh.
  370       out << 
"Event: " << endl;
 
  372       for (JEvt::const_iterator fit = event.begin(); fit != 
event.end(); ++fit) {
 
 
 
 
The documentation for this class was generated from the following file: