|
DAS
3.0
Das Analysis System
|
Go to the documentation of this file.
8 #include "Math/Vector4D.h"
15 typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<float>>
FourVector;
66 if (
w.i == v.bit)
return w;
91 return s <<
'(' << p4.Pt() <<
',' << p4.Eta() <<
',' << p4.Phi() <<
',' << p4.M() <<
')';
96 return s << obj.
p4 <<
' ' << obj.
scales.size() <<
' ' << obj.
weights.size();
99 #if defined(__ROOTCLING__)
100 #pragma link C++ class DAS::AbstractPhysicsObject +;
101 #pragma link C++ class DAS::PhysicsObject +;
102 #pragma link C++ class std::vector<DAS::FourVector> +;
bool operator==(const PhysicsObject &l, const PhysicsObject &r)
Definition: PhysicsObject.h:72
std::vector< Weight > Weights
Definition: Weight.h:41
Definition: applyBTagSF.cc:31
virtual float CorrPt(const Uncertainties::Variation &) const =0
double Weight(const Uncertainties::Variation &v) const final
< weight
Definition: PhysicsObject.h:62
FourVector p4
raw four-momentum directly after reconstruction
Definition: PhysicsObject.h:47
virtual std::string_view scale_group() const =0
float Rapidity(const Uncertainties::Variation &=Uncertainties::nominal) const
Definition: PhysicsObject.h:53
virtual double Weight(const Uncertainties::Variation &) const =0
FourVector CorrP4(size_t i=0) const
corrected 4-vector
Definition: PhysicsObject.h:51
Definition: PhysicsObject.h:38
std::vector< float > scales
energy scale corrections and variations
Definition: PhysicsObject.h:48
static const float w
Definition: common.h:51
float AbsRap(const Uncertainties::Variation &=Uncertainties::nominal) const
absolute rapidity
Definition: PhysicsObject.h:54
bool operator>(const PhysicsObject &l, const PhysicsObject &r)
Definition: PhysicsObject.h:82
AbstractPhysicsObject()=default
virtual ~AbstractPhysicsObject()=default
const Variation nominal
Definition: Variation.h:109
Definition: PhysicsObject.h:22
virtual std::string_view weight_group() const =0
virtual FourVector CorrP4(const Uncertainties::Variation &) const =0
float CorrPt(size_t i=0) const
corrected transverse momentum
Definition: PhysicsObject.h:52
virtual ~PhysicsObject()=default
bool operator<(const PhysicsObject &l, const PhysicsObject &r)
Definition: PhysicsObject.h:77
Weights weights
object weights
Definition: PhysicsObject.h:49
std::ostream & operator<<(std::ostream &s, const DAS::FourVector &p4)
Definition: PhysicsObject.h:89
float CorrPt(const Uncertainties::Variation &v) const final
< corrected transverse momentum
Definition: PhysicsObject.h:59
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< float > > FourVector
Definition: PhysicsObject.h:15
Definition: Variation.h:22
FourVector CorrP4(const Uncertainties::Variation &v) const final
< corrected 4-vector
Definition: PhysicsObject.h:56