|
ATLAS Offline Software
|
Go to the documentation of this file.
12 const std::string&
name,
13 const IInterface *
parent) :
16 declareInterface<DiTauToolBase > (
this);
26 return StatusCode::SUCCESS;
31 const EventContext& ctx)
const {
37 if (pDiTau ==
nullptr) {
39 return StatusCode::FAILURE;
45 return StatusCode::FAILURE;
50 ATH_MSG_DEBUG(
"ditau candidate: pt: "<<pSeed->
pt()<<
" eta: "<<pSeed->
eta()<<
" phi: "<<pSeed->
phi()<<
" m: "<<pSeed->
m());
51 pDiTau->
setP4(pSeed->
pt(), pSeed->
eta(), pSeed->
phi(), pSeed->
m());
60 <<
" pt:" << (*pDiTau->
jetLink())->pt()
61 <<
" eta:" << (*pDiTau->
jetLink())->eta()
62 <<
" phi:" << (*pDiTau->
jetLink())->phi() );
67 if (
data->Rjet == 0 ||
data->Rsubjet == 0 ||
data->Rcore == 0 ||
70 " R_jet: " <<
data->Rjet <<
71 " R_subjet: " <<
data->Rsubjet <<
72 " R_core: " <<
data->Rcore);
79 return StatusCode::SUCCESS;
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerName
char data[hepevt_bytes_allocation_ATLAS]
void setJet(const xAOD::JetContainer *cont, const xAOD::Jet *jet)
void setDetail(DiTauJetParameters::Detail detail, int value)
virtual double phi() const
The azimuthal angle ( ) of the particle.
void setP4(double pt, double eta, double phi, double m)
Set methods for IParticle values.
bool isValid() const
Test to see if the link can be dereferenced.
virtual StatusCode initialize() override
Tool initializer.
::StatusCode StatusCode
StatusCode definition for legacy code.
const_pointer_type get() const
Dereference the pointer, but don't cache anything.
virtual double eta() const
The pseudorapidity ( ) of the particle.
virtual StatusCode execute(DiTauCandidateData *data, const EventContext &ctx) const override
Execute - called for each Ditau candidate.
const JetLink_t & jetLink() const
virtual double m() const
The invariant mass of the particle.
#define ATH_MSG_WARNING(x)
Handle class for reading from StoreGate.
virtual ~SeedJetBuilder()
Destructor.
virtual double pt() const
The transverse momentum ( ) of the particle.
SeedJetBuilder(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.