#include <FsrPhotonTool.h>
Public Member Functions | |
| FsrPhotonTool (const std::string &name) | |
| Create a proper constructor for Athena. | |
Function(s) implementing the asg::IAsgTool interface | |
| virtual StatusCode | initialize () |
| Function initialising the tool. | |
Function(s) implementing the IFsrPhotonTool interface | |
| virtual CP::CorrectionCode | getFsrPhoton (const xAOD::IParticle *part, FsrCandidate &candidate, const xAOD::PhotonContainer *photons=0, const xAOD::ElectronContainer *electrons=0) |
| Get the "FSR candidate" as a return value for a muon (collinar and far FSR). | |
| virtual std::vector < FsrCandidate > * | getFsrCandidateList (const xAOD::IParticle *part, const xAOD::PhotonContainer *photons=0, const xAOD::ElectronContainer *electrons=0) |
| virtual std::vector < FsrCandidate > * | getFarFsrCandidateList (const xAOD::IParticle *part, const xAOD::PhotonContainer *photons_cont) |
| Find and Return ALL FAR FSR candidates. | |
| virtual std::vector < FsrCandidate > * | getNearFsrCandidateList (const xAOD::Muon *part, const xAOD::PhotonContainer *photons_cont, const xAOD::ElectronContainer *electrons_cont) |
| Find and Return ALL NEAR FSR candidates. | |
Implementation for the "FSR" provider tool
| FSR::FsrPhotonTool::FsrPhotonTool | ( | const std::string & | name | ) |
Create a proper constructor for Athena.
Create a constructor for standalone usage
| std::vector< FsrCandidate > * FSR::FsrPhotonTool::getFarFsrCandidateList | ( | const xAOD::IParticle * | part, | |
| const xAOD::PhotonContainer * | photons_cont | |||
| ) | [virtual] |
Find and Return ALL FAR FSR candidates.
Set FSR type to far
return sorted list
Implements FSR::IFsrPhotonTool.
| std::vector< FsrCandidate > * FSR::FsrPhotonTool::getFsrCandidateList | ( | const xAOD::IParticle * | part, | |
| const xAOD::PhotonContainer * | photons = 0, |
|||
| const xAOD::ElectronContainer * | electrons = 0 | |||
| ) | [virtual] |
Find ALL FSR candidates for a given particle (electron or muon) providing newly calibrated photon and electron containers
Search for far fsr for for electron and muon Electron : far fsr is the only option - return the result Muon : In case collinar fsr not found, check the far fsr
Set FSR type to far
Implements FSR::IFsrPhotonTool.
| std::vector< FsrCandidate > * FSR::FsrPhotonTool::getNearFsrCandidateList | ( | const xAOD::Muon * | part, | |
| const xAOD::PhotonContainer * | photons_cont, | |||
| const xAOD::ElectronContainer * | electrons_cont | |||
| ) | [virtual] |
Find and Return ALL NEAR FSR candidates.
Set FSR type to far
Start looking for collinar FSR for muons Loop over photon candidates and choose the FSR photons
Implements FSR::IFsrPhotonTool.
1.6.1