49 float seedBCEnergy = (scluster.
seed())->
energy();
65 if ((*bcIt)->energy() >
66 sqrt(eSeed * eSeed +
xi *
xi * seedBCEnergy * seedBCEnergy / cosh((*bcIt)->eta()) / cosh((*bcIt)->eta()))) {
77 ClusterE += (*bcIt)->energy();
78 posX += (*bcIt)->energy() * (*bcIt)->position().X();
79 posY += (*bcIt)->energy() * (*bcIt)->position().Y();
80 posZ += (*bcIt)->energy() * (*bcIt)->position().Z();
110 <<
"The seed crystal of this SC is neither in EB nor in EE. This is a problem. Bailing out";
void Calculate_Covariances(const reco::SuperCluster &passedCluster)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
void push_back(Ptr< T > const &iPtr)
uint32_t cc[maxCellsPerHit]
CaloCluster_iterator clustersBegin() const
fist iterator over BasicCluster constituents
T const * product() const
Log< level::Error, false > LogError
CaloCluster_iterator clustersEnd() const
last iterator over BasicCluster constituents
XYZPointD XYZPoint
point in space with cartesian internal representation
const CaloClusterPtr & seed() const
seed BasicCluster
double preshowerEnergy() const
energy deposited in preshower