ATLAS Offline Software
Loading...
Searching...
No Matches
ITruthClassificationTool.h File Reference
#include <iostream>
#include <type_traits>
#include <AsgAnalysisInterfaces/IClassificationTool.h>
#include <xAODBase/IParticle.h>
Include dependency graph for ITruthClassificationTool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ITruthClassificationTool
 a tool interface to classify particles into multiple categories based on their truth information More...

Namespaces

namespace  Truth

Enumerations

enum class  Truth::Type {
  Truth::Unknown , Truth::KnownUnknown , Truth::IsoElectron , Truth::ChargeFlipIsoElectron ,
  Truth::PromptMuon , Truth::PromptPhotonConversion , Truth::ElectronFromMuon , Truth::TauDecay ,
  Truth::BHadronDecay , Truth::CHadronDecay , Truth::LightFlavorDecay , Truth::ChargeFlipMuon ,
  Truth::NonMuonlike , Truth::TauDecayLike = 70 , Truth::BHadronDecayLike = 80 , Truth::CHadronDecayLike = 90
}
 truth classification type enum More...

Functions

std::ostream & operator<< (std::ostream &os, const Truth::Type &obj)

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const Truth::Type & obj )
inline

Definition at line 40 of file ITruthClassificationTool.h.

41{
42 os << static_cast<std::underlying_type<Truth::Type>::type>(obj);
43 return os;
44}