group Analysis / beam compatibility testing
Analysis / beam compatibility testing
Functions
Name | |
---|---|
bool | isCompatible(const ParticlePair & beams) const Check if analysis is compatible with the provided beam particle IDs and energies. |
bool | isCompatible(PdgId beam1, PdgId beam2, double e1, double e2) const Check if analysis is compatible with the provided beam particle IDs and energies. |
bool | isCompatible(const PdgIdPair & beams, const std::pair< double, double > & energies) const Check if analysis is compatible with the provided beam particle IDs and energies. |
bool | isCompatibleWithSqrtS(const float energy, float tolerance =1E-5) const Check if sqrtS is compatible with provided value. |
Detailed Description
Todo: Replace with beamsCompatible() with no args (calling beams() function internally)
Add beamsMatch() methods with same (shared-code?) tolerance as in beamsCompatible()
Functions Documentation
function isCompatible
bool isCompatible(
const ParticlePair & beams
) const
Check if analysis is compatible with the provided beam particle IDs and energies.
function isCompatible
bool isCompatible(
PdgId beam1,
PdgId beam2,
double e1,
double e2
) const
Check if analysis is compatible with the provided beam particle IDs and energies.
function isCompatible
bool isCompatible(
const PdgIdPair & beams,
const std::pair< double, double > & energies
) const
Check if analysis is compatible with the provided beam particle IDs and energies.
function isCompatibleWithSqrtS
bool isCompatibleWithSqrtS(
const float energy,
float tolerance =1E-5
) const
Check if sqrtS is compatible with provided value.
Updated on 2022-08-07 at 20:17:18 +0100