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();
103 const float dR2 = dEta * dEta + dPhi * dPhi;
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 sigmaIPhiIPhi() const
constexpr double deltaPhi(double phi1, double phi2)
const std::vector< float > & subClusRawEnergy() const
float e2ndOverSCRawEnergy() const
float maxSubClusDRDEta() const
double correctedEnergy() const
double phiWidth() const
obtain phi and eta width of the Super Cluster
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)
int scNrAdditionalClusters() const
float seedCrysPhiOrY() const
float sigmaIEtaIEta() const
float sigmaIEtaIPhi() const
double eta() const
pseudorapidity of cluster centroid
float subClusRawEnergyOverSCRawEnergy(size_t clusNr) const
float seedClusEnergyOverSCRawEnergy() const
std::vector< float > subClusDPhi_
float seedCrysIPhiOrIY() const
float maxSubClusDR() const
float seedCrysIEtaOrIX() const
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::vector< float > subClusRawEnergy_
float maxSubClusDRDPhi() const
void fillVec(std::vector< float > &inputVec) const
float scPreShowerEnergyOverSCRawEnergy() const
float seedCrysEtaOrX() const
float seedLeftRightAsym() const
int scNrAdditionalClusters_
double rawEnergy() const
raw uncorrected energy (sum of energies of component BasicClusters)
std::vector< float > subClusDEta_
size_t clustersSize() const
number of BasicCluster constituents
float eMaxOverSCRawEnergy() const
float maxSubClusDRRawEnergyOverSCRawEnergy() const
const std::vector< float > & subClusDEta() const
float maxSubClusDRRawEnergy_
const std::vector< float > & subClusDPhi() const
float seedTopBottomAsym() const
CaloCluster_iterator clustersBegin() const
fist iterator over BasicCluster constituents
void fillVecEB_(std::vector< float > &inputVec) const
const CaloClusterPtr & seed() const
seed BasicCluster
double preshowerEnergy() const
energy deposited in preshower
float scCalibEnergy() const
double phi() const
azimuthal angle of cluster centroid
void fillVecEE_(std::vector< float > &inputVec) const
CaloCluster_iterator clustersEnd() const
last iterator over BasicCluster constituents
constexpr Detector det() const
get the detector field from this detid