|
ATLAS Offline Software
|
Go to the documentation of this file.
23 :
EL::AnaAlgorithm(
name, svcLoc)
35 return StatusCode::FAILURE;
52 return StatusCode::SUCCESS;
61 auto selDec = std::make_unique<SG::AuxElement::Decorator<uint32_t> > (
"selectEta");
62 auto oqDec = std::make_unique<SG::AuxElement::Decorator<uint32_t> > (
"goodOQ");
63 auto cleanDec = std::make_unique<SG::AuxElement::Decorator<uint32_t> > (
"isClean");
80 for (
auto eg : *egammaCont ) {
92 ATH_MSG_DEBUG(
"Veto FSR: Eg passed WP - pt, eta: " <<
eg->type() <<
", " <<
eg->pt()/1000. <<
", " <<
eg->eta() <<
", " << (*
m_wpDec)(*
eg) );
103 ATH_MSG_DEBUG(
"Incoming eg: pt, eta, phi " <<
eg->pt()/1000. <<
", " <<
eg->eta() <<
", " <<
eg->phi() <<
", is electron " << (
el != 0));
106 for (
auto mu : *muonCont ) {
110 ATH_MSG_DEBUG(
"dR with mu: pt, eta, phi " << dR <<
", " <<
mu->pt()/1000. <<
", " <<
mu->eta() <<
", " <<
mu->phi() );
115 bool elmutrackmatchOK =
true;
122 ( (std::abs(electron_track->
theta()- muon_track->
theta()) < 0.01) &&
126 if (elOrig_track)
ATH_MSG_DEBUG(
"origTrk: dtheta trk " << std::abs(elOrig_track->
theta()- muon_track->
theta()) <<
", dphi trk "
131 if (elmutrackmatchOK) {
137 if (cleanDec->isAvailable(*
eg))
ATH_MSG_DEBUG(
"isClean: " << (*cleanDec)(*
eg) );
149 return StatusCode::SUCCESS;
double deltaPhi(double phiA, double phiB)
delta Phi in range [-pi,pi[
::StatusCode retrieve(const T *&object, const CP::SystematicSet &sys) const
retrieve the object for the given name
const std::vector< CP::SystematicSet > & systematicsVector() const
the list of systematics to loop over
Select isolated Photons, Electrons and Muons.
StatusCode initialize(SysListHandle &sysListHandle)
initialize this handle
::StatusCode initialize()
intialize this property
double deltaR(double rapidity1, double phi1, double rapidity2, double phi2)
from bare bare rapidity,phi
::StatusCode StatusCode
StatusCode definition for legacy code.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
constexpr SelectionType selectionReject()
the selection decoration to apply for objects that are rejected
@ Electron
The object is an electron.
const xAOD::TrackParticle * getOriginalTrackParticle(const xAOD::Electron *el)
Helper function for getting the "Original" Track Particle (i.e before GSF) via the electron.
constexpr SelectionType selectionAccept()
the selection decoration to apply for objects that are selected
virtual std::string getNamePattern() const override
get the name pattern before substitution
Class describing a TrackParticle.
float theta() const
Returns the parameter, which has range 0 to .
virtual double phi() const override final
The azimuthal angle ( ) of the particle (has range to .)