1 #ifndef TrackAssociator_CaloDetIdAssociator_h
2 #define TrackAssociator_CaloDetIdAssociator_h 1
40 :
DetIdAssociator(pSet.getParameter<int>(
"nPhi"),pSet.getParameter<int>(
"nEta"),pSet.getParameter<double>(
"etaBinSize")),
geometry_(0){};
48 virtual const char*
name()
const {
return "CaloTowers"; }
55 virtual const std::vector<DetId>&
getValidDetIds(
unsigned int subDetectorIndex )
const;
66 const double tolerance = -1,
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
virtual bool insideElement(const GlobalPoint &point, const DetId &id) const
double etaBinSize() const
look-up map bin size in eta dimension
virtual const CaloCellGeometry * getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
virtual GlobalPoint getPosition(const DetId &id) const
CaloDetIdAssociator(const int nPhi, const int nEta, const double etaBinSize)
virtual std::pair< const_iterator, const_iterator > getDetIdPoints(const DetId &id) const
std::vector< GlobalPoint > dummy_
virtual void check_setup() const
const CaloGeometry * geometry_
bool inside(const GlobalPoint &point) const
Returns true if the specified point is inside this cell.
CaloDetIdAssociator(const edm::ParameterSet &pSet)
virtual bool crossedElement(const GlobalPoint &, const GlobalPoint &, const DetId &id, const double tolerance=-1, const SteppingHelixStateInfo *=0) const
virtual const GeomDet * getGeomDet(const DetId &id) const
virtual void setGeometry(const CaloGeometry *ptr)
virtual const char * name() const
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
virtual const std::vector< DetId > & getValidDetIds(unsigned int subDetectorIndex) const