6 #include "Math/GenVector/Plane3D.h" 32 virtual bool addHit(
double r,
double phi,
unsigned layer=0)=0;
34 virtual const std::map<CaloHitID,float>&
getHits()=0;
45 static XYZPoint
intersect(
const Plane3D&
p,
const XYZPoint&
a,
const XYZPoint&
b,
double&
t,
bool segment,
bool debug=
false);
const CalorimeterProperties * theCaloProperties
const CaloGeometryHelper * myCalorimeter
const CaloGeometryHelper * getCalorimeter() const
virtual const std::map< CaloHitID, float > & getHits()=0
static XYZPoint intersect(const Plane3D &p, const XYZPoint &a, const XYZPoint &b, double &t, bool segment, bool debug=false)
virtual bool addHit(double r, double phi, unsigned layer=0)=0
std::map< CaloHitID, float > hitMap_
XYZVectorD XYZVector
spatial vector with cartesian internal representation
ROOT::Math::Plane3D Plane3D
math::XYZVector XYZVector
virtual void setSpotEnergy(double e)=0
ROOT::Math::Plane3D Plane3D
CaloHitMaker(const CaloGeometryHelper *calo, DetId::Detector det, int subdetn, int cal, unsigned sht=0)