17 return eLeftRightSum !=0 ? eLeftRightDiff/eLeftRightSum : 0.;
24 return eTopBottomSum !=0 ? eTopBottomDiff/eTopBottomSum : 0.;
72 std::vector<float> localCovs = EcalClusterTools::localCovariances(*superClus.
seed(),
recHits,
topology);
82 float thetaTilt=0,phiTilt=0;
84 float &,
float &,
int &,
int &,
85 float &,
float &)
const;
88 (ecalClusterLocal.*localCoordFunc)(*superClus.
seed(),*
geom,
94 const float dEta = (*clus)->eta() - superClus.
seed()->eta();
96 const float dR2 = dEta*dEta+dPhi*
dPhi;
165 inputVec[0] =
nrVtx();
166 inputVec[1] =
scEta();
167 inputVec[2] =
scPhi();
205 inputVec[0] =
nrVtx();
206 inputVec[1] =
scEta();
207 inputVec[2] =
scPhi();
float sigmaIPhiIPhi() const
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_
double dPhi(double phi1, double phi2)
float seedCrysIPhiOrIY() const
float maxSubClusDR() const
float seedCrysIEtaOrIX() const
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 deltaPhi(double phi1, double phi2)
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