20 return eLeftRightSum !=0 ? eLeftRightDiff/eLeftRightSum : 0.;
27 return eTopBottomSum !=0 ? eTopBottomDiff/eTopBottomSum : 0.;
55 const DetId& seedid = superClus.
seed()->hitsAndFractions().at(0).first;
74 e2nd_ = EcalClusterTools::e2nd(*superClus.
seed(),recHits);
80 std::vector<float> localCovs = EcalClusterTools::localCovariances(*superClus.
seed(),recHits,
topology);
95 const float dEta = (*clus)->eta() - superClus.
seed()->eta();
97 const float dR2 = dEta*dEta+dPhi*
dPhi;
166 inputVec[0] =
nrVtx();
167 inputVec[1] =
scEta();
168 inputVec[2] =
scPhi();
206 inputVec[0] =
nrVtx();
207 inputVec[1] =
scEta();
208 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
CaloTopology const * topology(0)
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