Class SelectType


class SelectType
derived from IMCselector

Predicate function object to select HepMC::Particles with certain types which pass certain kinematic requirements.


Field Summary
 private doublem_etaMax
          max eta boundary
 private doublem_ptMin
          min pT boundary
 private vectorm_requiredTypes
          vector of required particle pdg codes

Constructor Summary
SelectType(vector requiredTypes, double ptMin, double EtaMax)
          Constructor
SelectType(int requiredType, double ptMin, double EtaMax)
           
SelectType(const SelectType & src)
          Copy Constructor

Destructor Summary
~SelectType()
          Destructor

Method Summary
 const IMCselector *create()
           
 const booloperator()(const HepMC::Particle * p)
          The operator() method to determine acceptability of particle
 const booloperator()(const HepMC::Particle & p)
           

Field Detail

m_etaMax

private double m_etaMax
max eta boundary

m_ptMin

private double m_ptMin
min pT boundary

m_requiredTypes

private vector m_requiredTypes
vector of required particle pdg codes
Constructor Detail

SelectType

public SelectType(vector requiredTypes, double ptMin, double EtaMax)
Constructor

SelectType

public SelectType(int requiredType, double ptMin, double EtaMax)

SelectType

public SelectType(const SelectType & src)
Copy Constructor
Method Detail

~SelectType

public ~SelectType()
Destructor
Method Detail

create

public const IMCselector * create()

operator()

public const bool operator()(const HepMC::Particle * p)
The operator() method to determine acceptability of particle

operator()

public const bool operator()(const HepMC::Particle & p)