19 return eLeftRightSum != 0 ? eLeftRightDiff / eLeftRightSum : 0.;
25 return eTopBottomSum != 0 ? eTopBottomDiff / eTopBottomSum : 0.;
57 const DetId& seedid = superClus.
seed()->hitsAndFractions().at(0).first;
83 const auto& localCovs = EcalClusterTools::localCovariances(*superClus.
seed(),
recHits,
topology);
89 else if (localCovs[1] > 0)
101 const float dEta = (*clus)->eta() - superClus.
seed()->eta();
168 inputVec[0] =
nrVtx();
169 inputVec[1] =
scEta();
170 inputVec[2] =
scPhi();
208 inputVec[0] =
nrVtx();
209 inputVec[1] =
scEta();
210 inputVec[2] =
scPhi();
float maxSubClusDRDEta() const
constexpr double deltaPhi(double phi1, double phi2)
float sigmaIPhiIPhi() const
float seedCrysPhiOrY() const
float maxSubClusDRDPhi() const
float seedCrysIPhiOrIY() const
int scNrAdditionalClusters() const
constexpr bool isNotFinite(T x)
void fill(const reco::SuperCluster &superClus, const EcalRecHitCollection *ebRecHits, const EcalRecHitCollection *eeRecHits, const CaloGeometry *geom, const CaloTopology *topology, const reco::VertexCollection *vertices)
double rawEnergy() const
raw uncorrected energy (sum of energies of component BasicClusters)
CaloCluster_iterator clustersBegin() const
fist iterator over BasicCluster constituents
void fillVecEB_(std::vector< float > &inputVec) const
float seedLeftRightAsym() const
float seedCrysEtaOrX() const
float scCalibEnergy() const
float e2ndOverSCRawEnergy() const
constexpr Detector det() const
get the detector field from this detid
double phi() const
azimuthal angle of cluster centroid
double phiWidth() const
obtain phi and eta width of the Super Cluster
CaloCluster_iterator clustersEnd() const
last iterator over BasicCluster constituents
float seedCrysIEtaOrIX() const
double correctedEnergy() const
float maxSubClusDRRawEnergyOverSCRawEnergy() const
const std::vector< float > & subClusDEta() const
std::vector< float > subClusDPhi_
const std::vector< float > & subClusDPhi() const
ALPAKA_FN_ACC static ALPAKA_FN_INLINE float dR2(Position4 pos1, Position4 pos2)
std::vector< float > subClusRawEnergy_
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
float scPreShowerEnergyOverSCRawEnergy() const
void fillVec(std::vector< float > &inputVec) const
int scNrAdditionalClusters_
float sigmaIEtaIEta() const
std::vector< float > subClusDEta_
float sigmaIEtaIPhi() const
float subClusRawEnergyOverSCRawEnergy(size_t clusNr) const
void fillVecEE_(std::vector< float > &inputVec) const
float maxSubClusDR() const
float maxSubClusDRRawEnergy_
const CaloClusterPtr & seed() const
seed BasicCluster
float eMaxOverSCRawEnergy() const
double eta() const
pseudorapidity of cluster centroid
size_t clustersSize() const
number of BasicCluster constituents
double preshowerEnergy() const
energy deposited in preshower
const std::vector< float > & subClusRawEnergy() const
float seedTopBottomAsym() const
float seedClusEnergyOverSCRawEnergy() const