7 #include "CLHEP/Vector/LorentzVector.h" 12 return (
ec / cosh(
etac) < cluster.
e() / cosh(cluster.
eta())) ?
false :
true;
29 CLHEP::HepLorentzVector clusHLV(
px,
py, pz,
ec);
33 double etah =
hit.eta();
34 double phih =
hit.phi();
40 CLHEP::HepLorentzVector hitHLV(
px,
py, pz, eh);
45 double theta = clusHLV.theta();
56 std::vector<CaloHit>::iterator itr;
58 for (itr =
hitsc.begin(); itr <
hitsc.end(); itr++) {
59 if (itr->det() == 10 || itr->det() == 11 || itr->det() == 12) {
67 os <<
" SimG4HcalHitCluster:: E " << cluster.
e() <<
" eta " << cluster.
eta() <<
" phi " << cluster.
phi();
std::vector< CaloHit > hitsc
Sin< T >::type sin(const T &t)
bool operator<(const SimG4HcalHitCluster &cluster) const
SimG4HcalHitCluster & operator+=(const CaloHit &hit)
double my_sinh(float eta)
double collectEcalEnergyR()
Cos< T >::type cos(const T &t)
Tan< T >::type tan(const T &t)
double my_cosh(float eta)
Geom::Theta< T > theta() const
std::ostream & operator<<(std::ostream &os, const SimG4HcalHitCluster &cluster)