5#ifndef HIJETREC_HIJETRECDEFS_H
6#define HIJETREC_HIJETRECDEFS_H
12#include "TLorentzVector.h"
38 float energy=p.Energy();
74 TLorentzVector correct_clusP4;
75 float energy=cl->e(s);
84 float pt=energy/std::cosh(
eta);
85 correct_clusP4.SetPtEtaPhiE(pt,
eta,
phi ,energy);
86 return correct_clusP4;
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
State
enum of possible signal states.
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
constexpr const char * unsubtractedJetState()
constexpr xAOD::JetConstitScale subtractedOriginCorrectedConstitState()
constexpr const char * subtractedJetState()
TLorentzVector getClusterP4(const xAOD::CaloCluster *cl, xAOD::CaloCluster::State s)
: getClusterP4 Added during Rel22 migration.
bool inTowerBoundary(float eta0, float phi0, float eta, float phi)
constexpr const char * subtractedOriginCorrectedJetState()
constexpr xAOD::CaloCluster::State unsubtractedClusterState()
constexpr xAOD::CaloCluster::State subtractedClusterState()
constexpr xAOD::JetConstitScale subtractedConstitState()
void setClusterP4(const xAOD::CaloCluster::FourMom_t &p, xAOD::CaloCluster *cl, xAOD::CaloCluster::State s)
constexpr xAOD::CaloCluster::State subtractedOriginCorrectedClusterState()
constexpr float getBinSizeEta()
constexpr float getBinSizePhi()
double deltaPhi(double phiA, double phiB)
delta Phi in range [-pi,pi[
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
@ UncalibratedJetConstituent
@ CalibratedJetConstituent