ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
PseudoJetGetter::IParticleRejecter Struct Reference

#include <PseudoJetGetter.h>

Collaboration diagram for PseudoJetGetter::IParticleRejecter:

Public Member Functions

 IParticleRejecter (bool skip)
 
bool operator() (const xAOD::IParticle *ip)
 

Public Attributes

bool null {false}
 
bool negativeE {false}
 
bool skipNegativeEnergy {false}
 

Detailed Description

Definition at line 34 of file PseudoJetGetter.h.

Constructor & Destructor Documentation

◆ IParticleRejecter()

PseudoJetGetter::IParticleRejecter::IParticleRejecter ( bool  skip)
inline

Definition at line 39 of file PseudoJetGetter.h.

40  }

Member Function Documentation

◆ operator()()

bool PseudoJetGetter::IParticleRejecter::operator() ( const xAOD::IParticle ip)
inline

Definition at line 42 of file PseudoJetGetter.h.

42  {
43  null = (ip == 0);
44  negativeE = skipNegativeEnergy && ip->e() <= 0.0;
45  return (null || negativeE);
46  }

Member Data Documentation

◆ negativeE

bool PseudoJetGetter::IParticleRejecter::negativeE {false}

Definition at line 36 of file PseudoJetGetter.h.

◆ null

bool PseudoJetGetter::IParticleRejecter::null {false}

Definition at line 35 of file PseudoJetGetter.h.

◆ skipNegativeEnergy

bool PseudoJetGetter::IParticleRejecter::skipNegativeEnergy {false}

Definition at line 37 of file PseudoJetGetter.h.


The documentation for this struct was generated from the following file:
PseudoJetGetter::IParticleRejecter::negativeE
bool negativeE
Definition: PseudoJetGetter.h:36
PseudoJetGetter::IParticleRejecter::skipNegativeEnergy
bool skipNegativeEnergy
Definition: PseudoJetGetter.h:37
find_tgc_unfilled_channelids.ip
ip
Definition: find_tgc_unfilled_channelids.py:3
skip
bool skip
Definition: TrigGlobEffCorrValidation.cxx:190