19 return eLeftRightSum !=0 ? eLeftRightDiff/eLeftRightSum : 0.;
26 return eTopBottomSum !=0 ? eTopBottomDiff/eTopBottomSum : 0.;
54 const DetId& seedid = superClus.
seed()->hitsAndFractions().at(0).first;
73 e2nd_ = EcalClusterTools::e2nd(*superClus.
seed(),recHits);
79 std::vector<float> localCovs = EcalClusterTools::localCovariances(*superClus.
seed(),recHits,
topology);
89 float thetaTilt=0,phiTilt=0;
91 float &,
float &,
int &,
int &,
92 float &,
float &)
const;
95 (ecalClusterLocal.*localCoordFunc)(*superClus.
seed(),*
geom,
101 const float dEta = (*clus)->eta() - superClus.
seed()->eta();
103 const float dR2 = dEta*dEta+dPhi*
dPhi;
172 inputVec[0] =
nrVtx();
173 inputVec[1] =
scEta();
174 inputVec[2] =
scPhi();
212 inputVec[0] =
nrVtx();
213 inputVec[1] =
scEta();
214 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
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
void localCoordsEB(const reco::CaloCluster &bclus, const edm::EventSetup &es, float &etacry, float &phicry, int &ieta, int &iphi, float &thetatilt, float &phitilt) 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 localCoordsEE(const reco::CaloCluster &bclus, const edm::EventSetup &es, float &xcry, float &ycry, int &ix, int &iy, float &thetatilt, float &phitilt) const
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