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)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void push_back(Ptr< T > const &iPtr)
Log< level::Error, false > LogError
bool getData(T &iHolder) const
T const * product() const
XYZPointD XYZPoint
point in space with cartesian internal representation
CaloCluster_iterator clustersBegin() const
fist iterator over BasicCluster constituents
const CaloClusterPtr & seed() const
seed BasicCluster
double preshowerEnergy() const
energy deposited in preshower
CaloCluster_iterator clustersEnd() const
last iterator over BasicCluster constituents