FairRoot/PandaRoot
Classes | Functions
PndEvtFilter.h File Reference
#include "Rtypes.h"
#include "TClonesArray.h"
#include <iostream>
#include "TParticle.h"
#include "RhoCandidate.h"
#include "RhoCandList.h"
#include "TLorentzVector.h"
#include "FairEvtFilter.h"

Go to the source code of this file.

Classes

class  PndEvtFilter
 

Functions

std::ostreamoperator<< (std::ostream &os, const std::set< Int_t > &set)
 

Function Documentation

std::ostream& operator<< ( std::ostream os,
const std::set< Int_t > &  set 
)

PndEvtFilter.h

Author: Martin Galuska

Abstract base class for event filters adding PandaRoot specific capabilities (FillList mainly)

Can be used to derive event filters which reject generated events which should not be fed into the transport.

Each concrete filter class derived from this one must implement the abstract method EventMatches, in which the particular filter criteria are realized.

FairEvtFilter.h

Authors: Martin Galuska, Katja Kleeberg

abstract base class for event filters used to reject generated events which should not be fed into the transport. Each concrete filter class derived from this one must implement the abstract method EventMatches, in which the particular filter criteria are realized.

Definition at line 38 of file FairEvtFilter.cxx.

39 {
40  std::set<Int_t>::iterator iter;
41  os << "{";
42  for(iter=set.begin(); iter!=set.end(); ++iter){
43  os << *iter;
44  if(iter!=--set.end()){os << ",";}
45  }
46  os << "}\n";
47 
48  return os;
49 }