59 float seedBCEnergy = (scluster.
seed())->
energy();
76 if( (*bcIt)->energy() >
sqrt( eSeed*eSeed + xi*xi*seedBCEnergy*seedBCEnergy/cosh((*bcIt)->eta())/cosh((*bcIt)->eta()) ) )
88 ClusterE += (*bcIt)->energy();
89 posX += (*bcIt)->energy() * (*bcIt)->position().X();
90 posY += (*bcIt)->energy() * (*bcIt)->position().Y();
91 posZ += (*bcIt)->energy() * (*bcIt)->position().Z();
123 std::cout <<
"The seed crystal of this SC is neither in EB nor in EE. This is a problem. Bailing out " << std::endl;
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
void Calculate_Covariances(const reco::SuperCluster &passedCluster)
void push_back(Ptr< T > const &iPtr)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) 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
T const * product() const
CaloCluster_iterator clustersEnd() const
last iterator over BasicCluster constituents