11 const std::vector< std::pair<DetId, float> >& hitsAndFractions,
35 double EPS = 0.000001;
37 float Pdiff = fabs(b.
phi() -
phi());
38 if ( (Tdiff < EPS) && (Pdiff <
EPS) )
return true;
const math::XYZPoint & position() const
cluster centroid position
Sin< T >::type sin(const T &t)
Geom::Theta< T > theta() const
int plane() const
Preshower plane.
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
PreshowerCluster()
default constructor
std::vector< std::pair< DetId, float > > hitsAndFractions_
double energy() const
cluster energy
CaloClusterPtr bc_ref_
Associated basic cluster;.
virtual ~PreshowerCluster()
static int position[264][3]
double phi() const
azimuthal angle of cluster centroid
bool operator<(const PreshowerCluster &) const
bool operator==(const PreshowerCluster &) const
Comparisons.