|
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;
57 {
return p4.Rapidity() ; }
71 if (
w.i == v.bit)
return w;
96 return s <<
'(' << p4.Pt() <<
',' << p4.Eta() <<
',' << p4.Phi() <<
',' << p4.M() <<
')';
101 return s << obj.
p4 <<
' ' << obj.
scales.size() <<
' ' << obj.
weights.size();
104 #if defined(__ROOTCLING__)
105 #pragma link C++ class DAS::AbstractPhysicsObject +;
106 #pragma link C++ class DAS::PhysicsObject +;
107 #pragma link C++ class std::vector<DAS::FourVector> +;
bool operator==(const PhysicsObject &l, const PhysicsObject &r)
Definition: PhysicsObject.h:77
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:67
FourVector p4
raw four-momentum directly after reconstruction
Definition: PhysicsObject.h:50
virtual float Rapidity(const Uncertainties::Variation &) const =0
virtual std::string_view scale_group() const =0
virtual double Weight(const Uncertainties::Variation &) const =0
FourVector CorrP4(size_t i=0) const
corrected 4-vector
Definition: PhysicsObject.h:54
Definition: PhysicsObject.h:41
std::vector< float > scales
energy scale corrections and variations
Definition: PhysicsObject.h:51
static const float w
Definition: common.h:51
bool operator>(const PhysicsObject &l, const PhysicsObject &r)
Definition: PhysicsObject.h:87
float AbsRap(const Uncertainties::Variation &=Uncertainties::nominal) const final
absolute rapidity
Definition: PhysicsObject.h:58
AbstractPhysicsObject()=default
virtual ~AbstractPhysicsObject()=default
const Variation nominal
Definition: Variation.h:55
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:55
virtual float AbsRap(const Uncertainties::Variation &) const =0
virtual ~PhysicsObject()=default
bool operator<(const PhysicsObject &l, const PhysicsObject &r)
Definition: PhysicsObject.h:82
Weights weights
object weights
Definition: PhysicsObject.h:52
std::ostream & operator<<(std::ostream &s, const DAS::FourVector &p4)
Definition: PhysicsObject.h:94
float CorrPt(const Uncertainties::Variation &v) const final
< corrected transverse momentum
Definition: PhysicsObject.h:64
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< float > > FourVector
Definition: PhysicsObject.h:15
float Rapidity(const Uncertainties::Variation &=Uncertainties::nominal) const final
rapidity
Definition: PhysicsObject.h:56
Definition: Variation.h:22
FourVector CorrP4(const Uncertainties::Variation &v) const final
< corrected 4-vector
Definition: PhysicsObject.h:61