|
DAS
3.0
Das Analysis System
|
Go to the documentation of this file.
12 #include <Math/Vector4D.h>
20 using FourVector = ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<float>>;
72 if (
w.i == v.Bit())
return w;
98 return s <<
'(' << p4.Pt() <<
',' << p4.Eta() <<
',' << p4.Phi() <<
',' << p4.M() <<
')';
104 return s << obj.
p4 <<
' ' << obj.
scales.size() <<
' ' << obj.
weights.size();
float CorrPt(size_t i=0) const
corrected transverse momentum
Definition: GenericObject.h:58
FourVector CorrP4(const Variation &v) const final
< corrected 4-vector
Definition: GenericObject.h:62
bool operator<(const GenericObject &l, const GenericObject &r)
Definition: GenericObject.h:83
bool operator>(const GenericObject &l, const GenericObject &r)
Definition: GenericObject.h:88
double Weight(const Variation &v) const final
< weight
Definition: GenericObject.h:68
static const float w
Definition: common.h:51
std::ostream & operator<<(std::ostream &s, const Darwin::Physics::GenericObject &obj)
Definition: GenericObject.h:102
std::vector< Weight > Weights
Definition: Weight.h:42
virtual FourVector CorrP4(const Variation &) const =0
virtual std::string_view scale_group() const =0
Definition: Variation.h:20
Weights weights
object weights
Definition: GenericObject.h:55
const Variation nominal("", "nominal")
std::vector< float > scales
energy scale corrections and variations
Definition: GenericObject.h:54
virtual ~AbstractGenericObject()=default
virtual ~GenericObject()=default
float Rapidity(const Variation &=nominal) const
Definition: GenericObject.h:59
virtual float CorrPt(const Variation &) const =0
Definition: GenericObject.h:27
float AbsRap(const Variation &=nominal) const
absolute rapidity
Definition: GenericObject.h:60
FourVector CorrP4(size_t i=0) const
corrected 4-vector
Definition: GenericObject.h:57
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< float > > FourVector
Definition: GenericObject.h:20
Definition: GenericObject.h:44
bool operator==(const GenericObject &l, const GenericObject &r)
Definition: GenericObject.h:78
FourVector p4
raw four-momentum directly after reconstruction
Definition: GenericObject.h:53
Everything what concerns physics analysis directly.
Definition: darwin.h:24
virtual std::string_view weight_group() const =0
float CorrPt(const Variation &v) const final
< corrected transverse momentum
Definition: GenericObject.h:65
virtual double Weight(const Variation &) const =0
AbstractGenericObject()=default