#include <HGCalMulticluster_SA.h>
Public Member Functions | |
void | addConstituent (const l1thgcfirmware::HGCalCluster &tc, bool updateCentre=true, float fraction=1.) |
const std::vector< l1thgcfirmware::HGCalCluster > & | constituents () const |
HGCalMulticluster () | |
HGCalMulticluster (const l1thgcfirmware::HGCalCluster &tc, float fraction=1.) | |
unsigned | size () const |
float | sumPt () const |
~HGCalMulticluster ()=default | |
Private Member Functions | |
void | updateP4AndPosition (const l1thgcfirmware::HGCalCluster &tc, bool updateCentre=true, float fraction=1.) |
Private Attributes | |
float | centre_x_ |
float | centre_y_ |
float | centre_z_ |
float | centreProj_x_ |
float | centreProj_y_ |
float | centreProj_z_ |
std::vector< l1thgcfirmware::HGCalCluster > | constituents_ |
float | mipPt_ |
float | sumPt_ |
Definition at line 10 of file HGCalMulticluster_SA.h.
|
inline |
Definition at line 12 of file HGCalMulticluster_SA.h.
Referenced by HGCalMulticluster().
HGCalMulticluster::HGCalMulticluster | ( | const l1thgcfirmware::HGCalCluster & | tc, |
float | fraction = 1. |
||
) |
Definition at line 7 of file HGCalMulticluster_SA.cc.
References addConstituent(), HLT_2022v12_cff::fraction, and HGCalMulticluster().
|
default |
void HGCalMulticluster::addConstituent | ( | const l1thgcfirmware::HGCalCluster & | tc, |
bool | updateCentre = true , |
||
float | fraction = 1. |
||
) |
Definition at line 12 of file HGCalMulticluster_SA.cc.
References centre_x_, centre_y_, centre_z_, constituents_, HLT_2022v12_cff::fraction, updateP4AndPosition(), l1thgcfirmware::HGCalCluster::x(), l1thgcfirmware::HGCalCluster::y(), and l1thgcfirmware::HGCalCluster::z().
Referenced by HGCalMulticluster().
|
inline |
Definition at line 28 of file HGCalMulticluster_SA.h.
References constituents_.
|
inline |
Definition at line 30 of file HGCalMulticluster_SA.h.
References constituents_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
inline |
Definition at line 32 of file HGCalMulticluster_SA.h.
References sumPt_.
Referenced by DiObject.DiObject::__str__(), DiObject.DiMuon::__str__(), and DiObject.DiElectron::__str__().
|
private |
Definition at line 28 of file HGCalMulticluster_SA.cc.
References funct::abs(), centre_x_, centre_y_, centre_z_, centreProj_x_, centreProj_y_, centreProj_z_, HLT_2022v12_cff::fraction, l1thgcfirmware::HGCalCluster::mipPt(), mipPt_, l1thgcfirmware::HGCalCluster::pt(), sumPt_, l1thgcfirmware::HGCalCluster::x(), l1thgcfirmware::HGCalCluster::y(), and l1thgcfirmware::HGCalCluster::z().
Referenced by addConstituent().
|
private |
Definition at line 37 of file HGCalMulticluster_SA.h.
Referenced by addConstituent(), and updateP4AndPosition().
|
private |
Definition at line 38 of file HGCalMulticluster_SA.h.
Referenced by addConstituent(), and updateP4AndPosition().
|
private |
Definition at line 39 of file HGCalMulticluster_SA.h.
Referenced by addConstituent(), and updateP4AndPosition().
|
private |
Definition at line 41 of file HGCalMulticluster_SA.h.
Referenced by updateP4AndPosition().
|
private |
Definition at line 42 of file HGCalMulticluster_SA.h.
Referenced by updateP4AndPosition().
|
private |
Definition at line 43 of file HGCalMulticluster_SA.h.
Referenced by updateP4AndPosition().
|
private |
Definition at line 48 of file HGCalMulticluster_SA.h.
Referenced by addConstituent(), constituents(), and size().
|
private |
Definition at line 45 of file HGCalMulticluster_SA.h.
Referenced by updateP4AndPosition().
|
private |
Definition at line 46 of file HGCalMulticluster_SA.h.
Referenced by sumPt(), and updateP4AndPosition().