19#include "CLHEP/Vector/LorentzVector.h"
20#include "CLHEP/Units/SystemOfUnits.h"
51 double exp = (Part)->momentum().px();
52 double eyp = (Part)->momentum().py();
53 double etp = (Part)->momentum().perp();
54 double etap = (Part)->momentum().pseudoRapidity();
55 int idp = (Part)->pdg_id();
69 if( fabs(etap) <= 5.) {
71 this->
add(exp, eyp, etp, etap, weight);
77 if( fabs(etap) <= etaFull) thePart =
IntCentral;
78 if( fabs(etap) > etaFull && fabs(etap) <= 5.) thePart =
IntFwd;
ATLAS-specific HepMC functions.
virtual void add(double theEx, double theEy, double theEt, double theEta, double weight)
std::vector< double > m_exTruth
void setExTruthVec(std::vector< double > &&exCaloVec)
virtual ~MissingEtTruth()
void setEtSumTruthVec(std::vector< double > &&etSumCaloVec)
std::vector< double > m_eyTruth
double exTruth(TruthIndex aTruth) const
void addPart(HepMC::ConstGenParticlePtr aPart, double etaFull)
void setEyTruth(TruthIndex aTruth, double theEy)
std::vector< double > m_etSumTruth
double etSumTruth(TruthIndex aTruth) const
void setEtSumTruth(TruthIndex aTruth, double theEtSum)
const std::vector< double > & eyTruthVec() const
void setEyTruthVec(std::vector< double > &&exCaloVec)
const std::vector< double > & exTruthVec() const
double eyTruth(TruthIndex aTruth) const
void setExTruth(TruthIndex aTruth, double theEx)
const std::vector< double > & etSumTruthVec() const
const GenParticle * ConstGenParticlePtr
bool isSimInteracting(const T &p)
Identify if the particle could interact with the detector during the simulation, e....