23 bool isAvailable =
jet.getAssociatedObject(
"OriginVertex", jetVertex);
34 TLorentzVector tauAxis;
35 if (doVertexCorrection) {
47 const int flagsize=
sizeof(flag)*8;
65 return xTrack1->
pt()>xTrack2->
pt();
71 using namespace tauRecTools::msgHelperFunction;
73 TLorentzVector constituentP4;
77 constituentP4 = cluster->
p4();
81 constituentP4 = fe->
p4();
84 ANA_MSG_ERROR(
"GetConstituentP4: Seed jet constituent type not supported!");
85 constituentP4.SetPtEtaPhiE(constituent.
pt(), constituent.
eta(), constituent.
phi(), constituent.
e());
ElementLink implementation for ROOT usage.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
virtual FourMom_t p4() const override
The full 4-momentum of the particle.
4-vector of jet constituent at the scale used during jet finding.
double eta() const
The pseudorapidity ( ) of the particle.
double phi() const
The azimuthal angle ( ) of the particle.
Type::ObjectType type() const
The full 4-momentum of the particle.
const IParticle * rawConstituent() const
Access the real underlying IParticle.
double e() const
The total energy of the particle.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
size_t nTracks(TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
TrackFlagType flagSet() const
virtual double pt() const
The transverse momentum ( ) of the particle.
@ FlowElement
The object is a track-calo-cluster.
@ CaloCluster
The object is a calorimeter cluster.
Jet_v1 Jet
Definition of the current "jet version".
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
FlowElement_v1 FlowElement
Definition of the current "pfo version".
Vertex_v1 Vertex
Define the latest version of the vertex class.
TauTrack_v1 TauTrack
Definition of the current version.
TauJet_v3 TauJet
Definition of the current "tau version".