12 const std::vector< std::pair<DetId, float> > hitsAndFractions,
36 double EPS = 0.000001;
38 float Pdiff = fabs(b.
phi() -
phi());
39 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_
static int position[TOTALCHAMBERS][3]
double energy() const
cluster energy
CaloClusterPtr bc_ref_
Associated basic cluster;.
virtual ~PreshowerCluster()
double phi() const
azimuthal angle of cluster centroid
bool operator<(const PreshowerCluster &) const
bool operator==(const PreshowerCluster &) const
Comparisons.