7 #include "CLHEP/Vector/LorentzVector.h"
14 return (
ec / cosh(
etac) < cluster.
e() / cosh(cluster.
eta())) ?
false :
true;
31 CLHEP::HepLorentzVector clusHLV(px, py, pz,
ec);
35 double etah = hit.
eta();
36 double phih = hit.
phi();
42 CLHEP::HepLorentzVector hitHLV(px, py, pz, eh);
47 double theta = clusHLV.theta();
58 std::vector<CaloHit>::iterator itr;
60 for (itr =
hitsc.begin(); itr <
hitsc.end(); itr++) {
61 if (itr->det() == 10 || itr->det() == 11 || itr->det() == 12) {
69 os <<
" SimG4HcalHitCluster:: E " << cluster.
e() <<
" eta " << cluster.
eta() <<
" phi " << cluster.
phi();
static std::vector< std::string > checklist log
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()