19 ATH_MSG_DEBUG(
"Initializing HIJetClusterIndexAssociationTool");
21 return StatusCode::SUCCESS;
32 ppars = readHandlePcontainer.
get();
45 if(etabinmin < 0) etabinmin=0;
48 for(
int ieta=etabinmin; ieta<=etabinmax; ieta++)
53 float phimin=
phi-std::sqrt(
m_DR*
m_DR-delta_ev2+1e-4 );
56 float dphi=TVector2::Phi_mpi_pi(
phi-pbc);
57 float rv2=dphi*dphi+delta_ev2;
63 dphi=TVector2::Phi_mpi_pi(
phi-pbc);
64 rv2=dphi*dphi+delta_ev2;
75 dphi=TVector2::Phi_mpi_pi(
phi-pbc);
76 rv2=dphi*dphi+delta_ev2;
108 return StatusCode::SUCCESS;
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define ATH_CHECK
Evaluate an expression and check for errors.
std::vector< const IParticle * > ParticleVector
DataModel_detail::iterator< DataVector > iterator
JetModifierBase(const std::string &myname)
Ctor.
const_pointer_type get() const
Dereference the pointer, but don't cache anything.
Class providing the definition of the 4-vector interface.
virtual double phi() const
The azimuthal angle ( ) of the particle.
void setAssociatedObjects(const std::string &name, const std::vector< const T * > &vec)
set associated objects from a vector of arbitrary object.
virtual double eta() const
The pseudorapidity ( ) of the particle.
float getBinCenterEta(unsigned int eb)
unsigned int findEtaPhiBin(float eta, float phi)
unsigned int findBinEta(float eta)
constexpr unsigned int numEtaBins()
float getBinCenterPhi(unsigned int pb)
unsigned int findBinPhi(float phi)
Jet_v1 Jet
Definition of the current "jet version".
JetContainer_v1 JetContainer
Definition of the current "jet container version".
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.