|
ATLAS Offline Software
|
Go to the documentation of this file.
10 const std::string&
name,
11 const IInterface *
parent) :
14 declareInterface<DiTauToolBase > (
this);
24 return StatusCode::SUCCESS;
29 const EventContext& ctx)
const {
35 if (pDiTau ==
nullptr) {
37 return StatusCode::FAILURE;
43 return StatusCode::FAILURE;
48 ATH_MSG_DEBUG(
"ditau candidate: pt: "<<pSeed->
pt()<<
" eta: "<<pSeed->
eta()<<
" phi: "<<pSeed->
phi()<<
" m: "<<pSeed->
m());
49 pDiTau->
setP4(pSeed->
pt(), pSeed->
eta(), pSeed->
phi(), pSeed->
m());
58 <<
" pt:" << (*pDiTau->
jetLink())->pt()
59 <<
" eta:" << (*pDiTau->
jetLink())->eta()
60 <<
" phi:" << (*pDiTau->
jetLink())->phi() );
65 if (
data->Rjet == 0 ||
data->Rsubjet == 0 ||
data->Rcore == 0 ||
68 " R_jet: " <<
data->Rjet <<
69 " R_subjet: " <<
data->Rsubjet <<
70 " R_core: " <<
data->Rcore);
77 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.