Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Friends | List of all members
JFIT::JEvt Class Reference

Data structure for set of track fit results. More...

#include <JEvt.hh>

Inheritance diagram for JFIT::JEvt:
TObject std::vector< JFit >

Public Member Functions

 JEvt ()
 Default constructor. More...
 
template<class JPredicate_t >
void partition (JPredicate_t select)
 Select fits. More...
 
 ClassDef (JEvt, 3)
 

Friends

std::ostream & operator<< (std::ostream &out, const JEvt &event)
 Write event to output. More...
 

Detailed Description

Data structure for set of track fit results.

Definition at line 312 of file JEvt.hh.

Constructor & Destructor Documentation

JFIT::JEvt::JEvt ( )
inline

Default constructor.

Definition at line 320 of file JEvt.hh.

321  {}

Member Function Documentation

template<class JPredicate_t >
void JFIT::JEvt::partition ( JPredicate_t  select)
inline

Select fits.

Parameters
selectfit selection

Definition at line 330 of file JEvt.hh.

331  {
332  this->erase(std::partition(this->begin(), this->end(), select), this->end());
333  }
JFIT::JEvt::ClassDef ( JEvt  ,
 
)

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const JEvt event 
)
friend

Write event to output.

Parameters
outoutput stream
eventevent
Returns
output stream

Definition at line 343 of file JEvt.hh.

344  {
345  using namespace std;
346 
347  out << "Event: " << endl;
348 
349  for (JEvt::const_iterator fit = event.begin(); fit != event.end(); ++fit) {
350  out << *fit;
351  }
352 
353  return out;
354  }

The documentation for this class was generated from the following file: