 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef XAODEGAMMA_EGAMMADETAILS_H
6 #define XAODEGAMMA_EGAMMADETAILS_H
13 namespace EgammaDetails
47 if (nSiHits1 && nSiHits2){
50 if (nSiHits1 || nSiHits2){
65 return hasVertices && (std::abs(eta) > 0.8 || !isTRTConv);
@ unconverted
unconverted photon
int nVertices(const Polygon &p)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
bool isConvertedPhoton(const bool excludeTRT, const float eta, const std::size_t nVertices, const ConversionType conversionType)
is the object a converted photon
ConversionType conversionType(const bool hasTrk1, const bool hasTrk2, const std::uint8_t nSiHits1, const std::uint8_t nSiHits2)
return the photon conversion type (see EgammaEnums)
@ doubleSi
two tracks, both with Si hits
@ doubleSiTRT
two tracks, only one with Si hits
@ singleTRT
one track only, no Si hits (TRT only)
@ singleSi
one track only, with Si hits
@ doubleTRT
two tracks, none with Si hits (TRT only)