ATLAS Offline Software
Public Member Functions | List of all members
IVGammaORTool Class Referenceabstract

#include <IVGammaORTool.h>

Inheritance diagram for IVGammaORTool:
Collaboration diagram for IVGammaORTool:

Public Member Functions

virtual StatusCode inOverlap (bool &result, const std::vector< TLorentzVector > *leptons=0, const std::vector< TLorentzVector > *photons=0, const std::vector< int > *lepton_origins=0, const std::vector< int > *photon_origins=0) const =0
 Determine whether current event is in overlap region (set via reference). More...
 
virtual StatusCode photonPtsOutsideDr (std::vector< float > &result, const std::vector< TLorentzVector > *leptons=0, const std::vector< TLorentzVector > *photons=0, const std::vector< int > *lepton_origins=0, const std::vector< int > *photon_origins=0) const =0
 Determine the pTs of photons outside the dR cut that is configured in tool initialization (dR_lepton_photon_cut). More...
 
virtual StatusCode photonPtsOutsideDrs (std::map< float, std::vector< float > > &result, const std::vector< TLorentzVector > *leptons=0, const std::vector< TLorentzVector > *photons=0, const std::vector< int > *lepton_origins=0, const std::vector< int > *photon_origins=0) const =0
 Determine the pTs of photons outside of several dR cuts that are configured in tool initialization (dR_lepton_photon_cuts). More...
 
virtual bool frixioneIsolated (const xAOD::TruthParticle &photon, const xAOD::TruthParticleContainer &truthParticles, float dR0, float exponent, float epsilon) const =0
 Function determining whether a photon is frixione isolated from truthParticles Parameters as defined in https://arxiv.org/pdf/hep-ph/9801442. More...
 
virtual void print () const =0
 Print the state of the tool. More...
 

Detailed Description

Definition at line 33 of file IVGammaORTool.h.

Member Function Documentation

◆ frixioneIsolated()

virtual bool IVGammaORTool::frixioneIsolated ( const xAOD::TruthParticle photon,
const xAOD::TruthParticleContainer truthParticles,
float  dR0,
float  exponent,
float  epsilon 
) const
pure virtual

Function determining whether a photon is frixione isolated from truthParticles Parameters as defined in https://arxiv.org/pdf/hep-ph/9801442.

Implemented in VGammaORTool.

◆ inOverlap()

virtual StatusCode IVGammaORTool::inOverlap ( bool &  result,
const std::vector< TLorentzVector > *  leptons = 0,
const std::vector< TLorentzVector > *  photons = 0,
const std::vector< int > *  lepton_origins = 0,
const std::vector< int > *  photon_origins = 0 
) const
pure virtual

Determine whether current event is in overlap region (set via reference).

The overlap region is defined by dR_lepton_photon_cut, photon_pT_cut and many more configurable parameters. Note that the function returns a status code. The first agument is the result, the remaining arguments are optional:

  • If null pointers are given for leptons or photons, they will be taken from the event
  • One can override this behaviour by manually specifying vectors of lepton/photon
  • If lepton or photon origins are given in addition to the lepton four vectors, particles from irrelevant origins (e.g. decays) are filtered out This can be useful when working with derivations which store the origin but not the full truth record

Implemented in VGammaORTool.

◆ photonPtsOutsideDr()

virtual StatusCode IVGammaORTool::photonPtsOutsideDr ( std::vector< float > &  result,
const std::vector< TLorentzVector > *  leptons = 0,
const std::vector< TLorentzVector > *  photons = 0,
const std::vector< int > *  lepton_origins = 0,
const std::vector< int > *  photon_origins = 0 
) const
pure virtual

Determine the pTs of photons outside the dR cut that is configured in tool initialization (dR_lepton_photon_cut).

Calculates a vector of photon pts, ordered by descending pt. Once these values are calculated they can be stored and used to easily perform OR with arbitrary pT. Note that the function returns a status code. The first agument is the result, the remaining arguments are optional

  • If null pointers are given for leptons or photons, they will be taken from the event
  • One can override this behaviour by manually specifying vectors of lepton/photon
  • If lepton or photon origins are given in addition to the lepton four vectors, particles from irrelevant origins (e.g. decays) are filtered out This can be useful when working with derivations which store the origin but not the full truth record

Implemented in VGammaORTool.

◆ photonPtsOutsideDrs()

virtual StatusCode IVGammaORTool::photonPtsOutsideDrs ( std::map< float, std::vector< float > > &  result,
const std::vector< TLorentzVector > *  leptons = 0,
const std::vector< TLorentzVector > *  photons = 0,
const std::vector< int > *  lepton_origins = 0,
const std::vector< int > *  photon_origins = 0 
) const
pure virtual

Determine the pTs of photons outside of several dR cuts that are configured in tool initialization (dR_lepton_photon_cuts).

Calculates a mapping between dRs and vector of photon pts (ordered by descending pt). Once these values are calculated they can be stored and used to easily perform OR with arbitrary pT and multiple dR cuts. Note that the function returns a status code. The first agument is the result, the remaining arguments are optional

  • If null pointers are given for leptons or photons, they will be taken from the event
  • One can override this behaviour by manually specifying vectors of lepton/photon
  • If lepton or photon origins are given in addition to the lepton four vectors, particles from irrelevant origins (e.g. decays) are filtered out This can be useful when working with derivations which store the origin but not the full truth record

Implemented in VGammaORTool.

◆ print()

virtual void asg::IAsgTool::print ( ) const
pure virtualinherited

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