11 const std::vector<std::pair<DetId, float> > &hitsAndFractions,
31 double EPS = 0.000001;
32 float Tdiff = fabs(
b.position().theta() -
position().theta());
33 float Pdiff = fabs(
b.phi() -
phi());
34 if ((Tdiff <
EPS) && (Pdiff <
EPS))
const math::XYZPoint & position() const
cluster centroid position
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
Sin< T >::type sin(const T &t)
PreshowerCluster()
default constructor
~PreshowerCluster() override
double phi() const
azimuthal angle of cluster centroid
bool operator==(const PreshowerCluster &) const
Comparisons.
int plane() const
Preshower plane.
bool operator<(const PreshowerCluster &) const
CaloClusterPtr bc_ref_
Associated basic cluster;.
std::vector< std::pair< DetId, float > > hitsAndFractions_
double energy() const
cluster energy
Structure Point Contains parameters of Gaussian fits to DMRs.
static int position[264][3]
Geom::Theta< T > theta() const