25 return StatusCode::SUCCESS;
38 neutralPFO->
setAttribute<
int>(xAOD::PFODetails::PFOAttributes::nPi0Proto, 0);
46 if (neutralPFO->
p4().Et() <
m_pi0EtCut[etaBin])
continue;
61 neutralPFO->
setAttribute<
int>(xAOD::PFODetails::PFOAttributes::nPi0Proto, 1);
65 neutralPFO->
setAttribute<
int>(xAOD::PFODetails::PFOAttributes::nPi0Proto, 2);
77 else if (nRecoPi0s==1) {
93 return StatusCode::SUCCESS;
101 double absEta = std::abs(
eta);
106 else if (absEta < 1.40) {
109 else if (absEta < 1.50) {
112 else if (absEta < 1.90) {
Scalar eta() const
pseudorapidity method
#define ATH_MSG_WARNING(x)
const T * at(size_type n) const
Access an element, as an rvalue.
size_t index() const
Return the index of this element within its container.
Gaudi::Property< std::vector< float > > m_pi0BDTCut_mprong
Gaudi::Property< double > m_maxDeltaRNeutral
TauPi0Selector(const std::string &name)
Gaudi::Property< std::vector< float > > m_pi0EtCut
Gaudi::Property< std::vector< float > > m_pi0BDTCut_1prong
int getEtaBin(double eta) const
Get eta bin of Pi0Cluster.
virtual StatusCode executePi0nPFO(xAOD::TauJet &pTau, xAOD::PFOContainer &pNeutralPFOContainer) const override
virtual double eta() const
The pseudorapidity ( ) of the particle.
bool attribute(PFODetails::PFOAttributes AttributeType, T &anAttribute) const
get a PFO Variable via enum
void setAttribute(PFODetails::PFOAttributes AttributeType, const T &anAttribute)
Set a PFO Variable via enum - overwrite is allowed.
float bdtPi0Score() const
get BDT Score used to classify clusters as Pi0 like or not
virtual FourMom_t p4() const
The full 4-momentum of the particle.
const CaloCluster * cluster(unsigned int index) const
Retrieve a const pointer to a CaloCluster.
void setPanTauDetail(TauJetParameters::PanTauDetails panTauDetail, int value)
void addProtoPi0PFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_pi0 PFO to the tau
virtual FourMom_t p4() const
The full 4-momentum of the particle.
void clearProtoPi0PFOLinks()
Remove all cellbased_pi0 PFOs from the tau.
const PFO * protoNeutralPFO(size_t i) const
Get the pointer to a given cellbased_neutral PFO associated with this tau.
size_t nProtoNeutralPFOs() const
Get the number of cellbased_neutral PFO particles associated with this tau.
size_t nTracks(TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
PFO_v1 PFO
Definition of the current "pfo version".
PFOContainer_v1 PFOContainer
Definition of the current "pfo container version".
TauJet_v3 TauJet
Definition of the current "tau version".