7 #include "CLHEP/Vector/LorentzVector.h"
14 return (
ec/cosh(
etac) < cluster.
e()/cosh(cluster.
eta())) ?
false :
true ;
32 CLHEP::HepLorentzVector clusHLV(px,py,pz,
ec);
36 double etah = hit.
eta();
37 double phih = hit.
phi();
43 CLHEP::HepLorentzVector hitHLV(px,py,pz,eh);
48 double theta = clusHLV.theta();
60 std::vector<CaloHit>::iterator itr;
62 for (itr =
hitsc.begin(); itr <
hitsc.end(); itr++) {
63 if (itr->det() == 10 || itr->det() == 11 || itr->det() == 12) {
71 os <<
" SimG4HcalHitCluster:: E " << cluster.
e() <<
" eta " << cluster.
eta()
72 <<
" phi " << cluster.
phi();
std::vector< CaloHit > hitsc
Sin< T >::type sin(const T &t)
Geom::Theta< T > theta() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
SimG4HcalHitCluster & operator+=(const CaloHit &hit)
double my_sinh(float eta)
bool operator<(const SimG4HcalHitCluster &cluster) const
double collectEcalEnergyR()
Cos< T >::type cos(const T &t)
Tan< T >::type tan(const T &t)
double my_cosh(float eta)
virtual ~SimG4HcalHitCluster()