Go to the documentation of this file.
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;
61 if (
itr->det() == 10 ||
itr->det() == 11 ||
itr->det() == 12) {
69 os <<
" SimG4HcalHitCluster:: E " << cluster.
e() <<
" eta " << cluster.
eta() <<
" phi " << cluster.
phi();
std::vector< CaloHit > hitsc
double collectEcalEnergyR()
SimG4HcalHitCluster & operator+=(const CaloHit &hit)
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
bool operator<(const SimG4HcalHitCluster &cluster) const
Geom::Theta< T > theta() const
std::ostream & operator<<(std::ostream &os, const SimG4HcalHitCluster &cluster)
Tan< T >::type tan(const T &t)
double my_sinh(float eta)
std::vector< std::pair< float, float > >::iterator itr
virtual ~SimG4HcalHitCluster()
double my_cosh(float eta)