18 return eLeftRightSum !=0 ? eLeftRightDiff/eLeftRightSum : 0.;
25 return eTopBottomSum !=0 ? eTopBottomDiff/eTopBottomSum : 0.;
53 const DetId& seedid = superClus.
seed()->hitsAndFractions().at(0).first;
72 e2nd_ = EcalClusterTools::e2nd(*superClus.
seed(),recHits);
78 std::vector<float> localCovs = EcalClusterTools::localCovariances(*superClus.
seed(),recHits,
topology);
88 float thetaTilt=0,phiTilt=0;
90 float &,
float &,
int &,
int &,
91 float &,
float &)
const;
94 (ecalClusterLocal.*localCoordFunc)(*superClus.
seed(),*
geom,
100 const float dEta = (*clus)->eta() - superClus.
seed()->eta();
102 const float dR2 = dEta*dEta+dPhi*
dPhi;
171 inputVec[0] =
nrVtx();
172 inputVec[1] =
scEta();
173 inputVec[2] =
scPhi();
211 inputVec[0] =
nrVtx();
212 inputVec[1] =
scEta();
213 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
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
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
Detector det() const
get the detector field from this detid
void fillVecEE_(std::vector< float > &inputVec) const
CaloCluster_iterator clustersEnd() const
last iterator over BasicCluster constituents