Jpp
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 293 of file JEvt.hh.

Constructor & Destructor Documentation

◆ JEvt()

JFIT::JEvt::JEvt ( )
inline

Default constructor.

Definition at line 301 of file JEvt.hh.

302  {}

Member Function Documentation

◆ partition()

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

Select fits.

Parameters
selectfit selection

Definition at line 311 of file JEvt.hh.

312  {
313  this->erase(std::partition(this->begin(), this->end(), select), this->end());
314  }

◆ ClassDef()

JFIT::JEvt::ClassDef ( JEvt  ,
 
)

Friends And Related Function Documentation

◆ operator<<

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

Write event to output.

Parameters
outoutput stream
eventevent
Returns
output stream

Definition at line 324 of file JEvt.hh.

325  {
326  using namespace std;
327 
328  out << "Event: " << endl;
329 
330  for (JEvt::const_iterator fit = event.begin(); fit != event.end(); ++fit) {
331  out << *fit;
332  }
333 
334  return out;
335  }

The documentation for this class was generated from the following file:
std
Definition: jaanetDictionary.h:36