49 float seedBCEnergy = (scluster.
seed())->
energy();
64 if ((*bcIt)->energy() >
65 sqrt(eSeed * eSeed +
xi *
xi * seedBCEnergy * seedBCEnergy / cosh((*bcIt)->eta()) / cosh((*bcIt)->eta()))) {
72 ClusterE += (*bcIt)->energy();
73 posX += (*bcIt)->energy() * (*bcIt)->position().X();
74 posY += (*bcIt)->energy() * (*bcIt)->position().Y();
75 posZ += (*bcIt)->energy() * (*bcIt)->position().Z();
105 <<
"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