1 #ifndef PhysicsTools_PatAlgos_interface_SuperClusterHelper_h
2 #define PhysicsTools_PatAlgos_interface_SuperClusterHelper_h
static bool sortClusters(const reco::CaloCluster *c1, const reco::CaloCluster *c2)
std::vector< float > vCov_
std::vector< const reco::CaloCluster * > theESClusters_
float eESClusters() const
double phiWidth() const
obtain phi and eta width of the Super Cluster
std::vector< const reco::CaloCluster * > theBasicClusters_
float esClusterEnergy(unsigned i) const
float sigmaIetaIeta() const
float subClusterE3x3(unsigned i) const
float eSubClusters() const
void computeLocalCovariances()
double eta() const
pseudorapidity of cluster centroid
SuperClusterHelper(const reco::GsfElectron *electron, const EcalRecHitCollection *rechits, const CaloTopology *, const CaloGeometry *)
const CaloTopology * topology_
float esClusterEta(unsigned i) const
float sigmaIetaIeta() const
float subClusterEnergy(unsigned i) const
float hadronicOverEm() const
float preshowerEnergyOverRaw() const
const reco::CaloCluster * seedCluster_
double energy() const
cluster energy
const reco::SuperCluster * theSuperCluster_
float preshowerEnergy() const
float hadronicOverEm() const
const EcalRecHitCollection * rechits_
float subClusterEmax(unsigned i) const
const CaloGeometry * geometry_
float esClusterPhi(unsigned i) const
double rawEnergy() const
raw uncorrected energy (sum of energies of component BasicClusters)
float subClusterPhi(unsigned i) const
size_t clustersSize() const
number of BasicCluster constituents
bool localCoordinatesComputed_
local coordinates
Analysis-level electron class.
float nPreshowerClusters() const
const reco::GsfElectron * theElectron_
float clustersSize() const
float subClusterEta(unsigned i) const
double preshowerEnergy() const
energy deposited in preshower
double phi() const
azimuthal angle of cluster centroid