Belle II Software development
compMCId Struct Reference

small helper functor to get the MCVXDPurityInfo with the passed ParticleId from a container of MCVXDPurityInfos More...

Public Member Functions

 compMCId (int j)
 explicit constructor for use as functor with arguments
 
bool operator() (const MCVXDPurityInfo &info)
 operator comparing the particle Id and the passed argument
 

Private Attributes

int i
 member holding the value that has to be mateched by the .first element of a pair
 

Detailed Description

small helper functor to get the MCVXDPurityInfo with the passed ParticleId from a container of MCVXDPurityInfos

Definition at line 117 of file purityCalculatorTools.cc.

Constructor & Destructor Documentation

◆ compMCId()

compMCId ( int  j)
inlineexplicit

explicit constructor for use as functor with arguments

Definition at line 118 of file purityCalculatorTools.cc.

Member Function Documentation

◆ operator()()

bool operator() ( const MCVXDPurityInfo info)
inline

operator comparing the particle Id and the passed argument

Definition at line 119 of file purityCalculatorTools.cc.

Member Data Documentation

◆ i

int i
private

member holding the value that has to be mateched by the .first element of a pair

Definition at line 124 of file purityCalculatorTools.cc.


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